From owner-freebsd-stable@FreeBSD.ORG Wed Sep 24 09:02:59 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 3D8C816A4C2 for ; Wed, 24 Sep 2003 09:02:59 -0700 (PDT) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DFAB43FE9 for ; Wed, 24 Sep 2003 09:02:46 -0700 (PDT) (envelope-from pawmal-posting@freebsd.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id DC1B05F103; Wed, 24 Sep 2003 18:05:20 +0200 (CEST) Date: Wed, 24 Sep 2003 18:05:20 +0200 From: Pawel Malachowski To: Mike Tancsa Message-ID: <20030924160520.GA7970@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> <6.0.0.22.0.20030924111529.05a965d0@209.112.4.2> <20030924153450.GB7648@shellma.zin.lublin.pl> <6.0.0.22.0.20030924114051.06fb5e58@209.112.4.2> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6.0.0.22.0.20030924114051.06fb5e58@209.112.4.2> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org 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 16:02:59 -0000 On Wed, Sep 24, 2003 at 11:42:14AM -0400, Mike Tancsa wrote: > Hi, can you clarify that > > >My rc.local script is something like: > >LAN0=fxp0 > >IP=192.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 > > > are all out of the original /24 on LAN0 ? No, There are: x.y.z/24 with one IP address, x.y.z.1 is the default route. a.b.c.0/27 and a.b.c.32/28 with aliased addresses. fxp0: flags=8843 mtu 1500 inet x.y.z.33 netmask 0xffffff00 broadcast x.y.z.255 inet a.b.c.34 netmask 0xfffffff0 broadcast a.b.c.47 inet a.b.c.27 netmask 0xffffffe0 broadcast a.b.c.31 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet a.b.c.35 netmask 0xffffffff inet a.b.c.36 netmask 0xffffffff inet a.b.c.37 netmask 0xffffffff inet a.b.c.28 netmask 0xffffffff inet a.b.c.29 netmask 0xffffffff Internet: Destination Gateway Flags Refs Use Netif Expire a.b.c.28 a.b.c.28 UH 0 0 lo0 a.b.c.29 a.b.c.29 UH 0 0 lo0 a.b.c.35 a.b.c.35 UH 0 0 lo0 a.b.c.36 a.b.c.36 UH 0 0 lo0 a.b.c.37 a.b.c.37 UH 0 0 lo0 127.0.0.1 127.0.0.1 UH 0 0 lo0 x.y.z link#1 UC 1 0 fxp0 x.y.z.54 00:01:02:03:04:05 UHLW 1 506 fxp0 1123 Of course I can also see in logs messages like: /kernel: arplookup a.b.c.1 failed: host is not on local network -- Paweł Małachowski