how to use Secondary VLAN IPs on Debian/Virtualbox?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ankurchopra87
Posts: 4
Joined: 28. Sep 2009, 04:57
Primary OS: MS Windows 2003
VBox Version: OSE Debian
Guest OSses: Debian

how to use Secondary VLAN IPs on Debian/Virtualbox?

Post 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
ankurchopra87
Posts: 4
Joined: 28. Sep 2009, 04:57
Primary OS: MS Windows 2003
VBox Version: OSE Debian
Guest OSses: Debian

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

Post by ankurchopra87 »

bump ....
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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?
ankurchopra87
Posts: 4
Joined: 28. Sep 2009, 04:57
Primary OS: MS Windows 2003
VBox Version: OSE Debian
Guest OSses: Debian

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

Post by ankurchopra87 »

yes.... tried that ... but i cant ping the outside world
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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?
ankurchopra87
Posts: 4
Joined: 28. Sep 2009, 04:57
Primary OS: MS Windows 2003
VBox Version: OSE Debian
Guest OSses: Debian

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

Post 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....
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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
hawkmage
Posts: 11
Joined: 20. Aug 2009, 21:18
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Centos, OpenSolaris

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

Post 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.
Post Reply