Setting VLan id in Centos 7 Guess

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Jose Cabrera Z
Posts: 4
Joined: 27. Feb 2020, 00:21

Setting VLan id in Centos 7 Guess

Post by Jose Cabrera Z »

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