Hello,
Is there any way to make a configuration of the virtual box "virtual switch" ?
Im implementing vlans and i need to change some things on the switch:
Port Mode: Trunk
Default VLAN of port: VLAN ID1 Untagged
VLAN ID for green network: VLAN ID 300 Tagged
VLAN ID for blue network: VLAN ID 400 tagged
Thank you
Virtual Box Switch Configuration
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Virtual Box Switch Configuration
Best of my reading of the manual (section 6), the Virtualbox "Switch" is an unmanaged switch, no configuration, simply pass the data. You can have multiple switches by using more of the types of networks that create the switches.
Each Internal network has its own switch, and you make new Internal networks by assigning a new name to them. When two guests connected to an Internal network with a certain name, a switch for that internal network is generated and the two guests are connected. Connect another guest to that Internal network name, and the guest gets connected to that network's switch. Come up with another name for an internal network and attach two or more guests by that new name, and another switch is made.
If you want to make VLANS, you will need to use a guest OS that can set up a VLAN-capable switch. Maybe a router OS like pfSense? Then you will need different networks on each port of the LAN you design with the router OS guest.
Each Internal network has its own switch, and you make new Internal networks by assigning a new name to them. When two guests connected to an Internal network with a certain name, a switch for that internal network is generated and the two guests are connected. Connect another guest to that Internal network name, and the guest gets connected to that network's switch. Come up with another name for an internal network and attach two or more guests by that new name, and another switch is made.
If you want to make VLANS, you will need to use a guest OS that can set up a VLAN-capable switch. Maybe a router OS like pfSense? Then you will need different networks on each port of the LAN you design with the router OS guest.