Hi, I was playing with multiple wan interfaces and I noticed something I couldn’t understand. I have two pppoe interfaces, “wan and “test”, ip4table is set to “main” and “iptv” respectively. Here is what I get:
root@OpenWrt:~# ip route show table all | grep pppoe default via 213.205.53.196 dev pppoe-test table iptv proto static metric 2 default via 213.205.53.196 dev pppoe-wan proto static 213.205.53.196 dev pppoe-wan proto kernel scope link src 62.11.90.x 213.205.53.196 dev pppoe-test proto kernel scope link src 62.11.84.x local 62.11.84.x dev pppoe-test table local proto kernel scope host src 62.11.84.x local 62.11.90.x dev pppoe-wan table local proto kernel scope host src 62.11.90.x The default route for test belongs to iptv table as expected, however both routes to the gateway belong to main table. Is that normal? What if default route on iptv table is used? Would it always exit from pppoe-test even if gateway ip is the same for both interfaces? Thank you. Luca P.
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
