Page 1 of 1

can't ping between VMs on same host, different NICs

Posted: 15. Jan 2009, 12:30
by ronys
Hi,

Setup:
Host with 2 NICs, connected between them via a cross cable. Host is running Debian Etch.
Guest #1 has Adapter2 defined as host-interface, eth0
Guest #2 has Adapter2 defined as host-interface, eth1

On the host machine, both interface are up and unconfigured.
On guest #1, the corresponding interface (eth1) is assigned 192.168.8.10
On guest #2, the corresponding interface (eth1) is assigned 192.168.8.11

Pinging from one to the other fails.

Sniffing on the host shows arp requests being sent but not replied, as well as unknown traffic:
14:30:28.270792 arp who-has 192.168.8.11 tell 192.168.8.10
14:30:28.270798 00:01:08:00:27:15 (oui Unknown) > 00:01:08:00:06:04 (oui Unknown), ethertype Unknown (0xa70a), length 28:
0x0000: c0a8 086e 0000 0000 0000 c0a8 080b ...n..........

The arp requests are not reaching the destination guest.

Any suggestions on how to get this to work welcome!

Thanks,

Rony

Problem resolved

Posted: 15. Jan 2009, 22:01
by ronys
Rebooting the host did the trick...
:roll:

Posted: 15. Jan 2009, 22:28
by Sasquatch
Wouldn't it be easier to use Internal Networking instead of HIF if you only want the two VMs to communicate with each other? The Host won't know about the network that way either, so it might be safer for you ;). Unless you want to do some testing that needs the Host.