Cisco 2811 PPPOE+NAT 配置实例

‍版权声明:原创作品,如需转载,请与作者联系。否则将追究法律责任。
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
!
username cisco privilege 15 password 0 cisco
!
!
!
interface FastEthernet0/0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 pppoe enable
 pppoe-client dial-pool-number 10 dial-on-demand
!
interface Serial0/2/0
 no ip address
 encapsulation frame-relay IETF
 shutdown
 frame-relay lmi-type ansi
!
interface Dialer1
 ip address negotiated
 ip nat outside
 encapsulation ppp
 dialer pool 10
 dialer idle-timeout 300
 dialer-group 1
 ppp pap sent-username mdkt888 password 0 35142700
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip http server
ip http authentication local
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
 login local
 transport input all
line vty 5 15
 login local
 transport input all
!
scheduler allocate 20000 1000
!
end

本文出自 “陈高儒的博客” 博客,转载请与作者联系!

 
 
 
原文地址:https://www.cnblogs.com/lihuanhuan/p/10612166.html