35 / 91 page

IP178C
Preliminary Data Sheet
35/91
October 27, 2005
Copyright © 2004, IC Plus Corp.
IP178C-DS-R09
2.7
Tag VLAN in router application
In a router application, MII port is defined as a tagged port and the other ports are defined as un-tagged
ports. IP178C inserts VLAN tag into packets according to its source port when it forwards the packets to
MII port. The pre-defined VLAN tag value is defined in register 30.3~11. CPU can identify the source port
of a packet from MII by examining the VLAN tag.
CPU inserts VLAN tag into packets when it sends packets to MII port. IP178C forwards a packet from MII
to the appropriate port according to the MAC address and VLAN tag. IP178C removes the VLAN tag
when it forwards the packet.