PPP (ppp)
- Layer: L2 (data link)
- Header: 2 octets (fixed)
- Notes: L2 control protocols, OSI encapsulation (P2)
Reached from
| Lower layer | Selector | Value |
|---|---|---|
pppoe_session | session_id | (any other value) |
Fields
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
protocol | enum(16) | 49185 (lcp) | Protocol number of the next layer (see Next layer) | PPP protocol identifier of the payload (LCP / IPCP / IP / IPv6 / …). |
protocol
| Value | Name |
|---|---|
| 33 (0x0021) | ipv4 |
| 35 (0x0023) | osi |
| 87 (0x0057) | ipv6 |
| 32801 (0x8021) | ipcp |
| 32855 (0x8057) | ipv6cp |
| 49185 (0xc021) | lcp |
| 49187 (0xc023) | pap |
| 49699 (0xc223) | chap |
Next layer
The next layer is selected by protocol; when the field is Auto the builder writes the value of the protocol stacked above.
First 8 bits of the payload when protocol = 35 (0x0023)
| Value | Protocol |
|---|---|
| 129 (0x81) | clnp |
| 130 (0x82) | esis |
| 130 (0x82) | esis_esh |
| 130 (0x82) | esis_ish |
| 130 (0x82) | esis_rd |
| 131 (0x83) | isis |
| 131 (0x83) | isis_l1_lan_hello |
| 131 (0x83) | isis_l2_lan_hello |
| 131 (0x83) | isis_p2p_hello |
| 131 (0x83) | isis_l1_lsp |
| 131 (0x83) | isis_l2_lsp |
| 131 (0x83) | isis_l1_csnp |
| 131 (0x83) | isis_l2_csnp |
| 131 (0x83) | isis_l1_psnp |
| 131 (0x83) | isis_l2_psnp |
| (any other value) | osi |
Sample templates
- pppoe-ppp-ipcp —
templates/protocols/l2/pppoe-ppp-ipcp.wpg.yaml - pppoe-ppp-lcp —
templates/protocols/l2/pppoe-ppp-lcp.wpg.yaml