Layer 2 Technologies
Layer 2 is responsible for logical link control, media access control, hardware addressing, error detection and handling, and defining physical layer standards. It is often divided into the logical link control (LLC) and media access control (MAC) sub layers.
· Bridged (Ethernet) Internetworking Ethernet frames that are extracted from the attachment circuit are sent over the pseudo wire. In the case of 802.1q, the VLAN tag is removed. The pseudo wire functions in Ethernet (VC type 0x0005) like-to-like mode, and the IW function at the NSP performs the required adaptation based on the attachment circuit technology. Non-Ethernet frames are dropped.
· Routed (IP) Internetworking IP packets that are extracted from the attachment circuit are sent over the pseudo wire. The pseudo wire functions in IP Layer 2 Transport (VC type 0x000B) like-to-like mode, and the IW function (NSP) performs the required adaptation based on the attachment circuit technology. Non-IPv4 packets are dropped.
In general, you use Layer 2 IW to connect different Layer 2 technologies at both attachment circuits by means of a pseudo wire. The actual type of IW typically depends on the end-to-end application type, such as bridged or routed. If you want to interconnect different attachment circuit technologies and carry protocols other than IP, the only current option is bridged IW.