Add route on Linux OS

to solve conflit on net route

Posted by JXLIU on February 19, 2022

问题

docker 网络地址和校园网认证地址处于同一网段,现有路由表将校园网认证地址(172.18.18.60)路由到docker网络

解决办法

增加一条路由规则

1
ip route add 172.18.18.0/24 via 211.67.27.254

nppc-10-100-400-1000-2000-4000-8000-16000-over256 overalloc2-4-8-16-32-64-128-256-512-16609141890233 nppc-10-100-400-1000-2000-4000-8000-16000-over8