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

Re: Please HELP: def gateway problem on eth0 and eth1



On Tue, 29 Oct 2002 09:26:09 +0200 "José" <jcarreiro@urbanet.ch> wrote:

> hello people,
> 

> I'm using debian potato 2.2r5 on compaq proliant server with kernel
> 2.4.19 compiled by hand. all runs fine until i added a second ethernet
> controller to address 2 different networks. both controllers are Intel
> 100 Mb ( eepro100 as a module)

(snip)
> root@myhost: route -n
> Kernel IP routing table
> Destination     Gateway         Genmask          Flags Metric Ref  Use Iface
> 11.199.194.160  0.0.0.0         255.255.255.224  U     0      0      0  eth1
> 192.202.193.0   0.0.0.0         255.255.255.0    U     0      0      0  eth0
> 0.0.0.0         192.202.193.1   0.0.0.0          UG    0      0      0  eth0
> 0.0.0.0         11.199.194.161  0.0.0.0          UG    0      0      0  eth1

I don't think you're allowed 2 default gateways. It seems
logical that the system gets confused not knowing where to
send packets for networks other than the 2 configured ones,
since it has a choice of to interfaces with no criteria to apply.

Try specifying just one default gateway (the one that'll give
you Internet access, for instance).

HTH.

-- 
Carlos Sousa
http://vbc.dyndns.org/



Reply to: