VirtualBox

Opened 16 years ago

Closed 14 years ago

#945 closed defect (fixed)

VM can send but not receive traffic through TAP interface

Reported by: Azzie Owned by:
Component: network Version: VirtualBox 1.5.2
Keywords: network tap Cc: azzie@…
Guest type: other Host type: other

Description

Test procedure:

  1. Host (Linux 2.6.23.9) is connected to LAN through eth0
  2. eth0 is bridged with vbox0 (TAP)
  3. I boot the VM and choose to boot from LAN

Observations:

  1. On the host
overlord linux # tcpdump -i vbox0
tcpdump: WARNING: vbox0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vbox0, link-type EN10MB (Ethernet), capture size 96 bytes
00:31:36.417877 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:b5:a3:06 (oui Unknown), length 548
00:31:36.431399 IP 192.168.0.1.bootps > 192.168.0.10.bootpc: BOOTP/DHCP, Reply, length 548
00:31:38.944662 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:b5:a3:06 (oui Unknown), length 548
00:31:38.963307 IP 192.168.0.1.bootps > 192.168.0.10.bootpc: BOOTP/DHCP, Reply, length 548
00:31:43.723376 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:b5:a3:06 (oui Unknown), length 548
00:31:43.743677 IP 192.168.0.1.bootps > 192.168.0.10.bootpc: BOOTP/DHCP, Reply, length 548
00:31:52.290219 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:b5:a3:06 (oui Unknown), length 548
00:31:52.307821 IP 192.168.0.1.bootps > 192.168.0.10.bootpc: BOOTP/DHCP, Reply, length 548
00:32:08.273038 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:b5:a3:06 (oui Unknown), length 548
00:32:08.284300 IP 192.168.0.1.bootps > 192.168.0.10.bootpc: BOOTP/DHCP, Reply, length 548
00:32:41.006979 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:b5:a3:06 (oui Unknown), length 548
00:32:41.025565 IP 192.168.0.1.bootps > 192.168.0.10.bootpc: BOOTP/DHCP, Reply, length 548
  1. The VM prints "No IP.No IP.No IP.No IP.No IP.No IP." The screenshot is attached.

Interpretation:

  1. The VM sends a DHCP request
  2. The request is bridged, received by the DHCP server, responded and bridged again
  3. The DHCP reply is sent over the TAP interface
  4. The VM does not receive the response

Attachments (1)

virtualbox-problem.png (22.6 KB ) - added by Azzie 16 years ago.
Screenshot of the VM

Download all attachments as: .zip

Change History (5)

by Azzie, 16 years ago

Attachment: virtualbox-problem.png added

Screenshot of the VM

comment:1 by Frank Mehnert, 16 years ago

Component: othernetwork

Does that problem still persists with 1.6.2?

comment:2 by Frank Mehnert, 15 years ago

Resolution: worksforme
Status: newclosed

Closing. No response and we changed the hostif networking with 2.1.0 anyway.

comment:3 by clauder, 15 years ago

Resolution: worksforme
Status: closedreopened

I have the exact same problem.

Some info: Host is Vista Guest is Ubuntu 8.04 Virtual box is 2.2.4r47978

It was running fine in bridge mode and then I changed to NAT. I needed to do some test in bridge mode so I turn back into that mode. Since then I get the same problem as above, i.e. in the host I see the dhcp request going out, the reply coming back but nothing in the guest (using wireshark I see only tx).

Under ifconfig, rx count is not zero but it has not changed in a while, particularly when I restart the dhcp client. I suspect the traffic is coming form the host.

comment:4 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: reopenedclosed

There were fixes which might be related to your problem in later releases. Please reopen if you still see this problem with VBox 3.0.10.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use