[Tfug] routing for Actiontec DSL gateway

Paul Scott tfug@tfug.org
Wed Sep 11 15:34:01 2002


I am still running dialup until I get the rest of this working.

Having discovered that the Actiontec needed to be addressed (at least 
until configured) as 192.168.0.1 I changed the IP's of the machines on 
this LAN to other numbers.  The machines would ping each other and the 
gateway but I could get past the ISP's modem bank.  Harry just helped me 
do 'route del default gw 192.168.0.1' to get back out.  Thanks, Harry.

Where was that routing set up?  /etc/network/interfaces ?  (Debian)  I 
do have the gateway set to 192.168.0.1 but I thought that would refer to 
the Actiontec.  I'm guessing that when I reboot I won't be able to get 
out again.  Yes?

The working routing is:

  route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
66.181.240.210  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         66.181.240.210  0.0.0.0         UG    0      0        0 ppp0

The relevant lines in /etc/network/interfaces are:

auto eth0
iface eth0 inet static
         address         192.168.0.2
         netmask         255.255.255.0
         broadcast       192.168.0.255
         gateway         192.168.0.1

Should I remove the gateway line?  I see that I needed to change the 
gateway line for the other machine to this one rather than the DSL modem 
to allow it out.

Can anyone add anything to this?  A good reference?

TIA,

Paul Scott