LAN with RedHat 6.0

Aaron Tustin (booboojan@yahoo.com)
Sun, 20 Jun 1999 22:06:13 -0700 (PDT)


Hello,

I am trying to set up a LAN in the following way:

I have a linux box (RedHat 6.0, 2.2.9 kernel) with
two ethernet cards. eth0 is connected to a cable
modem and obtains its IP address through DHCP.
eth1 is connected to a 4-port ethernet hub, along with
a Mac and a Windows 98 PC. Eventually I would like
to be able to run IP masquerade on the linux box.

I haven't gotten to that point, though, because I
can't get the linux machine to talk to the other
two computers on the LAN (although they can talk
to one another). I assigned the following IP addresses:

Linux machine (eth1): 192.168.100.101
Win 98 machine: 192.168.100.84
Mac: 192.168.100.102

When I do "ping 192.168.100.84" from the linux machine
there is no response. Likewise, "ping 192.168.100.101"
from the Win 98 PC doesn't work. However, doing
"ping 192.168.100.84" from the Win 98 computer works
perfectly. So, it seems to me that the linux machine
is not figuring out that packets intended for the
192.168.100.* network should be sent through eth1, or
that eth1 should respond to packets addressed to
192.168.100.101.

I know that there is nothing wrong with the eth1
network card because I use it in Windows 98 (I have
a dual-boot configuration) with the same LAN. Also,
eth0 seems to be working perfectly and I can access
the internet in either linux or Win 98. And the
output of "ifconfig" looks normal.

netstat -rn gives the following output:

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.101 0.0.0.0 255.255.255.255 UH 0 0
0 eth1
192.168.100.0 192.168.100.101 255.255.255.0 UG 0 0
0 eth1
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0
0 eth1
109.5.102.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
0 lo
0.0.0.0 109.5.102.66 0.0.0.0 UG 0 0
0 eth0

I'd appreciate it if someone could let me know what I
might be doing wrong--I think some of the above routes
might be extraneous but I am unsure as to how to
change them.

Thanks in advance,
Aaron Tustin
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu