#16664: dhcp client does not add default route from other subnet
------------------------+---------------------------------------
Reporter: basinilya | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Attitude Adjustment 12.09
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+---------------------------------------
Comment (by jch@…):
A better solution would be
ip route add default via $r dev $interface onlink
The "onlink" flag does exactly what you need -- it asserts that the
nexthop is directly attached and disables checking of the attached prefix.
I reckon this should be safe to do by default.
--jch
--
Ticket URL: <https://dev.openwrt.org/ticket/16664#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets