Hello STH forum,
I was given a task was to create a Ubuntu server virtualized under VSpere with a custom configuration.
Requirements:
From VSphere, senior admin added 4 NICs to the machine and told me to configure the NICs and their VLANs, as follows:
NIC1 10.100.100.24/24 - VLAN 400
NIC2 10.100.100.96.24 - VLAN 401
NIC3 10.100.100.97.24 - VLAN 402
NIC 10.100.100.98.24 - VLAN 402
When installing the Ubuntu Server I added the VLAN tag 400 to the first NIC that was added. Then senior admin added the other 3 NICs and told me to configure those.
I managed to install vlan package, add the 8021q module and created the vlans accordingly.
But there is something I must be doing wrong, being that once the interfaces are set up and activated, I can not reach the gateway , nor the internet.
Questions: Does each NIC has to have an IP and the VLAN has to have another?
Do I have to give to each NIC an IP, or only to its VLAN?
Can I add all the VLANs to a single virtual NIC, or do i have to set up VLAN tagged to each NIC ? How to I prioritize traffic to the first NIC?
Can anyone kindly point me in the right direction?
I was given a task was to create a Ubuntu server virtualized under VSpere with a custom configuration.
Requirements:
From VSphere, senior admin added 4 NICs to the machine and told me to configure the NICs and their VLANs, as follows:
NIC1 10.100.100.24/24 - VLAN 400
NIC2 10.100.100.96.24 - VLAN 401
NIC3 10.100.100.97.24 - VLAN 402
NIC 10.100.100.98.24 - VLAN 402
When installing the Ubuntu Server I added the VLAN tag 400 to the first NIC that was added. Then senior admin added the other 3 NICs and told me to configure those.
I managed to install vlan package, add the 8021q module and created the vlans accordingly.
But there is something I must be doing wrong, being that once the interfaces are set up and activated, I can not reach the gateway , nor the internet.
Questions: Does each NIC has to have an IP and the VLAN has to have another?
Do I have to give to each NIC an IP, or only to its VLAN?
Can I add all the VLANs to a single virtual NIC, or do i have to set up VLAN tagged to each NIC ? How to I prioritize traffic to the first NIC?
Can anyone kindly point me in the right direction?