Date: Tue, 16 Dec 2008 16:49:31 +0300 From: "Denis Mysenko" <dustah@gmail.com> To: freebsd-net@freebsd.org Subject: Re: PPP / Routing table Message-ID: <d8b1b50a0812160549t6a28a7b5uc21107e6c914f2b3@mail.gmail.com> In-Reply-To: <d8b1b50a0812152252i890cfe1ye9b2ccb0c5cf4021@mail.gmail.com> References: <d8b1b50a0812150117u2b260b02t8c1221ff85ee4e05@mail.gmail.com> <200812151112.59847.max@love2party.net> <d8b1b50a0812152252i890cfe1ye9b2ccb0c5cf4021@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d8b1b50a0812160549t6a28a7b5uc21107e6c914f2b3>