From owner-freebsd-stable Wed Feb 13 16:32:28 2002 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 07F2737B416; Wed, 13 Feb 2002 16:32:10 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id QAA12899; Wed, 13 Feb 2002 16:32:00 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda12893; Wed Feb 13 16:31:42 2002 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.6/8.9.1) id g1E0VX473923; Wed, 13 Feb 2002 16:31:33 -0800 (PST) Received: from UNKNOWN(10.1.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdP73911; Wed Feb 13 16:30:49 2002 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.6/8.9.1) id g1E0UeV97449; Wed, 13 Feb 2002 16:30:40 -0800 (PST) Message-Id: <200202140030.g1E0UeV97449@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdV97442; Wed Feb 13 16:30:05 2002 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Reply-To: Cy Schubert - CITS Open Systems Group From: Cy Schubert - CITS Open Systems Group X-Sender: schubert To: "Michael Meltzer" Cc: "Ruslan Ermilov" , "Attila Nagy" , stable@FreeBSD.ORG Subject: Re: 127/8 in ip_output.c In-Reply-To: Message from "Michael Meltzer" of "Wed, 13 Feb 2002 13:23:13 EST." <03f401c1b4bb$7f97bfa0$34f820c0@ix1x1000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Feb 2002 16:30:05 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <03f401c1b4bb$7f97bfa0$34f820c0@ix1x1000>, "Michael Meltzer" writes: > I try it out tonight, head good things about it already, ThankYou. > > For what is worth, it seems the problem he is really a > routing table issue, it seem that on FreeBSD-stable (without the code) if > you where trying to ping 127.0.0.2 (which is not defined) the message goes > out the default route, which is a bad thing :-) but by adding "route > add -net 127.0.0.0 127.0.0.1 255.0.0.0" which cleaned > this up nicely and BTW is how most interfaces handle unknow local networks > hosts > :-) I am sure that thier is a problem doing this (never seen local host > route the address 127.* space, :-) but ..... With UNIX there are a dozen ways to solve any problem. Here is solution #2. /sbin/route add -net 127.0.0.0 -netmask 255.0.0.0 -iface lo0 -blackhole Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Email: Cy.Schubert@osg.gov.bc.ca Open Systems Group, CITS Ministry of Management Services Province of BC FreeBSD UNIX: cy@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message