I installed VBox on a Centos 7 server. I also created a centos 7 vbox virtual machine and according to the network requirements I need to set the VLan id. This VM is configured to be attached to a "Bridged Adapter" and use the "virtio-net" adapter type. I tried:
sudo ip link add link eth0 name eth0.5555 type vlan id 5555
this VM is set to get the ip address: 10.222.21.33
But I can not get to obtain internet. Any suggestions please?