Date: Mon, 11 Aug 1997 23:04:23 -0600 (MDT) From: Wes Peters <softweyr@xmission.com> To: Royce Tidwell <roycet@airmail.net> Cc: questions@freebsd.org Subject: ppp-routing tables Message-ID: <199708120504.XAA16507@obie.softweyr.ml.org> In-Reply-To: <Pine.BSF.3.96.970805204147.187A-100000@roycet.iadfw.net> References: <Pine.BSF.3.96.970805204147.187A-100000@roycet.iadfw.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Royce Tidwell writes: > Hey guys hopefully just a quick question here... > > After a clean boot, everything works just fine, I dial in and my default > routes are added normally. When I disconnect (or get disconnected), and > then try to dial in again, the original default route is not deleted, and > another entry for tun0 is added. > > Now, I can manually manipulate the routing table and get it to work, but > it's getting tiresome. > > My ppp.linkup: > > MYADDR: > delete ALL > add 0 0 HISADDR > > (both MYADDR and HISADDR are dynamically allocated) Make that: MYADDR: delete 0 0 add 0 0 HISADDR You don't want to delete ALL routes, just the default one. It sounds like the 'delete ALL' statement is getting ignored, thus the routes never get deleted. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708120504.XAA16507>