Manual:VPLS Control Word: Difference between revisions
Created page with "==Summary== <p id="shbox"><b>Standards:</b> <code>Pseudowire Fragmentation and Reassembly (RFC 4623)</code></p> VPLS allows remote sites to share an Ethernet broadcast domain ..." |
|||
Line 14: | Line 14: | ||
In RouterOS Control Word is used for packet fragmentation and reassembly inside VPLS tunnel and is done by utilizing optional '''Control Word (CW)'''. CW is added between PW label (demultiplexor) and packet payload and adds additional 4-byte overhead. | In RouterOS Control Word is used for packet fragmentation and reassembly inside VPLS tunnel and is done by utilizing optional '''Control Word (CW)'''. CW is added between PW label (demultiplexor) and packet payload and adds additional 4-byte overhead. | ||
Until RouterOS v5.5 CW was used always, but for compatibility with other vendors feature to turn off | Until RouterOS v5.5 CW was used always, but, for compatibility with other vendors that do not use CW, feature to turn off Control Word usage was added. | ||
CW usage is controlled by one new parameter <var>use-control-word</var> in [[Manual:Interface/VPLS#BGP_VPLS | /interface vpls bgp-vpls]] and [[Manual:Interface/VPLS#Cisco_Style_BGP_VPLS | /interface vpls cisco-bgp-vpls]] | CW usage is controlled by one new parameter <var>use-control-word</var> in [[Manual:Interface/VPLS#BGP_VPLS | /interface vpls bgp-vpls]] and [[Manual:Interface/VPLS#Cisco_Style_BGP_VPLS | /interface vpls cisco-bgp-vpls]] | ||
Revision as of 13:35, 18 August 2011
Summary
Standards: Pseudowire Fragmentation and Reassembly (RFC 4623)
VPLS allows remote sites to share an Ethernet broadcast domain by connecting sites through pseudo-wires(PW) tunnels over a packet switching network (PSN). Since VPLS encapsulation adds additional overhead, each interface in LSP should be able to transmit large enough packet.
Each ethernet chipset has hardware limitation on maximum packet size that it can transmit. Even now there are Ethernets that supports only one Vlan tag, meaning that maximum packet size without Ethernet header and checksum (L2MTU) is 1504 bytes. Obviously it is not enough to forward VPLS encapsulated Ethernet frame without fragmentation (at least 1524 L2MTU support is required). See MTU article for maximum supported L2MTUs on RouterBOADs.
Since not even all RouterBOARDs support enough L2MTU to transmit VPLS encapsulated packet without fragmentation, RouterOS have added Pseudowire Fragmentation and Reassembly (PWE3) support according to RFC 4623 using 4-byte Control Word (CW).
Control Word Usage
In RouterOS Control Word is used for packet fragmentation and reassembly inside VPLS tunnel and is done by utilizing optional Control Word (CW). CW is added between PW label (demultiplexor) and packet payload and adds additional 4-byte overhead.
Until RouterOS v5.5 CW was used always, but, for compatibility with other vendors that do not use CW, feature to turn off Control Word usage was added. CW usage is controlled by one new parameter use-control-word in /interface vpls bgp-vpls and /interface vpls cisco-bgp-vpls
VPLS Packet and CW Format
- 0000 - 4-bits identifies packet as PW (not IP)
- Flags - 4bits
- Frag - 2bits value that indicates payload fragmentation.
- Len - 6bits
- Seq - 16bits sequence number used to detect packet loss / misordering.
According to RFC generation and processing of sequence number is optional.
[ Top | Back to Content ]