so I have two internet connections connected to a muti wan router, then I configure the two seperate vlans for both connections, then I setup 1 dhcp server for both connections then on the switch I add the vlan ids 60 and 61 made the switch port a trunk port.

So on this edge max tough switch it has the management port showing as tagged and the rest of the ports untagged. So I added the vlan ids for both connections. So I tag both vlans 60 and 61 under the same port for the trunk. So should all the ports on 60 and 61 vlan be untagged? This is where I’m getting confused!

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

    For trunk ports, the port on each end of the cable should be configured identically. So, if you set your ports on your router for Tagged 60 and 61, the port on the switch you’re connecting it to should also be set for Tagged 60 and 61, and of course be configured as a Trunk port.

    To assign a specific VLAN to the other ports on your switch:

    Port Mode: Access

    VLAN60, Untagged, PVID60

    • or -

    VLAN61, Untagged, PVID61

    Anything plugged into those ports would be dumped onto the specificed VLAN, whether the device is VLAN-Aware or not.

    • Giggy36@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That’s the thing the router allows you to setup the vlan Id’s and dhcp but doesn’t allow you to tag or untag ports, the switch allows you to untag individual ports for vlans or all the ports for a vlan but you can’t assign all the the ports on more than one vlan. The management vlan has all the ports untagged so I assume that I would exclude all the port for that vlan and then tag the trunk port and then untag all the ports for the vlan60 then tag vlan 61 on the trunk port then exclude all the ports for vlan61. I don’t care if it gets any IPs from vlan 61 just the internet connection I just need the IPs and internet from vlan60 aswell!

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

        A switch port port can support the following:

        1 or more Tagged VLANS

        1 Untagged VLAN by itself

        1 Untagged VLAN plus one or more Tagged VLANs

        A switch port CANNOT support more than one Untagged VLAN.

        In all of your pictures, port 4 is correct.

        In the 2nd picture - you’ll note that the VLAN60 and 61 boxes are red. That’s because you’ve selected Untagged VLAN60 and Untagged VLAN61 on ports 1, 2, 3, and 5. That isn’t a valid configuration.

        Your first picture has VLAN60 set for untagged traffic on ports 1, 2, 3, and 5. . . anything plugged in to those ports would be dumped onto VLAN60 during normal operation.

        If you want VLAN61 as untagged on ports 1, 2, 3, and 5, you’d change the VLAN60 entries on ports 1,2, 3, and 5 to “E”, and then in the VLAN61 row, change 1, 2, 3, and 5 to “U”.

        So, top row correct for VLAN60, middle row completely invalid, and bottom row won’t put any VLANs on ports 1, 2, 3, and 5.