cisco2811 pppoe上网配置供参考
2017年的配置,不要嫌老
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco2811
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable password cisco
!
no aaa new-model
clock timezone GMT 8
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.200.1 192.168.200.90
ip dhcp excluded-address 192.168.53.1 192.168.53.100
!
ip dhcp pool 200
network 192.168.200.0 255.255.255.0
default-router 192.168.200.1
dns-server 114.114.114.114 218.2.135.1
lease 0 6
!
ip dhcp pool 192.168.53.0/24
network 192.168.53.0 255.255.255.0
dns-server 114.114.114.114
default-router 192.168.53.5
lease 0 6
!
!
no ip domain lookup
ip domain name yourdomain.com
multilink bundle-name authenticated
vpdn enable
!
!
!
username username privilege 15 secret 5
111wTZlLYs8gLU0ZqAkTMku4p1usernameciscoprivilege15password0cisco123archivelogconfighidekeys!!!interfaceFastEthernet0/0descriptionfanghuqiangLYs8gLU0ZqAkTMku4p1 username cisco privilege 15 password 0 cisco123 archive log config hidekeys ! ! ! interface FastEthernet0/0 description fanghuqiangLYs8gLU0ZqAkTMku4p1usernameciscoprivilege15password0cisco123archivelogconfighidekeys!!!interfaceFastEthernet0/0descriptionfanghuqiangETH-LAN$
no ip address
ip mtu 1492
ip nat outside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 100
!
interface FastEthernet0/0.1
!
interface FastEthernet0/0.3
encapsulation dot1Q 4
!
interface FastEthernet0/1
description ETH?LANETH-LANETH?LAN
mtu 1492
ip address 192.168.200.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
arp timeout 3600
!
interface FastEthernet0/1.6
mtu 1492
encapsulation dot1Q 53
ip address 192.168.53.2 255.255.255.0
ip nat inside
ip virtual-reassembly
arp timeout 3600
!
interface Dialer100
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 100
dialer-group 100
ppp authentication chap callin
ppp chap hostname xxxxxx
ppp chap password 0 xxxxxx
ppp pap sent-username xxxxxx password 0 xxxxxx
!
no ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer100
!
!
ip http server
ip http authentication local
ip http timeout-policy idle 600 life 86400 requests 10000
ip nat inside source list 1 interface Dialer100 overload
!
access-list 1 permit 192.168.200.0 0.0.0.255
access-list 1 permit 192.168.53.0 0.0.0.255
access-list 100 remark SDM_ACL Category=2
access-list 100 permit ip any any
dialer-list 100 protocol ip permit
!
!
control-plane
!
!
line con 0
login local
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet
line vty 5 15
no login
transport input telnet
!
scheduler allocate 20000 1000
!
總結
以上是生活随笔為你收集整理的cisco2811 pppoe上网配置供参考的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 暴风影音2013校园招聘笔试题目——c语
- 下一篇: android 新建签名文件注意事项