温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Cisco 1841 PPPOE配置

发布时间:2020-06-26 16:03:52 来源:网络 阅读:833 作者:Lonesome0 栏目:网络安全

难得有时间去机房登记下空闲设备,发现一台1841路由器,通电试了一下,发现还能正常使用。就对路由器配置PPPOE拨号用于wifi网段使用,下面贴出路由器配置。


NET-1841-WIFI-GW#show run  

Building configuration...


Current configuration : 1337 bytes

!

version 15.0

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname NET-1841-WIFI-GW

!

boot-start-marker

boot-end-marker

!

enable password Cisco

!

no aaa new-model

dot11 syslog

ip source-route

!

!

!

!

ip cef

no ipv6 cef

multilink bundle-name authenticated

!         

vpdn enable

!

!

!

!

!

license udi pid CISCO1841C/K9 sn XXXXXXX

username XXXXXXX password 0 XXXXXXX

!

!

!

!

!

!

interface FastEthernet0/0

 description ConToCNC

 no ip address

 duplex auto

 speed auto

 pppoe enable group global

 pppoe-client dial-pool-number 1

!

interface FastEthernet0/1

 ip address 172.16.110.4 255.255.255.0

 ip nat inside

 ip virtual-reassembly

 duplex auto

 speed auto

!

interface Dialer1

 description DiaToCNC

 mtu 1492

 ip address negotiated

 ip nat outside

 ip virtual-reassembly

 encapsulation ppp

 ip tcp adjust-mss 1450

 dialer pool 1

 dialer-group 1

 ppp chap hostname XXXXXXX

 ppp chap password 0 XXXXXXX

 ppp ipcp dns request

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

!

ip nat inside source list 1 interface Dialer1 overload

ip route 0.0.0.0 0.0.0.0 Dialer1

!

access-list 1 permit 172.16.110.0 0.0.0.255

dialer-list 1 protocol ip permit

!

!

!

control-plane

!

!

line con 0

line aux 0

line vty 0 4

 login local

!

scheduler allocate 20000 1000

end


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI