[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing IP routing



    
    On Fri, 31 May 2002 05:01:48 +0800
"No Realm" <norealm@operamail.com> wrote:

> Here is my /etc/network/interfaces:
> 
> auto eth0
> iface eth0 inet static
>   address 192.168.60.31
>   netmask 255.255.255.0
>   broadcast 192.168.60.255
>   gateway 192.168.60.1
> 
> auto eth1
> iface eth1 inet static
>       address 192.168.61.50
>       netmask 255.255.255.0
>       broadcast 192.168.61.255
>       gateway 192.168.61.1
> 
> My question is why does the routing table return to the incorrect
routes
> when I reboot and how do I resolve this?

You have two gateways listed.  I suggest removing the one under eth0.

-- 
Jamin W. Collins
Thank you for the reply. Let me explain a little more with a diagram:

                    |
                    |
                    |                     
                  -----
                  ----- DSL Modem
                    |
                    |
                  -----   Router 192.168.61
                  -----
                    |
                    |
WAN eth1 192.168.61.x|---------|Debian       |
LAN eth0 192.168.60.x|---------|server       |
                     |
                     |
                     ------ Router 192.168.60 (the gateway)
                     ------
                     |
                     |
                     | Frame Relay to another location 
                     |
                     |
                  ------
                  ------ distant location

Sorry for the poor diagram. If I remove my gateway for the eth0, I will not be able to reach my network on the other side of the .60 router. I am using my Debian box as a backup mail server that passes all mail to a mail hub at the "distant location". Any other suggestions?

TIA,
Nole Realm
                                               


-- 
_______________________________________________
Download the free Opera browser at http://www.opera.com/

Powered by Outblaze


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: