LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 956|回复: 1

debian双网卡做代理求助!!

[复制链接]
发表于 2007-7-6 16:11:04 | 显示全部楼层 |阅读模式
debian系统,双3Com 905C-TX网卡,网卡配置如下:

auto eth0
iface eth0 inet satic
address 192.168.1.4
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1 202.96.128.86

auto eth1
iface eth1 inet satic
address 192.168.1.5
netmask 255.255.255.0
network192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

可是怎么都Ping 不通外网!提示:
connect:Network is unreachable
内网正常
用netsta -nr命令
Destination             Gaeway                       Genmask                   Flags                 MSS Window      irtt   Iface
192.168.1.0            0.0.0.0                      255.255.255.0              U                          0        0            0   eth0
192.168.1.0            0.0.0.0                      255.255.255.0              U                          0        0            0   eth1         
另请问SQUID怎么做限制不让客户机下载和玩游戏(包括QQ游戏
发表于 2007-7-6 21:07:28 | 显示全部楼层
如果两个网卡在相同的网段,那么只能设置一个网卡的缺省网关

你netsta -nr的结果中并没有缺省路由
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表