Opened 14 years ago
Closed 14 years ago
#8609 closed defect (fixed)
NAT incorrectly works with guest's with static-assigned IP addresses -> fixed in SVNand uses ARP announce mechanism.
Reported by: | Francis Moreau | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 4.0.4 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
Hello,
I'm using VBOX 4.0.2, with a Linux guest which is using NAT.
The guest can do ping, ping www.virtualbox.org works, but doing wget www.virtualbox.org doesn't work, wget application is waiting for the HTTP server answer.
I'm attaching the pcap file which logs the vbox network activity.
I'm also attaching the host tcpdump log.
Attachments (3)
Change History (14)
by , 14 years ago
by , 14 years ago
Attachment: | linux.pcap added |
---|
packet trace on the VM level when doing wget www.virtualbox.org
by , 14 years ago
A tcpdump trace at the host level when doing wget www.virtualbox.org
comment:1 by , 14 years ago
Summary: | Linux Guest can't receive packets → NAT incorrectly works with guest's with self assigned IP addresses. |
---|
comment:2 by , 14 years ago
While conversation on IRC we've found that this guest uses static-assigned IP, which leads to broadcasting of all IP traffic, dropped by guest TCP/IP stack.
comment:3 by , 14 years ago
Version: | VirtualBox 4.0.2 → VirtualBox 4.0.4 |
---|
comment:5 by , 14 years ago
Summary: | NAT incorrectly works with guest's with self assigned IP addresses. → NAT incorrectly works with guest's with static-assigned IP addresses and uses ARP announce mechanism. |
---|
follow-up: 9 comment:7 by , 14 years ago
Summary: | NAT incorrectly works with guest's with static-assigned IP addresses and uses ARP announce mechanism. → NAT incorrectly works with guest's with static-assigned IP addresses -> fixed in SVNand uses ARP announce mechanism. |
---|
comment:8 by , 14 years ago
Some distros like Mandriva executes arping -U and arping -A in case of statically assigned IP in ethernet initialization scripts, that results that guest generates Gratuitous ARP packets, without respect to sysctl *.arp_notify.
comment:9 by , 14 years ago
Replying to Hachiman:
BTW, I'm wondering what was going on on the NAT side: does it incorreclty set an entry in the ARP table for the guest to broadcast ethernet address, or does it add no entry at all ?
Thanks
comment:10 by , 14 years ago
It's used not right fields: in case ARP Gratuitous requests and response source IP and Ether are the same, but target pair is different in one case it's exactly copy of source ones, and in other target broadcast ethernet and source IP; that made collision in mandriva case. Now we use source pair and in case of any type of announce (arping or arp_notify) we print result to the log. Probably we should add some logging for statically address assigned guests without notification for information.
comment:11 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
VBox.log