现在路由器设置 E0口IP为192.168.2.100 E1口IP为192.168.3.185 接在2611 E1口上的电脑可以自动获取到地址为192.168.3.1 网关为192.168.3.185 DNS为202.96.64.68(ipconfig命令显示的) 还添加了一条命令 ip route 0.0.0.0 0.0.0.0 10.10.10.254 preference 60 目前情况是 在超级终端里 能ping通 10.10.10.254 和DNS 在电脑里却ping不通 也上不去网 不知道什么原因 请大师们帮忙看一下 是不是还需要添加什么命令 或者哪里设置错了 谢谢了 !! (10段都是固定IP 也设置过E0口IP为10段的 结果也上不去网) 你需要在第一的路由器写一条到192.168.3.0网段的路由。然后在2611写一条默认路由指定到第一个路由器。 version 1.74 nat address-group 10.10.10.1 10.10.10.20 255.255.255.0 nat address-group 10.10.10.0 10.10.10.20 pool1 firewall enable aaa-enable aaa accounting-scheme optional dhcp server forbidden-ip 192.168.3.254 192.168.3.254 ! dhcp server ip-pool 2 network 192.168.3.0 mask 255.255.255.0 gateway-list 192.168.3.254 dns-list 202.96.64.68 expired unlimited ! acl 2000 match-order auto rule normal permit source 192.168.3.0 0.0.0.255 ! interface Aux0 async mode flow link-protocol ppp ! interface Ethernet0 ip address 10.10.10.20 255.255.255.0 nat outbound 2000 address-group pool1 ! interface Ethernet1 ip address 192.168.3.254 255.255.255.0 ! interface Serial0 link-protocol ppp ! quit ip route-static 0.0.0.0 0.0.0.0 10.10.10.254 preference 60 ! return 本文由路由器设置网www.luyouqiwang.net站长整理编辑,转载请注明出处。 (责任编辑:jida2010) |