免费注册 查看新帖 |

Chinaunix

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

linux 代理服务器网络设置的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-19 15:43 |只看该作者 |倒序浏览
linux2.6系统:
eth0:
ip:192.168.0.254          内网ip
netmask:255.255.255.0     
这块网卡作为内网网关允许192.168.0.*网段内的机器通过eth1访问外网
eth1:
ip:203.207.224.109        外网ip
netmask:255.255.255.192
gateway:203.207.224.97    外网网关

现已经用vi /etc/sysconfig/network-scripts/ifcfg-eth0和eth1 配置过两块网卡,网卡启动后输入
etc/rc.d/init.d/network start,用ifconfig 可以看见eth0、eth1、lo;两块网卡都有流量
但ping      192.168.0.254    好半天才得到:
64 bytes from 192.168.0.254:icmp_seq=0 ttl=255 time=0.2ms
64 bytes from 192.168.0.254:icmp_seq=0 ttl=255 time=7400.2ms
64 bytes from 192.168.0.254:icmp_seq=0 ttl=255 time=148000.2ms
64 bytes from 192.168.0.254:icmp_seq=0 ttl=255 time=222000.2ms
64 bytes from 192.168.0.254:icmp_seq=0 ttl=255 time=296000.2ms
64 bytes from 192.168.0.254:icmp_seq=0 ttl=255 time=370000.2ms...
  ping      203.207.224.97   好半天才得到:
From 203.207.224.97acket filtered
From 203.207.224.97acket filtered
From 203.207.224.97acket filtered
From 203.207.224.97acket filtered...
请问接下来该如何操作,问题出在哪里? 谢谢.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP