Sent packets come back when using Host Interface on Linux host => Fixed in SVN
|duplicate packet Host Interface
On a linux host (Debian, tested on 2.6.27 and 2.6.28 kernels but should also apply to previous ones), when using Host Interface mode for guest's interfaces, all(*) the packets sent by the guest come back to it. This has very bad side effects: Among others, this behavior prevents IPv6 stateless address autoconfiguration using Neighbor Discovery: the guest's stack receives its own Neighbor Solicitation packets and consider that the address on which it was performing DAD is duplicate.
The host's interface used for the tests were physical ones in all cases (tried with an e1000e and a ASIX AX8817x), not vlan interfaces. Changing the guest interface (PCnet-Fast III or Intel PR0/1000 MT Desktop) does not change the behavior.
2 easy ways to reproduce it:
- configure IPv4, try and send packet to an external host while monitoring traffic on your guest interface: *sent* packets are seen twice (ARP, ICMP, TCP, ...): one packet going out, the other coming back in.
- If you have an IPv6 router on your subnet, try and start IPv6 on the guest: it should be unable to configure a global IPv6 address and should report a DAD failure.
(*) the packets sent by the guest are not duplicated when sent to the host itself, it only happens when the packet are sent on the wire.
ps: I opened a separate ticket because I am not sure it is the exact same issue as the one described in #2713
Change History (8)
comment:2 by , 15 years ago
|Sent packets come back when using Host Interface on Linux host → Sent packets come back when using Host Interface on Linux host => Fixed in SVN