It would appear that each of your windows boxes is expecting to find
the other connected to the same local net, when in fact they are
connected to separate hardware nets joined by your linux box. There
are several ways to solve the problem. One way is to move one of your
windows boxes to another subnet so that you have two local nets, say
192.168.1.0/24 and 192.168.2.0/24. For example, move ernie to
192.168.2.1 with a net netmask of 192.168.2.0 and change eth1 to
192.168.2.2, also with a netmask of 192.168.2.0. Then make sure you
have routes on grover that send all subnet traffic for 192.168.1.0/24
to eth0 and all traffic for 192.168.2.0/24 to eth1.
--Joe
-----Original Message-----
From: Antony Stace [SMTP:[EMAIL PROTECTED]]
Sent: Saturday, January 01, 2000 9:15 PM
To: Linux-Net
Subject: Routing Problems
Hi Folks
I am having a bit of network trouble. I have two Win95 machines hanging off
my linux box. Both are connected via an ethernet cable. The problem I have
is that I cannot ping/ftp a Win95 machine from the other Win95 machine.
I can however ping each machine from the Linux box. I can also surf the net
and telnet to a box on the internet
from each Win95 box when the Linux box is connected to the internet.
Here is a layout of my setup
--------------------------------
Linux Box grover |
eth0 eth1 |
192.168.1.1 192.168.1.3 |
--------------------------------
| |
| |
| |
Win95 1 Win95 2
192.168.1.2 192.168.1.4
bert ernie
If I do a tcpdump on eth1 at the same time as I do a ping 192.168.1.2 on
ernie I see
#tcpdump -i eth1
tcpdump: listening on eth1
12:59:57.917201 arp who-has bert tell ernie
12:59:58.977201 arp who-has bert tell ernie
Below is my routing table and settings for each ethernet card on the linux
box.
Thoughts anyone on how to fix this??
Cheers
Tony
#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0
192.168.1.2 * 255.255.255.255 UH 0 0 0 eth0
192.168.1.4 * 255.255.255.255 UH 0 0 0 eth1
203.134.20.26 * 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 203.134.20.26 0.0.0.0 UG 0 0 0 ppp0
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:33:28:B3:33
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4106 errors:0 dropped:0 overruns:0 frame:0
TX packets:5622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0x340
eth1 Link encap:Ethernet HWaddr 08:00:09:99:E6:20
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4743 errors:4350 dropped:0 overruns:0 frame:4350
TX packets:2517 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x180
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:223 errors:0 dropped:0 overruns:0 frame:0
TX packets:223 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]