A serial line connects exactly two routers. Because there is only one receiver, no MAC addresses and no ARP are needed. Such leased lines used to be the usual WAN connection between sites; the principle lives on in DSL and mobile networks.
Encapsulation
Both ends must use the same encapsulation, otherwise the line stays down:
Encapsulation
Properties
HDLC (Cisco)
simple, default on many routers, no negotiation
PPP
negotiates the connection: LCP (line), IPCP (IP addresses), optional authentication
Router(config)# interface serial0
Router(config-if)# encapsulation ppp
Router(config-if)# ip address 10.0.0.1/30
The port must first be set to “serial” in the form.
The PPP frame
PPP (RFC 1662)Frame · RFC 1662, RFC 1661
Flag1 bytes0x7E
Address1 bytes0xff
Control1 bytes0x03
Protocol2 bytes0x0021
Information≤ 1500 bytes60 Byte
FCS2 bytes0xef53
Flag1 bytes0x7E
Left to right, in the order the bytes are sent. Grey dashed: never part of a capture (layer 1 or line framing). Point at a field for an explanation.
Field
Length
Example value
Meaning
Flag (framing, not in captures)
1 bytes
0x7E
0x7E marks the start and end of every frame on the line.
Address
1 bytes
0xff
Always 0xFF (all stations): a point-to-point line has only one other end.
Control
1 bytes
0x03
Always 0x03 (unnumbered information).
Protocol
2 bytes
0x0021
What is inside: 0x0021 IPv4, 0x0057 IPv6, 0xC021 LCP, 0x8021 IPCP (RFC 1661).
Information
≤ 1500 bytes
60 Byte
The packet or control message, at most 1500 bytes without negotiation (MRU).
FCS
2 bytes
0xef53
Checksum FCS-16 over address to information (FCS-32 on request).
Flag (framing, not in captures)
1 bytes
0x7E
Closing flag 0x7E (can also open the next frame).
Values: Real frame from the demo “Serial WAN link with PPP” (no. 12, 66 bytes), exactly as the packet list in leyoNET shows it.
PPPoE
With DSL, PPP runs over Ethernet: PPPoE. First the modem looks for the provider’s access concentrator (PADI, PADO, PADR, PADS), then LCP, authentication with user and password (PAP) and IPCP follow, which assigns the public address. More under Access technologies: DOCSIS, GPON, DSL and LTE.
How to do it in leyoNET
The same text as in the app’s help (F1 key).
Serial lines
Classic WAN line between two routers. No Ethernet, no MAC addresses; there is only one neighbour, so no ARP is needed.
Switch the router port to serial
Same encapsulation on both ends: HDLC (Cisco) or PPP
PPP negotiates the link with LCP and the addresses with IPCP
In the CLI: interface serial0, encapsulation ppp.
See an example
Serial WAN link with PPP
Zurich and Bern connected by a serial line.
LCP and IPCP negotiate the link, then IP packets flow without MAC addresses.