我 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 上怎么设置都不成功。
你这下一跳 10.1.0.2 不在你的子网 10.0.0.0/24 内, 不能这样定路由规则想知道为什么的话请看: https://superuser.com/questions/490005/can-i-use-a-gateway-address-on-another-subnet