redhat as4,三块网卡,2个连网关出口,一个连接内网,操作,基..本如下:.
route add default .via 出.口网关外贸
ip route add defa.u.lt via 出口网关2 table net<性病>
iptabl.es -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth1 -.j SNAT 网关出口1 美容
可是我现在子网的192.168.1.* 的地址.,都无法pi.ng 通内网网关192.168.1.1,请问如何操作呢,还要保障我的网络没有问题才行。(广告)
route 命令,
[
root@l.ocalhost ~]# route 建材
Kernel IP routing. table健康
Destination Gateway Genmask . .Flags Metr.ic Ref Use Iface--- 印刷
203..*.*.* . * 255.255.255.252 U 0 .0 0 eth1 汽车
203.*.*.x. . * 255.25.5.255.252 U 0 0 0 eth2<性病>
192..168.1.0 * 255..2.55.255.0 U 0 0 0 eth0.
169.254.0.0 * . .. 255.255.0.0 U 0 0 0 eth2 鲜花
d.efault 203.*.*.* 0.0..0.0 UG 0 0 0 eth1.
另外如果增加 route add -net 192.168.1.0/.24 gw 192.16.8.1.1电影
不知道是否会有 问题,因.为暂时网络一直在运行使用,不能轻.易试验.
[ 本帖最后由 heizi21 .于 2.008-7-28 16:59 编辑 ][成人用品]