Hi, as the title says, I am trying to configure my guest OS to make use of the vlans on my host. To be clear, my host is a Linux router (on a stick) where there are 2 nics - One WAN and one LAN that is goes to a trunk port on the managed switch. So with this setup I have working Vlans and they are eth0.20 (voice) eth0.30 (data) eth0.40 (guest wireless)
On the switch, I have two access points , one is for Vlan 20 (voice) where my Wifi SIP phones go to, and the other (Vlan 40) is for guest wireless. My DHCP server on the router assigns IP's to the Vlans without a problem.
So with that being said, my vlans and network are working outside of my guest VM (linux w/ Asterisk).
So What I need is to bridge eth0.20 into the guest OS as ethx , and bridge eth0.30 to ethy
I am using Virtualbox 4 headless.
Currently I only know how to bind one address ie --nic1 bridged bridgeadapter1 eth0
Can I achieve something like --nic1 bridged bridgeadapter1 eth0.20 , --nic2 bridged bridgeadapter2 eth0.30 ?
this Way I can bind my SIP traffic in Asterisk to the ip on the bridged adapter connected to eth0.20 and the rest of the network would be the bridged adapter connected to eth0.30 .
Thanks!
Guest VMs and Vlans / multi subnets
-
hellonewman
- Posts: 2
- Joined: 31. Jan 2011, 17:40
- Primary OS: Ubuntu other
- VBox Version: OSE Debian
- Guest OSses: Various Linux
-
hellonewman
- Posts: 2
- Joined: 31. Jan 2011, 17:40
- Primary OS: Ubuntu other
- VBox Version: OSE Debian
- Guest OSses: Various Linux
Re: Guest VMs and Vlans / multi subnets
Doing some more searching , found this thread, it is exactly what I need... can someone help me get a VM to have the virtual interfaces connected to the bridges as shown in the first code box?
Thanks!
Thanks!