千家论坛_弱电智能化技术与工程讨论(建筑智能,家居智能,人工智能)

路由交换
收藏本版 (7) |订阅

路由交换 今日: 3703 |主题: 18312|排名: 28 

发新帖
打印 上一主题 下一主题

各位看看我的2501配置错在哪里,很奇怪的。...

[复制链接]
流氓猪 发布于: 2003-4-26 15:49 340 次浏览 4 位用户参与讨论
跳转到指定楼层
各位看看我的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
回复

使用道具 举报

已有4人评论

新浪微博达人勋

千家认证

沙发
极乐童子 发表于 2003-4-28 13:35:00
你在E0口可以pingS0吗?如果不行,你的路由设置有问题!把rip里面的network 172.17.0.0 改成172.17.50.0 试试!把你的show ip protocol show interface 贴出来看看!
回复 支持 反对

使用道具 举报

新浪微博达人勋

千家认证

板凳
流氓猪 发表于 2003-4-28 14:54:00
我设成这样就通了,但不能用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:00
为什么你的E0要配一个公网ip?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆 千家通行证登陆

本版积分规则

千家智客微信号
千家智客微信
玩物说商城
玩物说商城