Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 17:12:57 -0700 (PDT)
From:      Lamont Granquist <lamont@scriptkiddie.org>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   RE: loopback not working for anything other than 127.0.0.1
Message-ID:  <20010923170355.N36356-100000@coredump.scriptkiddie.org>
In-Reply-To: <006301c1448a$78fa4dd0$0a01a8c0@den2>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 24 Sep 2001, Juha Saarinen wrote:
> I thought about some of the things mentioned in that thread, and having
> the ability to use some of the 127/8 addresses could actually be useful.
> Is it possible to create aliases for the loopback interface?

yes,

ifconfig lo0 inet 127.0.0.2 netmask 0xffffffff alias

works just fine.

i do agree, though, that the lack of a route for 127/8 does seem to break
the RFC.  it states that 127/8 isn't supposed to leave the host, but:

# tcpdump host 127.1.1.1
tcpdump: listening on fxp0
17:11:49.048088 192.168.69.11 > 127.1.1.1: icmp: echo request
17:11:50.053303 192.168.69.11 > 127.1.1.1: icmp: echo request
17:11:51.063315 192.168.69.11 > 127.1.1.1: icmp: echo request

clearly they do.


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?20010923170355.N36356-100000>