Qing,
Sorry, but your patch doesn't fix the issue, everytime the
route_UpdateMTU* is called the route is set to the ethernet
interface using the gateway address instead of the correct tun interface.
The patch in PR works exactly in that situation as confirmed by Brett.
Thanks,
Luiz
* This will happen every time you provide ppp over ethernet (pppoe, vpns)
Qing:
I can confirm that Luiz' patch does work. I applied it and was able
to disable my workaround. The only thing I would change is that I
would turn off the "gateway" flag (RTF_GATEWAY) in the routing
table entry. (You suggested this, implicitly, when you mentioned
using the -iface flag.) This is because the "tun" interface is
really a bridge, not a gateway.
--Brett Glass
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"