1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

WAN Port VLAN Trunking

Discussion in 'Asuswrt-Merlin' started by danjackson, Sep 11, 2019.

Tags:
  1. danjackson

    danjackson New Around Here

    Joined:
    Aug 1, 2017
    Messages:
    5
    Hi all,

    I have the AC88U with latest Merlin. Currently, I send the WAN and LAN output from the Router into a switch (Microtik) which tags the VLAN's on the ports, sends it along another single port trunked to another switch. At this second switch the WAN and LAN is separated into a modem and more LAN ports respectively.

    Is there a way to do this on ASUSWRT Merlin so that I can send LAN traffic on one VLAN and WAN traffic on another VLAN from the same port (preferably the WAN port but one of the others will also do).

    Obviously this Router isn't designed to do this but given that the firmware gives me pretty much root access via SSH surely there's some way to get this to work even if its non persistent?

    Thanks in advance :)

    EDIT:
    Might also be worth mentioning that I'm using PPPoE on the WAN port. So I'm looking to send PPPoE traffic tagged on VLAN x and LAN traffic tagged on VLAN y from the same port :)
     
    Last edited: Sep 11, 2019
  2. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,278
    Location:
    UK
  3. danjackson

    danjackson New Around Here

    Joined:
    Aug 1, 2017
    Messages:
    5
    Actually that might make things easier, because that means that the difference between the LAN and WAN is software based if the WAN and LAN (1-4) ports share the same chip? Surely there's something I can do within like robocfg or iproute2 or something that will allow me to send VLAN x tags to PPPoE interface and VLAN y tags to br0 (I think it's br0 for LAN). Not quite sure how much control I've got over the switch chip but if necessary maybe I could passthrough the tagging on the switch and handle the tagging within Linux?