今天需要配置一天双线服务器的路由表信息。一下三个地址是参考页面
windows:
linux:
linux:
vim /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 121.10.143.12
netmask 255.255.255.192
gateway 121.10.143.1
broadcast 121.10.143.255
auto eth0:1
iface eth0:1 inet static
address 221.5.43.12
netmask 255.255.255.192
在末尾添加如下路由信息,重启网卡即可。默认走电信路由。
up route add -net 202.14.88.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.14.238.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 218.60.35.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.20.120.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.14.235.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 160.33.66.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.3.77.0 netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.14.236.0 netmask 255.255.254.0 gw 221.5.43.1 eth0
up route add -net 202.136.252.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 203.89.0.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.95.252.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.91.128.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.63.248.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.92.252.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.91.0.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.93.252.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 159.153.120.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.69.4.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.92.0.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 58.83.4.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 203.95.0.0 netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 202.41.152.0 netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 202.22.248.0 netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 122.102.0.0 netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 202.131.48.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 210.5.32.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.131.16.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 61.4.64.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.143.16.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.142.16.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.91.176.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 211.147.176.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.85.208.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 210.5.128.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.75.208.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.46.224.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.136.224.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.136.208.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.123.96.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.131.208.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 123.103.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 210.5.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.98.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.147.192.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 219.234.96.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.149.224.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.155.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.147.64.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 219.232.160.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.168.160.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.102.224.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.95.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 121.100.128.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.10.64.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.148.192.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 61.134.96.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 203.94.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 203.88.32.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 203.86.64.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.130.224.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.144.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.148.96.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.94.0.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 210.87.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.96.0.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 219.159.0.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.159.0.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.139.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.16.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 211.144.192.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 211.144.64.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.138.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.47.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 122.198.192.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.110.192.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.102.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.15.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.14.64.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.2.0.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.161.0.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.111.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 218.62.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 124.249.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.138.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.97.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 210.15.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 218.21.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 211.155.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.137.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.136.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.128.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.107.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 210.14.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.161.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.28.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 124.89.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 125.58.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 211.156.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.134.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.180.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.133.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.110.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 218.67.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.189.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 211.150.0.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.99.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 202.106.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 12.107.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 202.108.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 213.136.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 218.243.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 64.4.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 208.172.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.197.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 63.218.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 220.252.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.153.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.154.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.157.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 203.93.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.158.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 222.248.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.146.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 159.226.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 202.38.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.167.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.168.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 159.148.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.179.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.176.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.182.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.181.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 206.24.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 212.204.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.135.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 207.46.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 219.158.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.158.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.156.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.51.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 208.28.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.21.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.22.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 222.125.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 66.187.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 219.82.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 60.55.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 218.7.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.78.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 218.12.0.0 netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.162.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.68.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.96.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 124.90.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 221.122.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.12.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.108.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.76.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 122.96.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 61.236.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 219.154.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.52.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 221.136.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.82.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 219.156.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 61.148.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 222.248.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.248.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.60.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.28.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 124.64.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 124.66.0.0 netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 123.4.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 122.192.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 61.232.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 211.160.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.104.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 121.68.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.244.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.56.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 124.92.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 222.160.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 220.112.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 220.248.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 210.72.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.8.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.24.0.0 netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 124.88.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 218.200.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 123.8.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 58.16.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 61.48.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 124.160.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 124.128.0.0 netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 58.240.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 60.208.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 222.128.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 121.16.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 125.32.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 221.0.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 211.80.0.0 netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 221.192.0.0 netmask 255.224.0.0 gw 221.5.43.1 eth0
up route add -net 60.0.0.0 netmask 255.224.0.0 gw 221.5.43.1 eth0
阅读(3449) | 评论(3) | 转发(0) |