niv
2011-01-01 16:08:20 UTC
hi,
according to http://git.ozlabs.org/?p=ppp.git;a=blob;f=pppd/sys-linux.c
line 1611 ( sifdefaultroute ) :
if ppp finds a default route it wont add its own default route.
Assuming I get a default gateway from my ISP using dhcp, and I want to
add a l2tp connection on top of it, a good way would be to leave the
eth0 default gateway and ADD a default gateway , via the l2tp server
with a higher metric.
1. Must we change the ppp source to allow this?
2. does ppp exposes these variables and allows us to create this
scenario?
Niv
according to http://git.ozlabs.org/?p=ppp.git;a=blob;f=pppd/sys-linux.c
line 1611 ( sifdefaultroute ) :
if ppp finds a default route it wont add its own default route.
Assuming I get a default gateway from my ISP using dhcp, and I want to
add a l2tp connection on top of it, a good way would be to leave the
eth0 default gateway and ADD a default gateway , via the l2tp server
with a higher metric.
1. Must we change the ppp source to allow this?
2. does ppp exposes these variables and allows us to create this
scenario?
Niv