千家论坛_智能建筑与智能家居技术交流社区

标题: 各位看看我的2501配置错在哪里,很奇怪的。 [打印本页]

作者: 流氓猪    时间: 2003-4-26 15:49
标题: 各位看看我的2501配置错在哪里,很奇怪的。
各位看看我的2501配置错在哪里,很奇怪的。 ping以太网口通,ping s0就不通而且不认ip nat inside和ip nat outside命令大虾帮看看哪有问题,多谢: Using 802 out of 32762 bytes ! version 11.2 service config no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname zj ! enable secret 5 $1$oF6/$.Gpc7DDdHTGSRowzYIhlP0 enable password 2501 ! ip subnet-zero no ip domain-lookup ! interface Ethernet0 description connected to ethernetlan ip address 172.17.50.5 255.255.255.0 no cdp enable ! interface Serial0 description connected to internet ip address 219.159.69.6 255.255.255.248 bandwidth 1024 ! interface Serial1 no ip address shutdown no cdp enable ! router rip version 2 passive-interface Serial0 network 172.17.0.0 network 219.159.69.0 no auto-summary ! ip classless ip route 0.0.0.0 0.0.0.0 Serial0 snmp-server community public RO ! line con 0 exec-timeout 15 0 line aux 0 line vty 0 4 password 2501 login ! end
作者: 极乐童子    时间: 2003-4-28 13:35
你在E0口可以pingS0吗?如果不行,你的路由设置有问题!把rip里面的network 172.17.0.0 改成172.17.50.0 试试!把你的show ip protocol show interface 贴出来看看!
作者: 流氓猪    时间: 2003-4-28 14:54
我设成这样就通了,但不能用nat ,它不认ip nat inside命令,不知为什么,是11。2的。 ! version 11.2 service config no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname ! enable secret 5 enable password ! ip subnet-zero no ip domain-lookup ! interface Ethernet0 description connected to ethernetlan ip address 219.159.90.3 255.255.255.248 no cdp enable ! interface Serial0 description connected to internet no ip address no ip mroute-cache shutdown ! interface Serial1 ip address 219.159.69.6 255.255.255.252 no cdp enable ! no ip classless ip route 0.0.0.0 0.0.0.0 Serial1 ! line con 0 exec-timeout 15 0 line aux 0 line vty 0 4 password login ! end
作者: 极乐童子    时间: 2003-4-29 11:37
为什么你的E0要配一个公网ip?




欢迎光临 千家论坛_智能建筑与智能家居技术交流社区 (http://bbs.qianjia.com/) Powered by Discuz! X3.2