VirtualBox

Opened 13 years ago

Closed 10 years ago

#8256 closed defect (obsolete)

Bridged network: packages shown only from guest to host

Reported by: Adrienn Owned by:
Component: network Version: VirtualBox 4.0.2
Keywords: tcpdump bridge Cc:
Guest type: Linux Host type: Linux

Description (last modified by Frank Mehnert)

I'm using VirtualBox 4.0.2 (r69518) on Ubuntu Lucid (64bit, kernel: 2.6.32-27-generic) host. The guest is an Ubuntu based os. (64bit, kernel: 2.6.22), has one network adapter, which is bridged (PCnet-FAST III). The eth0 interface on host is in promiscuous mode.

When I send 'ping' from host to guest or from guest to host, on the host tcpdump shows only the incoming packets, although on guest it shows packages in both directions.

I've read a similar problem in bug #8076, and applied the patch to file VBoxNetFlt-linux.c, but the patch did not correct the problem, moreover now on the guest os too: tcpdump does not show packages from guest to host.

Using VirtualBox 3.2.12 (r68302) this problem not exists, packages from both directions are shown.

Attachments (4)

test1_hostcommand.txt (557 bytes ) - added by Adrienn 13 years ago.
Test1 - ping on host
test1_hostresult.txt (656 bytes ) - added by Adrienn 13 years ago.
Test1 - tcpdump on host
test1_guestresult.txt (1.1 KB ) - added by Adrienn 13 years ago.
Test1 - tcpdump on guest
VBoxNetFlt-linux.c (87.3 KB ) - added by Adrienn 13 years ago.
The patched VBoxNetFlt-linux.c

Download all attachments as: .zip

Change History (8)

comment:1 by Aleksey Ilyushin, 13 years ago

What about the pings? Are they successful? Please attach the patched VBoxNetFlt-linux.c to the ticket. Please also enable internal capture feature for VM with

VBoxManage modifyvm <vmname> --nictrace1 on --nictracefile1 <name_of_your_choice>

and check whether both ICMP requests and replies are present in the capture file.

by Adrienn, 13 years ago

Attachment: test1_hostcommand.txt added

Test1 - ping on host

by Adrienn, 13 years ago

Attachment: test1_hostresult.txt added

Test1 - tcpdump on host

by Adrienn, 13 years ago

Attachment: test1_guestresult.txt added

Test1 - tcpdump on guest

comment:2 by Adrienn, 13 years ago

Test1:

  • host and guest configuration the same as above
  • unpatched VirtualBox 4.0.2 (r69518)
  • ping is successful

comment:3 by Adrienn, 13 years ago

Hm ... I've applied the patch and it works: ICMP request and reply messages are shown on host and guest too. I don't know, why it didn't work yesterday. Sorry, for the false alarm.

by Adrienn, 13 years ago

Attachment: VBoxNetFlt-linux.c added

The patched VBoxNetFlt-linux.c

comment:4 by Frank Mehnert, 10 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use