Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

PPP IPCP (ppp_ipcp)

Reached from

Lower layerSelectorValue
pppprotocol32801 (0x8021)

Fields

FieldTypeDefaultAutoDescription
codeenum(8)1 (configure_request)PPP control-protocol code (Configure-Request / Ack / Nak / …).
identifieruint(8)0PPP control-protocol request identifier.
lengthuint(16)Length of the header and payload in octetsLength of the PPP control-protocol packet, in octets (Auto).
optionstlv — length - 4 octetsPPP control-protocol options (8-bit type / length TLVs).

code

ValueName
1 (0x01)configure_request
2 (0x02)configure_ack
3 (0x03)configure_nak
4 (0x04)configure_reject
5 (0x05)terminate_request
6 (0x06)terminate_ack
7 (0x07)code_reject

options

  • Type 8 bits, length 8 bits.
  • The length counts the type and length fields too.
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
2 (0x02)ip_compression_protocol
3 (0x03)ip_addressaddress
129 (0x81)primary_dnsaddress
131 (0x83)secondary_dnsaddress

options › ip_address

FieldTypeDefaultAutoDescription
addressipv4

options › primary_dns

FieldTypeDefaultAutoDescription
addressipv4

options › secondary_dns

FieldTypeDefaultAutoDescription
addressipv4

Sample templates