Page 1 of 1

how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 28. Sep 2009, 05:02
by ankurchopra87
Hi,

i need some help here

i am on a Windows 2003 Server and i have Debian installed on Virtualbox 3.0.6

I have Secondary VLAN IPs issued to me by my datacenter .... i want to know how to use them on my setup.

Any help will be appreciated

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 29. Sep 2009, 18:41
by ankurchopra87
bump ....

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 29. Sep 2009, 18:44
by Perryg
Have you tried to add the IP address to the guest as a static address and set the guest to use Bridged mode?

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 30. Sep 2009, 00:12
by ankurchopra87
yes.... tried that ... but i cant ping the outside world

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 30. Sep 2009, 00:15
by Perryg
That could be a routing issue. Are you sure that you have bridged mode selected in the guest settings?
Have you talked to your data center about the settings you should use?

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 30. Sep 2009, 00:25
by ankurchopra87
yes
unfortunately my data center's support hasn't been helpful ...
they avoided helping by saying that they don't provide support for virtualbox or even vmware....

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 30. Sep 2009, 00:45
by Perryg
Well that sucks. They are the ones that need to setup the vlan. All you should need to do is be on a specific switch port or provide your MAC to them.
You can get around this by using NAT but you would then need to use host-only as a second adapter to tie the guest back into the host

Re: how to use Secondary VLAN IPs on Debian/Virtualbox?

Posted: 30. Sep 2009, 04:12
by hawkmage
I just did some testing on this. I configured a Ubuntu guest to have a VLAN interface bound to a bridged VBox interface. Doing a ping from the guest on the VLAN to another host I can see a VLAN tagged ARP packet leaving the Ubuntu guest the hosts physical interface and even the ARP reply getting to the host physical interface but it never gets to the VBox Virtual interface. I am not sure if it is being consumed by the hosts IP stack or not getting to the VBox.