Hi all,
i'm trying to add a second vNIC to my LXC containers: on my router (usg) i've created a second network against the principal with a vlan tag 10. I've configured on my switch (unifi switch) to propagate on all ports the vlans. On my proxmox node i've checked the network option 'Vlan aware' on vmbr0 and on my container i've added a second nic specifying the vlan tag.
If i try with
inside the container (ubuntu image) and this is the output:
But when i try to ping via interface eht0.10 this doesn't work. If i remove the eth0 from proxmox menu and reboot the container with the vlan interface only it works.
Someone can help me?
Thank you
i'm trying to add a second vNIC to my LXC containers: on my router (usg) i've created a second network against the principal with a vlan tag 10. I've configured on my switch (unifi switch) to propagate on all ports the vlans. On my proxmox node i've checked the network option 'Vlan aware' on vmbr0 and on my container i've added a second nic specifying the vlan tag.
If i try with
Code:
ip a
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
41: eth0@if42: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 4e:84:69:cf:dc:c5 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 192.168.2.25/24 brd 192.168.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::4c84:69ff:fecf:dcc5/64 scope link
valid_lft forever preferred_lft forever
46: eth0.10@if47: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether b2:dc:c8:b3:e0:8d brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.0.0.5/22 brd 10.0.3.255 scope global dynamic eth0.10
valid_lft 83095sec preferred_lft 83095sec
inet6 fe80::b0dc:c8ff:feb3:e08d/64 scope link
valid_lft forever preferred_lft forever
But when i try to ping via interface eht0.10 this doesn't work. If i remove the eth0 from proxmox menu and reboot the container with the vlan interface only it works.
Someone can help me?
Thank you
