I am using vm-bhyve to manage VM's, I create a switch with something like
For now, I am trying to create a bridge between a gif tunnel (can't make it with GRE maybe is not supported in the bridge) and vlan, something like this:
I add the IP of the VLAN to the bridge:
Any ideas?
vm switch create -i igb0 public
all works fine as expected but now I would like to create VM's in another network segment the one I can only access via VLAN, the problem is that I have only Wi-Fi and can't send the vlan id.For now, I am trying to create a bridge between a gif tunnel (can't make it with GRE maybe is not supported in the bridge) and vlan, something like this:
Code:
ifconfig gif0 create tunnel 192.168.1.10 172.16.1.1 mtu 1500 up
ifconfig igb0.20 create vlan 20
ifconfig bridge create name vm-test
ifconfig vm-test addm igb0.20 addm gif0
I add the IP of the VLAN to the bridge:
ifconfig vm-test inet 172.16.1.2/24
but can't reach it.Any ideas?
Last edited by a moderator: