R6
Interface FastEthernet 0/0
IP addr 10.0.0.1 255.255.255.0
No shut
Interface serial0/0
IP addr 200.0.0.5 255.255.255.252
No shutdown
IP Route 0.0.0.0 0.0.0.0 200.0.0.6
R6 L2TP
Config T
Username User1 password 0 (encryption level) User1 (several account login to write a few)
Username user2 password 0 (encryption level) User2
Username User3 password 0 (encryption level) User3
VPDN enable (Virtual Private VPN network)
Vpdn-group MYL2TP (custom group name: MYL2TP)
Accecpt-dianlin (Allow access)
Protocol L2TP (using L2TP protocol)
Virtual-template 1 (Call virtual template)
Exit
No L2TP tunnel authentication
Exit
Interface Virtual-template1
IP unnnumbered fa0/0 (determines no numbered IP address)
Encapsulation PPP (PPP package)
Peer default IP Add pool ip-pool (assign address pool to define the name of the address pool)
PPP Authentication CHAP
No shutdown
Exit
IP local pool ip-pool 11.0.0.201 11.0.0.210 (indicates the range of address pools)
End
Show ip interface breif
R6 Formal Configuration
En
Config T
No IP domain-lookup
IP classless
IP Subnet-zero
Hostname R6
Interface Serial 1/2
IP addr 173.16.1.1 255.255.255.252
No shut
IP fa2/0
IP addr 11.0.0.101 255.0.0.0
No shut
Exit
Router OSPF 100 (process number)
Network 173.16.1.0 0.0.0.3 Area 0
Network 11.0.0.0 0.255.255.255 Area 0 (code)
End
Show IP route
R7
En
Config T
No IP domain-lookup
IP classless
IP Subnet-zero
Hostname R6
Interface Serial 1/2
IP addr 173.16.1.2 255.255.255.252
No shut
IP fa2/0
IP addr 12.0.0.101 255.0.0.0
No shut
Exit
Router OSPF 100 (process number)
Network 173.16.1.0 0.0.0.3 Area 0
Network 12.0.0.0 0.255.255.255 Area 0 (code)
End
Show IP route
Tracert 11.0.0.102
Cisco L2TP configuration Commands