Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 16:30:05 -0800
From:      Cy Schubert - CITS Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        "Michael Meltzer" <mjm@michaelmeltzer.com>
Cc:        "Ruslan Ermilov" <ru@FreeBSD.ORG>, "Attila Nagy" <bra@fsn.hu>, stable@FreeBSD.ORG
Subject:   Re: 127/8 in ip_output.c 
Message-ID:  <200202140030.g1E0UeV97449@cwsys.cwsent.com>
In-Reply-To: Message from "Michael Meltzer" <mjm@michaelmeltzer.com>  of "Wed, 13 Feb 2002 13:23:13 EST." <03f401c1b4bb$7f97bfa0$34f820c0@ix1x1000> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202140030.g1E0UeV97449>