VirtualBox

Ticket #8256 (closed defect: obsolete)

Opened 3 years ago

Last modified 4 months ago

Bridged network: packages shown only from guest to host

Reported by: csacska.macska Owned by:
Priority: major Component: network
Version: VirtualBox 4.0.2 Keywords: tcpdump bridge
Cc: Guest type: Linux
Host type: Linux

Description (last modified by frank) (diff)

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

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

Change History

comment:1 Changed 3 years ago by aleksey

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.

Changed 3 years ago by csacska.macska

Test1 - ping on host

Changed 3 years ago by csacska.macska

Test1 - tcpdump on host

Changed 3 years ago by csacska.macska

Test1 - tcpdump on guest

comment:2 Changed 3 years ago by csacska.macska

Test1:

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

comment:3 Changed 3 years ago by csacska.macska

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.

Changed 3 years ago by csacska.macska

The patched VBoxNetFlt-linux.c

comment:4 Changed 4 months ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use