From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 14:30:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 865BF16A4CE for ; Sun, 9 Nov 2003 14:30:32 -0800 (PST) Received: from p1028-ipbffx02marunouchi.tokyo.ocn.ne.jp (p1028-ipbffx02marunouchi.tokyo.ocn.ne.jp [220.111.132.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D01E43FBF for ; Sun, 9 Nov 2003 14:30:31 -0800 (PST) (envelope-from lukek@meibin.net) Received: (qmail 89668 invoked by uid 89); 9 Nov 2003 22:30:30 -0000 Received: from unknown (HELO ?127.0.0.1?) (192.168.10.35) by 192.168.20.5 with SMTP; 9 Nov 2003 22:30:30 -0000 Date: Mon, 10 Nov 2003 07:29:20 +0900 From: Luke Kearney To: Marty Landman In-Reply-To: <6.0.0.22.0.20031109102036.04408558@pop.face2interface.com> References: <20031109235155.8861.LUKEK@meibin.net> <6.0.0.22.0.20031109102036.04408558@pop.face2interface.com> Message-Id: <20031110072322.8868.LUKEK@meibin.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.01 cc: freebsd-questions@freebsd.org Subject: Re: No route to host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 22:30:32 -0000 On Sun, 09 Nov 2003 12:21:09 -0500 Marty Landman granted us these pearls of wisdom: > At 09:53 AM 11/9/2003, Luke Kearney wrote: > > >please make a rough ascii sketch of your network and post the output to > >the following :- > > > >netstat -rn > >ifconfig -a > > > >in your rc.conf > > > >firewall_enable="yes" > > Ok, I edited rc.conf and rebooted; when trying to ping myself by ip or as > localhost got "Permission denied" so I then did "ipfw disable firewall" and > was able to do those two pings. And when trying to then ping some other > nodes again got "No route to host". > > my local area network: > > 192.168.0.1 (win-xp) > 192.168.0.150 (win-95) > 192.168.7.7 (freebsd-4.8/mini) > 192.168.0.3 (win-98) > 192.168.0.160 (win-95) > > these five boxes each have a nic and all connect to a switch. > > #netstat -rn > > Routing tables > > Internet: > Destination Gateway Flags Refs Use > Netif Expire > 127.0.0.1 127.0.0.1 UH 0 > 0 lo0 > 192.168.7 link#1 UC 1 > 0 ep0 > 192.168.7.7 00:20:af:4d:24:b7 > UHLW 0 1 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > ::1 ::1 UH lo0 > fe80::%ep0/64 link#1 UC ep0 > fe80::220:afff:fe4d:24b7%ep0 00:20:af:4d:24:b7 UHL lo0 > fe80::%lo0/64 fe80::1%lo0 Uc lo0 > fe80::1%lo0 link#4 UHL lo0 > ff01::/32 ::1 U lo0 > ff02::%ep0/32 link#1 UC ep0 > ff02::%lo0/32 ::1 UC lo0 > > > #ifconfig -a > ep0: flags=8843 mtu 1500 > inet 192.168.7.7 netmask 0xffffff00 broadcast 192.168.7.255 > inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1 > ether 00:20:af:4d:24:b7 > media: Ethernet 10baseT/UTP > lp0: flags=8810 mtu 1500 > faith0: flags=8002 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%Lo0 prefixlen 64 scopeid 0x4 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > > > Hey Luke, wanna hear something funny? I didn't want to take 20 minutes to > write all this so I spent an hour and a half instead trying to mount a > floppy and then copy the output from these commands onto it so I could then > copy & paste the verbiage onto my email from a windows box. Didn't get it > working though. 8^} > OK I think I see the problem. Your winblows machines are on a different network to the FBSD machine. Change FBSD to 192.168.0.7 and all should be just fine. There is no route to host for the other machines because as far as FBSD is concerned the other machines should be on a different wire. BTW > >in your rc.conf > > > >firewall_enable="yes" the above was a typo on my part. should have been enable="no". Nevertheless I think once you re-ip you will be pinging away quite nicely. HTH LukeK