• @TiggerLASB
    link
    fedilink
    English
    18 months ago

    Yes.

    On the switch, define the ports that need to be on VLAN2 as “access ports”.

    VLAN2, Untagged, PVID2

    Then use a single cable from your edgerouter to any one of those ports.

    Make sure that no other (V)LANs are assigned to that particular port on the EdgeRouter.

    • @domanpandaOPB
      link
      fedilink
      English
      17 months ago

      Thanks!

      “Untagged” here means default VLAN with id:1 - the one used when nothing is set. By default all ports on the switch are set as untagged for this id.
      Maybe i should have marked VLAN1 and VLAN2 as VLAN10 and VLAN20 (with respective id’s) to avoid confusion.