From owner-freebsd-stable@FreeBSD.ORG Wed Sep 24 08:13:12 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBCEB16A4B3 for ; Wed, 24 Sep 2003 08:13:12 -0700 (PDT) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF85844014 for ; Wed, 24 Sep 2003 08:13:10 -0700 (PDT) (envelope-from mike@sentex.net) Received: from localhost (localhost [127.0.0.1]) by avscan2.sentex.ca (Postfix) with ESMTP id 1C90F59E1F; Wed, 24 Sep 2003 11:13:10 -0400 (EDT) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 71843-03; Wed, 24 Sep 2003 11:13:10 -0400 (EDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by avscan2.sentex.ca (Postfix) with ESMTP id 04A3E59D66; Wed, 24 Sep 2003 11:13:10 -0400 (EDT) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.9p1/8.12.9) with ESMTP id h8OFD8dK056037; Wed, 24 Sep 2003 11:13:08 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.0.0.22.0.20030924111529.05a965d0@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 24 Sep 2003 11:16:07 -0400 To: Pawel Malachowski , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <20030924151245.GA7400@shellma.zin.lublin.pl> References: <3F719A58.5000700@snu.ac.kr> <6.0.0.22.0.20030924103406.0307c250@209.112.4.2> <20030924151245.GA7400@shellma.zin.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by Sentex Communications (avscan2/20030314p2) Subject: Re: [full build as of Sept. 24] "No route to host" after certain time... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 15:13:12 -0000 What if you alias those IP address to lo0 ? Does it correct the problem ? ---Mike At 11:12 AM 24/09/2003, Pawel Malachowski wrote: >On Wed, Sep 24, 2003 at 10:34:50AM -0400, Mike Tancsa wrote: > > > How do you get your default route ? > > > > Can you show > > netstat -nra > > at boot up time > > and then > > netstat -nra > > when the problems start ? > >I have similar problem with my: >FreeBSD 4.9-PRERELEASE #3: Wed Sep 24 12:52:56 CEST 2003 > >While booting I bind IP addresses to fxp0 interface from rc.local, >after that i call `netstat -nr -f inet' to see, if routes are >complete. And they are. >However, when boot finishes (some jails are starting up etc.), >netstat command shows different routes. Typically default route >or one of local non /32 routes is absent! (sometimes default, >sometimes other /28 route, after each reboot it is different). >Before updating (from 11 Aug 4.8-STABLE) there was no such problem. > >My rc.local script is something like: >LAN0=3Dfxp0 >IP=3D192.168.x.y >ifconfig ${LAN0} inet add ${IP}/24 >route add default 192.168.x.1 >ifconfig ${LAN0} inet add ${A}/28 >ifconfig ${LAN0} inet add ${B}/32 >ifconfig ${LAN0} inet add ${C}/32 >ifconfig ${LAN0} inet add ${D}/32 ># A, B, C, D are from the same /28 and everything worked perfectly in the= past > > > >$ ping 61.74.111.134 > > >PING 61.74.111.134 (61.74.111.134): 56 data bytes > > >ping: sendto: No route to host > > > > > >------------------------------ > > > > > >When I reboot, all is okay again. > > >-- >Pawe=B3 Ma=B3achowski >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"