>>> 此貼的回復 >> 通常我是這麼做:
在服務器上安裝雙網卡,分別設置教育網和chinanet的IP,但是,只設置chinanet的網關作為缺省網關。 然後將教育網的地址添加路由,通過教育網的網關訪問。
在我的網關上: ip route show dev eth0 (eth0是我的教育網網卡,172.16.1.1是與教育網相連的路由器上的IP,列出的是教育網的地址段)
202.107.104.0/24 via 172.16.1.1 dev eth0 202.38.140.0/23 via 172.16.1.1 dev eth0 202.38.184.0/21 via 172.16.1.1 dev eth0 202.127.216.0/21 via 172.16.1.1 dev eth0 210.47.160.0/20 via 172.16.1.1 dev eth0 202.38.96.0/19 via 172.16.1.1 dev eth0 202.38.64.0/19 via 172.16.1.1 dev eth0 59.66.32.0/19 via 172.16.1.1 dev eth0 59.66.0.0/19 via 172.16.1.1 dev eth0 202.127.224.0/19 via 172.16.1.1 dev eth0 202.4.128.0/19 via 172.16.1.1 dev eth0 210.47.128.0/19 via 172.16.1.1 dev eth0 210.25.128.0/18 via 172.16.1.1 dev eth0 202.112.0.0/18 via 172.16.1.1 dev eth0 202.112.64.0/18 via 172.16.1.1 dev eth0 202.38.192.0/18 via 172.16.1.1 dev eth0 59.66.64.0/18 via 172.16.1.1 dev eth0 219.243.192.0/18 via 172.16.1.1 dev eth0 219.243.128.0/18 via 172.16.1.1 dev eth0 210.47.192.0/18 via 172.16.1.1 dev eth0 202.112.128.0/17 via 172.16.1.1 dev eth0 210.47.0.0/17 via 172.16.1.1 dev eth0 219.243.0.0/17 via 172.16.1.1 dev eth0 210.25.0.0/17 via 172.16.1.1 dev eth0 59.66.128.0/17 via 172.16.1.1 dev eth0 222.22.0.0/16 via 172.16.1.1 dev eth0 218.193.0.0/16 via 172.16.1.1 dev eth0 222.23.0.0/16 via 172.16.1.1 dev eth0 202.113.0.0/16 via 172.16.1.1 dev eth0 218.192.0.0/16 via 172.16.1.1 dev eth0 202.114.0.0/16 via 172.16.1.1 dev eth0 218.195.0.0/16 via 172.16.1.1 dev eth0 162.105.0.0/16 via 172.16.1.1 dev eth0 202.115.0.0/16 via 172.16.1.1 dev eth0 218.194.0.0/16 via 172.16.1.1 dev eth0 166.111.0.0/16 via 172.16.1.1 dev eth0 202.116.0.0/16 via 172.16.1.1 dev eth0 219.221.0.0/16 via 172.16.1.1 dev eth0 202.117.0.0/16 via 172.16.1.1 dev eth0 219.220.0.0/16 via 172.16.1.1 dev eth0 202.118.0.0/16 via 172.16.1.1 dev eth0 222.198.0.0/16 via 172.16.1.1 dev eth0 59.67.0.0/16 via 172.16.1.1 dev eth0 202.119.0.0/16 via 172.16.1.1 dev eth0 222.199.0.0/16 via 172.16.1.1 dev eth0 211.71.0.0/16 via 172.16.1.1 dev eth0 59.76.0.0/16 via 172.16.1.1 dev eth0 211.70.0.0/16 via 172.16.1.1 dev eth0 210.31.0.0/16 via 172.16.1.1 dev eth0 210.46.0.0/16 via 172.16.1.1 dev eth0 211.69.0.0/16 via 172.16.1.1 dev eth0 219.226.0.0/16 via 172.16.1.1 dev eth0 219.242.0.0/16 via 172.16.1.1 dev eth0 210.30.0.0/16 via 172.16.1.1 dev eth0 211.68.0.0/16 via 172.16.1.1 dev eth0 219.227.0.0/16 via 172.16.1.1 dev eth0 211.67.0.0/16 via 172.16.1.1 dev eth0 211.83.0.0/16 via 172.16.1.1 dev eth0 211.66.0.0/16 via 172.16.1.1 dev eth0 211.82.0.0/16 via 172.16.1.1 dev eth0 211.81.0.0/16 via 172.16.1.1 dev eth0 211.80.0.0/16 via 172.16.1.1 dev eth0 202.196.0.0/15 via 172.16.1.1 dev eth0 202.198.0.0/15 via 172.16.1.1 dev eth0 202.192.0.0/15 via 172.16.1.1 dev eth0 222.196.0.0/15 via 172.16.1.1 dev eth0 202.194.0.0/15 via 172.16.1.1 dev eth0 210.44.0.0/15 via 172.16.1.1 dev eth0 219.224.0.0/15 via 172.16.1.1 dev eth0 210.40.0.0/15 via 172.16.1.1 dev eth0 202.200.0.0/15 via 172.16.1.1 dev eth0 222.204.0.0/15 via 172.16.1.1 dev eth0 219.228.0.0/15 via 172.16.1.1 dev eth0 210.42.0.0/15 via 172.16.1.1 dev eth0 211.64.0.0/15 via 172.16.1.1 dev eth0 202.202.0.0/15 via 172.16.1.1 dev eth0 219.230.0.0/15 via 172.16.1.1 dev eth0 219.216.0.0/15 via 172.16.1.1 dev eth0 222.20.0.0/15 via 172.16.1.1 dev eth0 219.218.0.0/15 via 172.16.1.1 dev eth0 222.18.0.0/15 via 172.16.1.1 dev eth0 59.64.0.0/15 via 172.16.1.1 dev eth0 222.16.0.0/15 via 172.16.1.1 dev eth0 219.222.0.0/15 via 172.16.1.1 dev eth0 210.28.0.0/15 via 172.16.1.1 dev eth0 211.86.0.0/15 via 172.16.1.1 dev eth0 202.120.0.0/15 via 172.16.1.1 dev eth0 211.84.0.0/15 via 172.16.1.1 dev eth0 222.26.0.0/15 via 172.16.1.1 dev eth0 59.72.0.0/15 via 172.16.1.1 dev eth0 222.24.0.0/15 via 172.16.1.1 dev eth0 210.26.0.0/15 via 172.16.1.1 dev eth0 59.74.0.0/15 via 172.16.1.1 dev eth0 210.36.0.0/14 via 172.16.1.1 dev eth0 222.192.0.0/14 via 172.16.1.1 dev eth0 210.32.0.0/14 via 172.16.1.1 dev eth0 222.200.0.0/14 via 172.16.1.1 dev eth0 59.68.0.0/14 via 172.16.1.1 dev eth0 222.28.0.0/14 via 172.16.1.1 dev eth0 219.244.0.0/14 via 172.16.1.1 dev eth0 218.196.0.0/14 via 172.16.1.1 dev eth0 202.204.0.0/14 via 172.16.1.1 dev eth0
[ 關閉窗口 ]