连接到Cisco路由器的客户端无法访问Internet

我目前正在接受CCNa学院的培训,所以我从老板那里得到了一份configurationCisco 871路由器的“工作”。 不幸的是,我们刚刚在学院完成了第一个学期,所以有些东西我仍然很难理解。

我设法configuration路由器,使其连接到互联网,或者确切地说,它可以通过另一个ADSL模式的adsl调制解调器访问互联网。

这是设置的图片

http://www.pohrani.com/f/3m/EI/gxiOrOu/network.jpg

问题是用户连接到路由器时无法使用互联网。 我能够通过telnet(IP 192.168.13.10)访问路由器,但就是这样。

这是来自路由器http://pastebin.com/8JaMmqdT的configuration

192.168.13.0 255.255.255.128是我们在工作中使用的networking。 192.168.13.5是分配给zyxel adsl调制解调器的IP地址(如果我是正确的,我们可以在这里使用任何地址,因为我们直接连接到路由器?)

Zyxel adsl调制解调器连接到Cisco路由器上的FA4端口。 局域网电缆连接到FA0端口,并从那里转到交换机(这是一些华硕交换机50端口)。

这里是路由表

Router-Cisco#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 192.168.13.5 to network 0.0.0.0 192.168.13.0/24 is variably subnetted, 2 subnets, 2 masks S 192.168.13.5/32 is directly connected, Dialer1 C 192.168.13.0/25 is directly connected, Vlan1 172.29.0.0/32 is subnetted, 1 subnets C 172.29.252.89 is directly connected, Dialer1 93.0.0.0/32 is subnetted, 1 subnets C 93.139.143.80 is directly connected, Dialer1 10.0.0.0/24 is subnetted, 1 subnets C 10.10.10.0 is directly connected, Loopback0 S* 0.0.0.0/0 [1/0] via 192.168.13.5 

这里是IP接口简介

 Router-Cisco#show ip interface brief Interface IP-Address OK? Method Status Protocol Dialer0 unassigned YES manual administratively down down Dialer1 93.139.143.80 YES IPCP up up FastEthernet0 unassigned YES unset up up FastEthernet1 unassigned YES unset administratively down down FastEthernet2 unassigned YES unset administratively down down FastEthernet3 unassigned YES unset administratively down down FastEthernet4 unassigned YES manual up up Loopback0 10.10.10.100 YES manual up up Virtual-Access1 unassigned YES unset up up Vlan1 192.168.13.10 YES manual up up 

如果我从路由器平谷歌DNS例如平8.8.8.8它的作品。 如果我ping www.google.com它不起作用。
此外,我可以通过192.168.13.10访问路由器,但如果我使用路由器作为默认网关,那么我无法访问互联网。
任何人都可以在这里指出我正确的方向或告诉我我错过了什么?

ps从哪里networking172.29.0.0/32子网划分,1个子网C 172.29.252.89是直接连接,拨号从? 我开始之前清除了路由器configuration,我不记得configuration这个或我们在工作中使用这样的东西。

你做了很多,但还有一些事情要纠正。

  • 将调制解调器的IP地址更改为不在192.168.13.0/25范围内的IP地址。

调制解调器的IP地址只能用于configuration,不能用于路由。

  • 确保已经设置了ip routing (在running-config中不可见)。

  • 删除3个ip路由:

将第一个(默认)replace为Dialer1 (您的WAN接口)的ip route 0.0.0.0 0.0.0.0 Dialer1ip route 0.0.0.0 0.0.0.0 Dialer1

第二个可能不工作,因为Dialer1是PPP接口。 而最后一个,192.168.13.10在Vlan1上。

  • 更改DHCP默认路由器:

使用Vlan1的IP地址, 192.168.13.10

  • 从Fa4中删除ip nat outside

把它放在Dialer1上就够了。

  • 添加NATconfiguration:

ip nat inside source list 10 interface Dialer1 overloadaccess-list 10 permit 192.168.13.0 0.0.0.128

这应该够了。

你也可以看一下这个configuration,或者这个 configuration更全面。

而关于172.29.252.89 ,它可能是ISPnetworking内的服务器地址,用PPP / IPCP推送。