From owner-freebsd-hackers Tue Jan 10 15:33:55 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA09943 for hackers-outgoing; Tue, 10 Jan 1995 15:33:55 -0800 Received: from irbs.com ([199.182.75.129]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id PAA09937 for ; Tue, 10 Jan 1995 15:33:52 -0800 Received: (from jc@localhost) by irbs.com (8.6.9/8.6.6) id SAA28259 for freebsd-hackers@freefall.cdrom.com; Tue, 10 Jan 1995 18:33:46 -0500 From: John Capo Message-Id: <199501102333.SAA28259@irbs.com> Subject: Re: The routes from hell To: freebsd-hackers@freefall.cdrom.com (freebsd-hackers) Date: Tue, 10 Jan 1995 18:33:45 -0500 (EST) Reply-To: jc@irbs.com In-Reply-To: <9501102206.AA12951@blaise.ibp.fr> from "Ollivier ROBERT" at Jan 10, 95 11:06:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1166 Sender: hackers-owner@FreeBSD.org Precedence: bulk Ollivier ROBERT writes: > > > It will go away precisely four hours after the last close. You can > > adjust this timeout using the command: > > Route cloning is fine except in one case : you have an IP provider > with non-fixed addresses and a PPP link... The pppd will put a default > route, the route code will learn the routes. You disconnect. > You connect again at a latter time and you don't have the same address. > > The route are out and I have either to put a low timeout or nuke the routes > manually... > Or you have two ppp links. ppp0 to the world and ppp1 to a small net. Both links drop out and the one to the world comes back last. The world is now on ppp1 the routes say to use ppp0. The minimum timeout appears to be 10 minutes. #define RTQ_TIMEOUT 60 /* run once a minute */ int rtq_timeout = RTQ_TIMEOUT; ..... arg.found = arg.killed = 0; arg.rnh = rnh; arg.nextstop = time.tv_sec + 10*rtq_timeout; ^^^^^^ arg.draining = 0; > -- > Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net > FreeBSD keltia 2.1.0-Development #2: Sat Jan 7 00:55:25 MET 1995 > -- John Capo jc@irbs.com