千家信息网

Cisco 1841 PPPOE配置

发表于:2025-01-20 作者:千家信息网编辑
千家信息网最后更新 2025年01月20日,难得有时间去机房登记下空闲设备,发现一台1841路由器,通电试了一下,发现还能正常使用。就对路由器配置PPPOE拨号用于wifi网段使用,下面贴出路由器配置。NET-1841-WIFI-GW#show
千家信息网最后更新 2025年01月20日Cisco 1841 PPPOE配置

难得有时间去机房登记下空闲设备,发现一台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


0