使 Cisco 891 通过 PPPoE 连接到 NTU 的问题

网络工程 思科 pppoe
2021-07-04 04:38:47

其他设备(MickoTik、带有内置 PPPoE 客户端的 Windows 笔记本电脑)似乎可以毫无问题地连接到 NTU 的 PPPoE。

消毒路由器配置:

!
! Last configuration change at 06:55:18 UTC Thu Jul 9 2015
version 15.3
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router1
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
enable secret 5 ########################
enable password ###########
!
no aaa new-model
no process cpu extended history
no process cpu autoprofile hog
!
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
license udi pid C891F-K9 sn ##########
!
!
interface BRI0
 no ip address
 encapsulation hdlc
 shutdown
 isdn termination multidrop
 no cdp enable
!
interface FastEthernet0
 no ip address
 shutdown
 duplex auto
 speed auto
 no cdp enable
!
interface GigabitEthernet0
 no ip address
 no cdp enable
!
interface GigabitEthernet1
 no ip address
 shutdown
 no cdp enable
!
interface GigabitEthernet2
 no ip address
 shutdown
 no cdp enable
!
interface GigabitEthernet3
 no ip address
 pppoe enable group global
 pppoe-client dial-pool-number 1
 no cdp enable
!
interface GigabitEthernet4
 no ip address
 shutdown
 no cdp enable
!
interface GigabitEthernet5
 no ip address
 shutdown
 no cdp enable
!
interface GigabitEthernet6
 no ip address
 shutdown
 no cdp enable
!
interface GigabitEthernet7
 no ip address
 shutdown
 no cdp enable
!
interface GigabitEthernet8
 no ip address
 shutdown
 duplex auto
 speed auto
 no cdp enable
!
interface Vlan1
 mtu 1492
 ip address 10.10.30.247 255.255.255.0
!
interface Async3
 no ip address
 encapsulation slip
!
interface Dialer1
 mtu 1492
 ip address negotiated
 encapsulation ppp
 ip tcp adjust-mss 1436
 dialer pool 1
 dialer-group 1
 ppp authentication chap pap callin
 ppp chap hostname ##########@###.###.###.##
 ppp chap password 0 #########
 ppp pap sent-username ##########@###.###.###.## password 0 #########
 no cdp enable
!
ip forward-protocol nd
ip http server
no ip http secure-server
!
!
!
no service-routing capabilities-manager
no cdp run
!
!
control-plane
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
line con 0
 exec-timeout 0 0
 no modem enable
line aux 0
line 3
 modem InOut
 speed 115200
 flowcontrol hardware
line vty 0 4
 password ##########
 login
 transport input all
!
scheduler allocate 20000 1000
!
end

GigabitEthernet 接口是唯一作为在 CCP 中配置 PPPoE 的有效选项出现的接口。

debug pppoe events只是给:

*Jul  9 23:56:36.089:  padi timer expired
*Jul  9 23:56:36.089:  Sending PADI: Interface = GigabitEthernet3

我不确定如何继续进行此操作以使其正常工作。

2个回答

你需要在这里做一些事情。您需要配置一个 VPDN 组、拨号接口,将该拨号接口分配给一个拨号组,然后在您的接口上实现该拨号组。请按照此处的指南进行操作:

使用 NAT 配置以太网上的 PPP

配置示例

以下配置示例显示了本章描述的 PPPoE 场景的部分配置文件。

VLAN 接口的 IP 地址为 192.168.1.1,子网掩码为 255.255.255.0。为内部和外部配置了 NAT

注意当您运行 show running-config 命令时,会自动生成标有“(默认)”的命令。

vpdn enable 
vpdn-group 1 
request-dialin 
protocol pppoe 
! 
interface vlan 1 
ip address 192.168.1.1 255.255.255.0 
no ip directed-broadcast (default) 
ip nat inside 

interface FastEthernet 4 
no ip address  
no ip directed-broadcast (default) 
ip nat outside 
pppoe enable group global 
pppoe-client dial-pool-number 1 
no sh 

! 
interface dialer 1 
ip address negotiated 
ip mtu 1492 
encapsulation ppp 
ppp authentication chap 
dialer pool 1 
dialer-group 1 
! 
dialer-list 1 protocol ip permit 
ip nat inside source list 1 interface dialer 0 overload 
ip classless (default) 
ip route 10.10.25.2 255.255.255.255 dialer 0 

ip nat pool pool1 192.168.1.0 192.168.2.0 netmask 255.255.252.0 
ip nat inside source list acl1 pool pool1

!

问题没有解决,设备被替换为 mikrotik。