CentOS7 源进源出

echo 200 ct >> /etc/iproute2/rt_tables
echo 201 cu >> /etc/iproute2/rt_tables

ip route add default via 172.16.100.1 table ct
ip route add default via 172.16.200.1 table cu

ip rule add from 172.16.100.2 table ct
ip rule add from 172.16.200.2 table cu

ip rule add to 11.11.11.0/24 table ct
ip rule add to 22.22.22.0/24 table cu

 

CentOS7 源进源出

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2022-02-04
  • 2022-01-16
  • 2021-11-23
猜你喜欢
  • 2022-01-10
  • 2022-12-23
  • 2021-12-18
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
相关资源
相似解决方案