Manual:VPLS Control Word: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
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. | ||
{{Note | Reordering OOO packets are not implemented, out of order fragments will be dropped}} | |||
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. | 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. | ||
Line 31: | Line 33: | ||
* Seq - 16bits sequence number used to detect packet loss / misordering. | * Seq - 16bits sequence number used to detect packet loss / misordering. | ||
According to RFC generation and processing of sequence number is optional. | According to RFC generation and processing of sequence number is optional. | ||
==Example Setup== | ==Example Setup== | ||
To show CW usage we will use simple three router setup as illustrated below. | |||
This setup will not explain BGP and LDP configuration since its detailed explanation is found in other articles. [[#See Also | <code>Read here>></code>]] | |||
==See Also== | ==See Also== | ||
* [[Manual:MPLSVPLS | Basic MPLS and LDP based VPLS]] | |||
* [[Manual:BGP_based_VPLS | BGP based VPLS]] | |||
* [[Manual:Cisco_VPLS | VPLS with Cisco routers]] | |||
Latest revision as of 13:23, 22 March 2013
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.
Note: Reordering OOO packets are not implemented, out of order fragments will be dropped
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
As you can see Control Word is divided into 5 fileds:
- 0000 - 4-bits identifies that packet packet is 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.
Example Setup
To show CW usage we will use simple three router setup as illustrated below.
This setup will not explain BGP and LDP configuration since its detailed explanation is found in other articles. Read here>>
See Also
[ Top | Back to Content ]