I am establishing an l2tp connection with IPSEC between two hosts and when the link comes up a route is added on the client side for 192/8 pointing out the newly established ppp interface. I can find no reference to 192/8 anywhere in /etc or in my home directory. Is this something built into the binary for some reason?

link|improve this question

80% accept rate
feedback

1 Answer

up vote 1 down vote accepted

Opps, just found it. It was:

/sbin/route add -net `echo "${PPP_LOCAL}" | cut -d'.' -f1`.0.0.0 netmask 255.0.0.0 dev ${PPP_IFACE}

in /etc/ppp/if-up

Strange that by default it wants to route the entire /8 of your pppd address, but that's easy enough to edit.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.