Linux server with multiple ethernet cards
Ill give a nice little Ascii diagram of everything and the specs
usb cable modem(CDCether) eth0 assigned via dhcp
||||
redhat server with 2 phyiscal ethernet cards (eth1 (tulip),eth2(rtl8139)
eth(1) eth(2)
5 port hub direct link to my linux laptop with crossovercat5e
some windows machines eth2 is 192.168.0.4 192.168.0.255 255.255.255.0
eth(1) is 192.168.0.3 eth1 on my laptop is 192.168.0.1 same netmask
wich also acts as my NAT/gateway
when i connect my laptop to my hub it works fine i have my routing table setup to route it all to 192.168.0.3 like my gateways and i can even ping 192.168.0.4(eth2) on my server
but when i plug in a standerd crossover cat5 wire straight to the dlink eth2 network card it wont let me do anything it wont even let me ping 192.168.0.4
when i try to add 192.168.0.4 as a net to the routing table it always gives me the netmask of 255.255.255.255 wich makes it impossilbe to make anything work right on my network
if someone could please help me out im in desperate need of it.
thanks in advanced
by the way all of the linux machines are redhat 9 on i686 arch with kernel 2.4.20-20.9 and 2.4.22
on the server the ethernet cards are
eth0 is CDCEther usb cable modem
eth1 is a lynksys with the tulip driver
eth2 is a dlink dfe-530tx with the trl8139 driver all of them are working as i know it i can ping them on the machine it self
laptop
eth0 3comx card
on the server this is the routing table
destination gateway genmask flags metric reg iface
68.83.227.0 * 255.255.255.0 U 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 eth2
169.254.0.0 * 255.255.0.0 U 0 0 eth0
127.0.0.1 * 255.0.0.0 U 0 0 l0
default cdn01.comcast. 0.0.0.0 UG 0 0 eth0
and for the laptop its
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0 0 * 255.255.0 .0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 l0
default 192.168.0.3 0.0.0.0 UG 0 0 0 eth0
|