VLAN support on the SG-4860 OPT ports?

  • I have two configurations for the SG-4860 -- see [config-1], and [config-2] below. Both are configured with DHCP servers for their subnet and basic rule sets are to allow all traffic to egress on both interfaces.

    [config-1] works without a problem; but [config-2] does not work in that devices plugging into any of the OPT ports do not get a DHCP assignment. Or setting their IPv4 manually, they cannot egress.

    Is there a nuance in regards to VLAN on OPT ports that I am overlooking?


    igb1.201 -> PPoE
    ibg0 ->
    igb2 ->
    igb3 ->
    igb4 ->
    igb5 ->

    igb1.201 -> PPoE
    ibg0.50 ->
    igb2.40 ->
    igb3.30 ->
    igb4.20 ->
    igb5.10 ->

  • Rebel Alliance Developer Netgate

    What is it you're trying to accomplish?

    Tagging VLANs requires talking to a switch that also tags VLANs. You can't plug a client straight into tagged port like that unless the client is also tagging with the same value.

    Both of your configs have isolated networks on each port, the VLANs are not necessary at all if you're plugging clients directly into each port. And if you have a switch in each port, it's still not really necessary.

    You'd use VLANs to setup multiple tagged networks on a single physical port going to a switch also configured for VLANs, and then clients would plug unto a switchport untagged on whatever VLAN you want them to use.

  • @chase said in VLAN support on the SG-4860 OPT ports?:

    config-1] works without a problem; but [config-2] does not work in that

    Any reason why your creating a single vlan on each OPT interface ?

    Wouldn't you be better doing something like this or do they connect to different switch ports on the same switch :-

    igb1.201 -> PPoE
    igb0.10 ->
    igb0.20 ->
    igb0.30 ->
    igb0.40 ->
    ibg0.50 ->

    Maybe create a LACP LAGG group with igb1 & igb2 and use the LAGG as the parent interface.

  • The LAN is reserved exclusively for trusted hardware -- and thus, only one VLAN there. The OPT interfaces are where I am landing IoT devices. Although the OPT interfaces are 1:1 with a matching VLAN, the future arrangement is for the OPTs to be assigned additional VLANs.

    I do not want to LAGG the OPT interfaces.

  • Rebel Alliance Developer Netgate

    I think you have confused the term "VLAN" with an ordinary isolated network.

    VLANs are a special method used by switches to multiplex multiple networks on single ports and isolate traffic between switchports into separate segments. That doesn't apply to a router with individually configurable ports like the 4860.

    The config-1 scenario is what you want, you don't need VLANs.

  • @jimp Thank you -- your answer here and earlier makes sense, particularly that direct plugins of non-switch devices on the OPT ports is not the same as plugging in a switch that is prepared to manage the assigned VLAN segment. There is no further action necessary on this thread. Thank you for your time and attention here!

Log in to reply