所以我一直在尝试让我的思科路由器连接到互联网。
我认为我已经使 PPPoE 正常工作,因为我启用了调试并看到它已正确验证,并且它还为我的拨号器接口提供了一个 IP 地址。
但是,我无法 ping 通互联网(8.8.8.8)或拨号器界面...
这是我的配置:
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname RouterName
!
boot-start-marker
boot-end-marker
!
no logging console
enable secret 5 password
!
no aaa new-model
ip cef
!
!
!
!
ip ssh version 2
!
multilink bundle-name authenticated
!
!
!
!
username name privilege 5 password 7 password
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
pppoe enable group gloabl
pppoe-client dial-pool-number 1
!
interface FastEthernet0/1
ip address 192.168.0.254 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface Dialer1
ip address negotiated
ip access-group 101 in
no ip unreachables
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap hostname [email protected]
ppp chap password 7 password
ppp pap sent-username [email protected] password 7 password
!
ip route 0.0.0.0 0.0.0.0 Dialer1
!
!
no ip http server
no ip http secure-server
ip nat inside source list 101 interface Dialer1 overload
!
access-list 101 permit ip 192.168.0.0 0.0.0.255 any
下面是我的拨号器界面获取它的 IP 地址:
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM up up
FastEthernet0/1 192.168.0.254 YES NVRAM up up
NVI0 unassigned NO unset up up
Virtual-Access1 unassigned YES unset up up
Dialer1 XXX.XXX.XX.XX YES IPCP up up
最后,这是我的路线:
XX.0.0.0/32 is subnetted, 2 subnets
C XXX.XXX.XX.XX is directly connected, Dialer1
C XXX.XXX.YY.1 is directly connected, Dialer1
192.168.0.0/24 is subnetted, 1 subnets
C 192.168.0.0 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 is directly connected, Dialer1
我已经没什么主意了...有人有什么想法吗?
答案1
据我所知,BT Infinity 使用 VDSL 拨号连接,然后使用 PPPoE。
BT HomeHub v5 内置 VDSL 调制解调器,可直接插入墙上插座。旧版本需要白色 BT OpenReach 调制解调器,该调制解调器可拨号连接 VDSL,并允许您使用第三方路由器进行 PPPoE 部分。
由于您有 OpenReach 调制解调器,我会检查您的防火墙/NAT 设置,以确保已创建相关规则来允许 LAN 和 WAN 之间的流量。