> /etc/firewall.user:
> (while true; do ip -6 route add default dev pppoe-wan; sleep 60; done) > 
> /dev/null 2>&1 &
> 
> This is the right place (on Debian) for it:
> 
> /etc/ppp/ipv6-up.d/defaultroute:
> ip -6 route add default via "$PPP_REMOTE" dev "$PPP_IFACE"

This is just an ugly hack.

The proper way would be to rely on and deal with router advertisements
sent via the established PPPoE link.

~ Jow

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to