我 lan 子网是 10.0.0.1/24 。
10.1.0.1/24 via 10.0.0.254 。
198.18.0.1/16 via 10.1.0.2 。
这第二条路由依赖第一条,openwrt 上怎么设置都不成功。
![]() |
1
wheat0r 13 天前
为什么不在 10.1.0.2 上写路由?
如果 10.1.0.2 不能写路由,那就没有回指路由。 |
![]() |
2
Executor 13 天前
你这下一跳 10.1.0.2 不在你的子网 10.0.0.0/24 内, 不能这样定路由规则
想知道为什么的话请看: https://superuser.com/questions/490005/can-i-use-a-gateway-address-on-another-subnet |