Skip to contentSkip to conversation

simeth problem...

Linux-ia64 Peter Chubb 2 participants 3 messages Mar 5, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
I'm having problems with the simulated ethernet interface.

From within the simulator, I can ping any machine on the local network except the machine the simulator is being hosted on.

I can ping the simulated ethernet from any machine on the network except the one the simulator is hosted on.

I'm using kernel 2.4.18 in each case.

Does anyone have any ideas?

The simulator is running on the machine with address 192.168.77.9

sh-2.05a# ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0 Link encap:Ethernet HWaddr 00:A0:CC:60:B4:87
inet addr:192.168.77.13 Bcast:192.168.77.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:49

sh-2.05a# ping 192.168.77.9
PING 192.168.77.9 (192.168.77.9): 56 data bytes

--- 192.168.77.9 ping statistics ---
8 packets transmitted, 0 packets received, 100% packet loss sh-2.05a# ping 192.168.77.10
PING 192.168.77.10 (192.168.77.10): 56 data bytes 64 bytes from 192.168.77.10: icmp_seq=0 ttl%5 time.7 ms 64 bytes from 192.168.77.10: icmp_seq=1 ttl%5 time=7.6 ms 64 bytes from 192.168.77.10: icmp_seq=2 ttl%5 time=7.6 ms 64 bytes from 192.168.77.10: icmp_seq=3 ttl%5 time=7.6 ms 64 bytes from 192.168.77.10: icmp_seq=4 ttl%5 time=7.6 ms

--- 192.168.77.10 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 7.6/9.0/14.7 ms sh-2.05a#

#1 lore raw

Peter,

Quoted 5 lines · Peter Chubb

I'm having problems with the simulated ethernet interface.

Quoted 1 line

From within the simulator, I can ping any machine on the local network

except the machine the simulator is being hosted on.

That's normal. Because of the way simeth is implemented you cannot ping the local host IP address from within the simulated kernel.

Quoted 2 lines

I can ping the simulated ethernet from any machine on the network except the one the simulator is hosted on.

That's also normal.

The simulated ethernet is using a packet filter and the host interface is put in promiscuous mode. The filter routes all broadcasts + packet for the simeth address to the simeth driver, the rest goes to the local host interface. I believe such configuration forbids sending from the simeth back to the local host and that's why pinging in any direction does not work.

Signature · 1 line
-Stephane
#2 lore raw
In reply to Peter Chubb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Stephane" = Stephane Eranian <[email protected]> writes:

peterc> I'm having problems with the simulated ethernet interface.

peterc> From within the simulator, I can ping any machine on the local peterc> network except the machine the simulator is being hosted on.

Stephane> That's normal. Because of the way simeth is implemented you Stephane> cannot ping the local host IP address from within the Stephane> simulated kernel.

Can this be added to the readme file or something? Or, preferably, fixed (although that might be too hard, and there be too little interest).

Another problem I'm having is that if I create lots of simulated discs only the first two are ever recognised. The documentation says I can have up to 26, but only sda and sdb are ever seen by the kernel.

Peter C