我一直试图自己解决这个问题,但恐怕我不能。
我已经尝试了基本上每个教程,但它仍然不起作用。
这里有人可以写一篇关于如何让 PPPoE 与 NAT 和内部 DHCP 一起工作的教程吗?
我得到的所有信息都是 IP、Netmask PPP 封装 (pap) 以及我的用户名和密码。
我有一条从墙壁直接连接到 Cisco 881W 中的 FastEthernet 4 端口 (WAN) 的电缆。我的电脑通过控制台电缆与串行连接。
IP 应该是 185.187.---.254,网络掩码应该是 255.255.255.255
Current configuration : 2440 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname Router
boot-start-marker
boot-end-marker
logging message-counter syslog
no aaa new-model
service-module wlan-ap 0 bootimage autonomous
ip source-route
ip cef
no ipv6 cef
multilink bundle-name authenticated
vpdn enable
vpdn-group 1
request-dialin
protocol pppoe
license boot module c880-data level advipservices
archive
log config
hidekeys
interface FastEthernet0
pppoe enable group global
pppoe-client dial-pool-number 1
interface FastEthernet1
interface FastEthernet2
interface FastEthernet3
interface FastEthernet4
description Physical WAN Interface
bandwidth inherit
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
hold-queue 224 in
interface wlan-ap0
description Service module interface to manage the embedded AP
no ip address
shutdown
arp timeout 0
interface Wlan-GigabitEthernet0
description Internal switch interface connecting to the embedded AP
interface Vlan1
no ip address
ip nat inside
ip virtual-reassembly
interface Dialer0
ip address negotiated
ip verify unicast reverse-path
no ip redirects
no ip unreachables
ip directed-broadcast
no ip proxy-arp
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1400
load-interval 30
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username --- password 0 ---
ppp ipcp dns request accept
ppp ipcp route default
ppp ipcp address accept
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
no ip http secure-server
ip nat pool pool1 192.168.1.0 192.168.2.0 netmask 255.255.252.0
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source list 100 interface Dialer0 overload
ip nat outside source list 1 interface FastEthernet0
access-list 1 permit 0.0.0.0 255.255.255.0
access-list 100 permit ip 192.168.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
control-plane
line con 0
no modem enable
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
line vty 0 4
login
scheduler max-task-time 5000
end
Router#