ADSL sharing

qetoom_at_gmail.com
Date: 07/30/05


Date: 30 Jul 2005 08:23:55 -0700

I have a linux box (b1) connected to an ethernet adsl modem (rth0) and
also
connected to a windows (b2) box through a wireless connection (ra0).

although b1 is the default gateway and dns for b2, b2 can't access the
internet (I'm using 191.168.0.0 as my local newtwork address is this
wrong)

notes:
b2 can ping b1. (and vice verse)
ip forwording is enabled on b1.
the adsl connection is the default gateway on b1.

I've tried
 iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
and I didn't work

Any help getting b2 to connect the net through b1?

results from running ifconfig:
dsl0 Link encap:Point-to-Point Protocol
          inet addr:xxxxxxxxxx P-t-P:xxxxxxxxxxx Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1454 Metric:1
          RX packets:10951 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1836039 (1.7 Mb) TX bytes:1992594 (1.9 Mb)

eth0 Link encap:Ethernet HWaddr 00:30:4F:07:19:40
          inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
          inet6 addr: fe80::230:4fff:fe07:1940/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:94642 errors:0 dropped:0 overruns:0 frame:0
          TX packets:84924 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:86135311 (82.1 Mb) TX bytes:9989004 (9.5 Mb)
          Interrupt:11 Base address:0x2000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:545 errors:0 dropped:0 overruns:0 frame:0
          TX packets:545 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:43668 (42.6 Kb) TX bytes:43668 (42.6 Kb)

ra0 Link encap:Ethernet HWaddr 00:11:09:29:46:CE
          inet addr:191.168.0.5 Bcast:191.168.255.255
Mask:255.255.0.0
          inet6 addr: fe80::211:9ff:fe29:46ce/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1911 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366 errors:1 dropped:1 overruns:0 carrier:0
          collisions:20 txqueuelen:1000
          RX bytes:199427 (194.7 Kb) TX bytes:42512 (41.5 Kb)
          Interrupt:10



Relevant Pages

  • Re: ADSL sharing
    ... > I have a linux box connected to an ethernet adsl modem ... > the adsl connection is the default gateway on b1. ... The masqueraded interface has to be the PPP interface, ...
    (comp.os.linux.networking)
  • Re: ADSL sharing
    ... >>I have a linux box connected to an ethernet adsl modem ... >>the adsl connection is the default gateway on b1. ... > host the easiest thing to do would be to set the MTU of the Ethernet ...
    (comp.os.linux.networking)
  • Problem with SNF firewall
    ... I've got some problem with my SNF firewall to get the connection with ... an ethernet ADSL modem. ... I/O error and CHAP authentifiaction failed ...
    (comp.security.firewalls)
  • Re: What does the "Configure email and Internet Connection Wizard"
    ... > the CEICW does (listed under "Configure Email and Internet Connection ... > Configure E-mail and Internet Connection Wizard is designed to correctly ... > configure settings for your network, firewall, secure Web site, and e-mail ...
    (microsoft.public.windows.server.sbs)
  • Re: What does the "Configure email and Internet Connection Wizard"
    ... Understanding the Configure E-mail and Internet Connection WizardThe ... Configure E-mail and Internet Connection Wizard is designed to correctly ... configure settings for your network, firewall, secure Web site, and e-mail ...
    (microsoft.public.windows.server.sbs)