Example of how the router processes traffic

The predefined default VLAN on the router is the VLAN with ID 1 (VLAN 1) with IPv4 network 192.168.1.0/24. All LAN ports are untagged members of this VLAN 1.

For this example, assume that you did not change the default VLAN (VLAN 1) and that you add a VLAN with ID 100 (VLAN 100) with IPv4 network 192.168.100.0/24 that has all LAN ports as tagged members.

The router processes incoming untagged and tagged packets as follows:

  • If an untagged packet enters the LAN1 port, VLAN 1 processes the packet:

    • If the destination for the untagged packet is a device that is connected to the LAN3 port on the 192.168.1.0/24 network (the VLAN 1 network), the packet is forwarded to the LAN3 port without any tagging because that port is an untagged member of VLAN 1.

    • If the destination for the untagged packet is a device that is connected to the LAN5 port on the 192.168.100.0/24 network (the VLAN 100 network), and the Inter VLAN Routing feature is enabled for both VLAN 1 and VLAN 100, the packet is routed from VLAN 1 to VLAN 100, and then forwarded from the LAN5 port with tag 100 because that port is a tagged member of VLAN 100.
  • If a tagged packet enters the LAN4 port and its VLAN tag is 100, VLAN 100 processes the packet:
    • If the destination for the tagged packet is a device that is connected to the LAN2 port on the 192.168.100.0/24 network (the VLAN 100 network), the LAN2 port forwards the packet with tag 100 because that port is a tagged member of VLAN 100.
    • If the destination for the tagged packet is a device that is connected to the LAN2 port on the 192.168.1.0/24 network (the VLAN 1 network), and the Inter VLAN Routing feature is enabled for both VLAN 1 and VLAN 100, the packet is routed from VLAN 100 to VLAN 1, and then forwarded from the LAN2 port without a tag because that port is an untagged member of VLAN 1.
  • If a tagged packet enters the LAN4 port and its VLAN tag is not 100, the router drops the packet because the LAN4 port is a tagged member of VLAN 100.