Tag: 路由
-
Centos添加静态路由(永久路由)
直接贴出原文,部分翻译: ProblemAdding a static route to a different subnet that cannot be accessed through your default gateway.tl;drTo add a temporary route: 添加临时路由命令:ip route add 172.16.5.0/24 via 10.0.0.101 dev eth0To make it persist system or network settings restart, create a route-ifname file for an interface through which the subnet is accessed, in this case eth0: 编辑文件:nano…