Hey, I have a proxmox node running with 2 NICs. where one is for the interface management and the other card is for VMs and Containers to make use of.

My VLAN Settings look like this :

https://preview.redd.it/j8a4s6zagczb1.png?width=832&format=png&auto=webp&s=2952601560add739891d5ed6e6c10437037c8eab

And the PVID Settings are :

https://preview.redd.it/b4x5zh9cgczb1.png?width=761&format=png&auto=webp&s=6e3e5eb16198072495738d8fa6246f07e5d57775

IK, I’m doing some noob mistake. I have added VLAN Tags and made the network interface Aware too in proxmox :

https://preview.redd.it/pysjuyqcgczb1.png?width=285&format=png&auto=webp&s=d00d7967eba549d52c1e05964b6593c0f64a1e4c

Sample Configuration of container with VLAN tag :

https://preview.redd.it/xixhm8edgczb1.jpg?width=602&format=pjpg&auto=webp&s=b4bc48886cf839a0ef65e78f629769a3f844b328

Isolation between the VLANS works but they can’t access internet that’s the only problem I face.

  • government--agent@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    VLANs work on layer-2. A switch can isolate frames between VLANs and that’s it.

    You need subnets and a firewall if you want them to communicate with each other (layer-3).