免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4021 | 回复: 2
打印 上一主题 下一主题

为什么不能ping通防火墙? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-11-30 08:17 |只看该作者 |倒序浏览
如下网络拓扑,我电话拨路由器,可以登陆并ping通路由器(192.168.0.1)
但不知为什么不能ping通防火墙(192.168.0.254)
我查看路由器的配置如下:
ip route-static 0.0.0.0 0.0.0.0 192.168.0.254 preference 60
ip route-static 10.10.9.0 255.255.255.0 Dialer 0 preference 60
ip route-static 192.168.1.0 255.255.255.0 10.10.10.2 preference 60
ip route-static 192.168.2.0 255.255.255.0 10.10.14.2 preference 60
ip route-static 192.168.3.0 255.255.255.0 10.10.12.2 preference 60
ip route-static 192.168.4.0 255.255.255.0 10.10.11.2 preference 60
ip route-static 192.168.5.0 255.255.255.0 10.10.13.2 preference 60

拓扑图.jpg

22.55 KB, 下载次数: 1490

论坛徽章:
0
2 [报告]
发表于 2004-11-30 18:32 |只看该作者
防火墙如果随便让ping还叫防火墙么?呵呵

论坛徽章:
0
3 [报告]
发表于 2004-12-01 10:27 |只看该作者

Re: 为什么不能ping通防火墙?

最初由 bbzy 发布\r\n[B]如下网络拓扑,我电话拨路由器,可以登陆并ping通路由器(192.168.0.1) \r\n但不知为什么不能ping通防火墙(192.168.0.254) \r\n我查看路由器的配置如下: \r\nip route-static 0.0.0.0 0.0.0.0 192.168.0.254 preference 60 \r\nip route-static 10.10.9.0 255.255.255.0 Dialer 0 preference 60 \r\nip route-static 192.168.1.0 255.255.255.0 10.10.10.2 preference 60 \r\nip route-static 192.168.2.0 255.255.255.0 10.10.14.2 preference 60 \r\nip route-static 192.168.3.0 255.255.255.0 10.10.12.2 preference 60 \r\nip route-static 192.168.4.0 255.255.255.0 10.10.11.2 preference 60 \r\nip route-static 192.168.5.0 255.255.255.0 10.10.13.2 preference 60 [/B]
\r\n\r\n如下配置中,请问路由器配置有问题吗?另外,我想知道,拨号的dialer地址是10.10.9.254 255.255.255.0 ? 它是由\"ip route-static 0.0.0.0 0.0.0.0 192.168.0.254 preference 60\"达到防火墙(192.168.0.254),我是菜鸟,请大家多指点,谢谢! \r\n\r\n\r\n\r\ndialer-rule 1 ip permit \r\nip pool 1 10.10.9.1 10.10.9.6 \r\nfirewall enable \r\naaa-enable \r\naaa authentication-scheme ppp default none \r\naaa accounting-scheme optional \r\n! \r\ndhcp server ip-pool 1 \r\n! \r\ninterface Aux0 \r\nasync mode flow \r\nlink-protocol ppp \r\n! \r\ninterface Ethernet0 \r\narp-proxy enable \r\nip address 192.168.0.1 255.255.255.0 \r\n! \r\ninterface Ethernet1 \r\n! \r\ninterface Serial0 \r\nlink-protocol hdlc \r\nip address 10.10.11.1 255.255.255.0 \r\n! \r\ninterface Serial1 \r\nlink-protocol hdlc \r\nip address 10.10.12.1 255.255.255.0 \r\n! \r\ninterface Serial2 \r\nlink-protocol hdlc \r\nip address 10.10.13.1 255.255.255.0 \r\n! \r\ninterface Serial3 \r\nlink-protocol hdlc \r\nip address 10.10.14.1 255.255.255.0 \r\n! \r\ninterface Serial4 \r\nlink-protocol hdlc \r\nip address 10.10.15.1 255.255.255.0 \r\n! \r\ninterface Serial5 \r\nlink-protocol hdlc \r\nip address 10.10.10.1 255.255.255.0 \r\n! \r\ninterface AnalogModem0 \r\nphysical-mode async \r\nasync mode protocol \r\nlink-protocol ppp \r\ndialer enable-circular \r\ndialer-group 1 \r\ndialer circular-group 0 \r\n! \r\ninterface AnalogModem1 \r\nphysical-mode async \r\nasync mode protocol \r\nlink-protocol ppp \r\ndialer enable-circular \r\ndialer-group 1 \r\ndialer circular-group 0 \r\n! \r\ninterface AnalogModem2 \r\nphysical-mode async \r\nasync mode protocol \r\nlink-protocol ppp \r\ndialer enable-circular \r\ndialer-group 1 \r\ndialer circular-group 0 \r\n! \r\ninterface AnalogModem3 \r\nphysical-mode async \r\nasync mode protocol \r\nlink-protocol ppp \r\ndialer enable-circular \r\ndialer-group 1 \r\ndialer circular-group 0 \r\n! \r\ninterface AnalogModem4 \r\nphysical-mode async \r\nasync mode protocol \r\nlink-protocol ppp \r\ndialer enable-circular \r\ndialer-group 1 \r\ndialer circular-group 0 \r\n! \r\ninterface AnalogModem5 \r\nphysical-mode async \r\nasync mode protocol \r\nlink-protocol ppp \r\ndialer enable-circular \r\ndialer-group 1 \r\ndialer circular-group 0 \r\n! \r\ninterface Dialer0 \r\nlink-protocol ppp \r\nppp authentication-mode pap \r\nip address 10.10.9.254 255.255.255.0 \r\nremote address pool 1 \r\ndialer enable-circular \r\ndialer-group 1 \r\n! \r\nquit \r\nip route-static 0.0.0.0 0.0.0.0 192.168.0.254 preference 60 \r\nip route-static 10.10.9.0 255.255.255.0 Dialer 0 preference 60 \r\nip route-static 192.168.1.0 255.255.255.0 10.10.10.2 preference 60 \r\nip route-static 192.168.2.0 255.255.255.0 10.10.14.2 preference 60 \r\nip route-static 192.168.3.0 255.255.255.0 10.10.12.2 preference 60 \r\nip route-static 192.168.4.0 255.255.255.0 10.10.11.2 preference 60 \r\nip route-static 192.168.5.0 255.255.255.0 10.10.13.2 preference 60 \r\n! \r\nreturn \r\n\r\n[Router]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP