Hi all,
I'm having a brain fart this morning. I have a system with 2 nics. They are both on separate networks. This system should not be routing (it isn't), but it should be able to reach both networks. The first network is the corp. LAN, the second is a private network. I'm running Debian, and have my interfaces file configured thusly: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.10.1 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 Yet, invariably, I get the following route table: /etc/network# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 128.221.30.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 192.168.10.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1 0.0.0.0 128.221.30.1 0.0.0.0 UG 40 0 0 eth0 As a result, when trying to access anything on the 192.168.10 subnet, the packets are getting sent out the wrong interface. I believe the routing table should look like: /etc/network# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 128.221.30.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 192.168.10.0 192.168.10.1 255.255.255.0 U 40 0 0 eth1 0.0.0.0 128.221.30.1 0.0.0.0 UG 40 0 0 eth0 Or: /etc/network# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 128.221.30.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 192.168.10.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1 0.0.0.0 128.221.30.1 0.0.0.0 UG 40 0 0 eth0 0.0.0.0 192.168.10.1 0.0.0.0 UG 40 0 0 eth1 But can't seem to figure out how to do this. (Have I mentioned that I hate the route command for Linux? It's stupid and brain-dead!) But, I'm running Debian, should that matter (I don't think it does). Thanks! -- Seeya, Paul ---- It may look like I'm just sitting here doing nothing, but I'm really actively waiting for all my problems to go away. If you're not having fun, you're not doing it right! ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************