Lost UPnP Packets

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Lost UPnP Packets

Post by msmcknight »

Hi everyone,

I have a very weird problem that I'm hoping you guys can help me with.

I have vbox v4.2.12 running on a Solaris 11.1 host with a RHEL 6.5 guest using a bridged network connection. Inside the guest, I am trying to run a DLNA/UPnP server (Plex).

Clients are having a hard time finding the UPnP server. When I watch the traffic on the guest with tcpdump, I don't see any traffic at all for the UPnP broadcast -- a special SSDP call to 239.255.255.250.

But... if I start "snoop" on the Solaris host, immediately I see swarms of traffic from the clients to the UPnP guest. As soon as I stop snoop, the SSDP traffic flow stops to the guest system.

Why on Earth would running snoop on the host allow traffic to reach the guest? Without snoop running, the traffic is lost. Turn on snoop and everything flies just fine.

There are no firewalls involved -- both the Solaris and RHEL firewalls are turned off. Netmasks are correct. No other traffic seams to be affected. It just appears to be the SSDP UDP traffic to/from the guest.

If anyone has any idea what might be causing this, please let me know. Any help would be appreciated.

Thanks to you all in advance,
-Michael
Last edited by msmcknight on 5. Mar 2014, 09:15, edited 1 time in total.
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: Lost UPnP Packets

Post by msmcknight »

I tried changing adapters on the guest from Intel e1000 to AMD PC FastNet. Same behavior... no traffic, but as soon as I start snoop on the host side, traffic immediately is passed. Looks like it's probably more on the Solaris host side than the RHEL guest side.

I have also updated both the host and the guest to the latest (v4.3.8) version of vbox and still no luck.

If anyone can help, it would be appreciated.

Thank you,
-Michael
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Lost UPnP Packets

Post by Ramshankar »

Haven't seen such a thing, looks like something going wrong with promiscuous mode. Please attach a VBox.log for the VM and output of the following commands when the VM is running:

Code: Select all

ifconfig -a
dladm show-link
dladm show-phys
dladm show-vnics
modinfo | grep vbox
Oracle Corp.
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: Lost UPnP Packets

Post by msmcknight »

Right now, the only way I can get the UPnP/DLNA packets to make it to the VM is if I have snoop running. In order to move the project forward, I have the following process running in the background on the host:

Code: Select all

nohup snoop -d aggr0 localhost > /dev/null 2>&1 &
Output as requested...

ifconfig -a

Code: Select all

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
aggr0: flags=1000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4> mtu 9000 index 2
        inet w.x.y.z netmask ffffff00 broadcast w.x.y.255
        ether 0:1b:21:28:8f:e2 
vboxnet0: flags=201000943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,IPv4,CoS> mtu 1500 index 7
        inet 10.2.2.90 netmask ffffff00 broadcast 10.2.2.255
        ether 8:0:27:e8:73:94 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
        inet6 ::1/128 
aggr0: flags=20002000940<RUNNING,PROMISC,MULTICAST,IPv6> mtu 9000 index 2
        inet6 ::/0 
        ether 0:1b:21:28:8f:e2 
dladm show-link

Code: Select all

LINK                CLASS     MTU    STATE    OVER
net2                phys      9000   up       --
net0                phys      9000   up       --
net1                phys      1500   unknown  --
vboxnet0            phys      1500   up       --
aggr0               aggr      9000   up       net0 net2
vboxvnic1           vnic      9000   up       aggr0
vboxvnic2           vnic      9000   up       aggr0
vboxvnic3           vnic      9000   up       aggr0
dladm show-phys

Code: Select all

LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net2              Ethernet             up         1000   full      e1000g1
net0              Ethernet             up         1000   full      e1000g0
net1              Ethernet             unknown    0      unknown   rge0
vboxnet0          Ethernet             up         1000   full      vboxnet0
dladm show-vnic

Code: Select all

 
LINK                OVER         SPEED  MACADDRESS        MACADDRTYPE       VID
vboxvnic1           aggr0        1000   8:0:27:8c:91:9b   fixed             0
vboxvnic2           aggr0        1000   8:0:27:b:e1:a1    fixed             0
vboxvnic3           aggr0        1000   8:0:27:5f:66:44   fixed             0
modinfo|grep vbox

Code: Select all

 
182 fffffffff87cd5b8    ce0 326   1  vboxnet (VirtualBox NetAdp 4.3.8r92456)
184 fffffffff9103000  380d8 325   1  vboxdrv (VirtualBox HostDrv 4.3.8r92456)
266 fffffffff88ca000   3838 327   1  vboxbow (VirtualBox NetBow 4.3.8r92456)
267 fffffffff8713000   45b0 328   1  vboxusbmon (VirtualBox USBMon 4.3.8r92456)
268 fffffffff8b69000   7528 329   1  vboxusb (VirtualBox USB 4.3.8r92456)
Vbox.log file has been attached.
Attachments
VBox.log
(47.94 KiB) Downloaded 44 times
msmcknight
Posts: 20
Joined: 4. Feb 2009, 21:07

Re: Lost UPnP Packets

Post by msmcknight »

Anyone have any ideas on this one? Should I open a bug for it?
Post Reply