[Wolves] Multiple ethernet devices under Debian testing

Adam Sweet drinky76 at yahoo.com
Wed Jan 5 00:46:04 GMT 2005

 --- Stuart Langridge <sil at kryogenix.org> wrote: 
> Adam Sweet wrote:
> > ifconfig eth1 netmask
> > broadcast                 up
> >  route add default gw  eth1
> > SIOCADDRT: Network is unreachable
> > Failed to bring up eth1.
> The gateway you're adding is unreachable. You're
> trying to add an 
> interface that's 192.168.2.x and telling it that the
> default gateway is 
> in the 192.168.1.x subnet -- that might be your
> problem...?

Done :) I'd forgotten about that. I absent mindedly
put the IP address of eth0 as the gateway for eth1. I
didn't know what to put. I double checked against my
smoothwall box, which didn't have a gateway specified
for it's green interface, so I just commented it out
on  the other machine and hey presto.

It now does ifup and ifdown cleanly. I guess a little
knowledge is dangerous in the wrong hands...

Thanks a lot.




ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

More information about the Wolves mailing list