We have explained a lot in PPPoE Protocol configuration, and there are many routing contents involved in this aspect. We have also introduced a lot. Here we mainly analyze a case in the configuration of the ADSL PPPoE Protocol to help you analyze it.
PPPoE Protocol Configuration:
2514 # sh run
Building configuration...
Current configuration: 982 bytes
!
Version 12.2:
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname p2r3
!
!
Ip subnet-zero
!
Vpdn enable vpdn)
!
Vpdn-group tyl
Request-dialin
Protocol pppoe enabled pppoe protocol)
!
!
!
!
Interface Ethernet0
No ip address
Pppoe enable
Pppoe-client dial-pool-number 1 bind the physical port to the virtual dialing port)
!
Interface Ethernet1
Ip address 192.168.1.254 255.255.255.0
Ip nat inside
!
Interface Dialer1
Ip address negotiated
Ip mtu 1492 (in PPPoE Protocol configuration, the original mtu1500 is changed to 1492, because the pppoe header is 8 bytes)
Ip nat outside
Encapsulation ppp
Dialer pool 1 binds the physical port and virtual dialing port through the dialing pool)
Ppp pap sent-username ****** @ 163.gd password 0 ******* one-way verification of ppp pap)
!
Ip nat inside source list 1 interface Dialer1 overloadNAT conversion)
Ip classless
Ip route 0.0.0.0 0.0.0.0 Dialer1 set Static Routing)
Ip http server
Ip pim bidir-enable
!
!
Access-list 1 permit 192.168.1.0 0.0.255
!
!
Line con 0
Exec-timeout 0 0
Logging synchronous
Line aux 0
Line vty 0 4
!
End
PPPoE Protocol Configuration Topology