PPP / Routing table

Denis Mysenko dustah at gmail.com
Tue Dec 16 05:49:33 PST 2008


I guess I found the source of the problem - it is route_Add() function from
route.c (a part of /usr/sbin/ppp) which modifies routing table of the
machine upon a new connection.

As a quick solution, I created a ppp.linkup file:
/sbin/route del $1
/sbin/route add -host $1 -iface $2

that deletes incorrect route entry and adds a new one with UH (no
RTF_GATEWAY anymore) flags and
proper destination interface.

But it would be much nicer to have this problem fixed in ppp instead... :)

-- 
Sincerely,
-- 
Denis Mysenko, CCNA, MCP, MCSA
Technologies of the Smart City Ltd
Phone: +7 903 913-2651
ICQ: 555955


More information about the freebsd-net mailing list