beautypg.com
i
Contents
Configuring PPP ···························································································································································· 1
Overview ············································································································································································ 1
PPP link establishment process ································································································································ 1
PPP authentication ···················································································································································· 2
PPP for IPv4 ······························································································································································· 2
PPP for IPv6 ······························································································································································· 3
PPP configuration task list ················································································································································· 4
Enabling PPP encapsulation on an interface ·················································································································· 4
Configuring PPP authentication ······································································································································· 4
Configuring PAP authentication ······························································································································ 5
Configuring CHAP authentication ·························································································································· 5
Configuring MS-CHAP or MS-CHAP-V2 authentication ······················································································· 7
Configuring the polling feature ········································································································································ 8
Configuring PPP negotiation ············································································································································ 9
Configuring the PPP negotiation timeout time ······································································································· 9
Configuring IP address negotiation ························································································································ 9
Configuring DNS server IP address negotiation ································································································ 13
Configuring ACFC negotiation ···························································································································· 14
Configuring PFC negotiation ································································································································ 15
Enabling PPP accounting ··············································································································································· 15
Configuring the nas-port-type attribute ························································································································· 16
Displaying and maintaining PPP ·································································································································· 16
Configuring PPPoE ····················································································································································· 18
Overview ········································································································································································· 18
PPPoE network structure ················································································································································· 18
Feature and hardware compatibility ···························································································································· 19
Configuring a PPPoE client ············································································································································ 19
Configuring a dialer interface ····························································································································· 20
Configuring a PPPoE session ································································································································ 21
Resetting a PPPoE session ····································································································································· 21
Displaying and maintaining PPPoE client ···················································································································· 21
Configuring L2TP ························································································································································ 23
Overview ········································································································································································· 23
Typical L2TP networking ······································································································································· 23
L2TP message types and encapsulation structure ······························································································ 24
L2TP tunnel and session ········································································································································ 24
L2TP tunneling modes and tunnel establishment process ·················································································· 24
L2TP features ·························································································································································· 28
Protocols and standards ······································································································································· 29
L2TP configuration task list ············································································································································ 30
Configuring basic L2TP capabilities ····························································································································· 31
Configuring an LAC ······················································································································································· 31
Configuring an LAC to initiate tunneling requests for a specified user ··························································· 31
Specifying LNS IP addresses ································································································································ 32
Configuring the source IP address of L2TP tunnel packets ················································································ 32
Configuring transferring AVP data in hidden mode ·························································································· 33
Configuring AAA authentication on an LAC ······································································································ 33
Configuring an LAC to automatically establish an L2TP tunnel ········································································ 33