What's new on the 127.0.0/24 block in 7?

Chris H. chris# at 1command.com
Tue Mar 4 10:48:40 UTC 2008


Quoting Tom Evans <tevans.uk at googlemail.com>:

> On Tue, 2008-03-04 at 00:03 -0800, Chris H. wrote:
>> Hello Mark. Thank you for your thoughtful reply.
>> FWIW I'm hosting my own zone, out of my domain's address using a
>> different host name. I'm simply forwarding the requests to a different
>> port, so as to prevent port collision with the BIND. The zones are
>> answered our of 127.0.0.2 || 3.
>> I have absolutely no idea why FBSD v7 (on 2 machines) will only
>> dole out 127.0.0.1, while all my other servers running RELENG_6 all
>> dole out a /minimum/ of 127.0.0.1/8 by default.
>
> This makes absolutely no sense. My FreeBSD 7 laptop has lo0 configured
> as 127.0.0.1/8 - THAT IS TO SAY, it has an IP address of 127.0.0.1 and a
> netmask of 255.0.0.0 . All other 7 boxes I test have the same, as do all
> the 6.1, 6.2 and 6.3 boxes. Pray, what netmask does your lo0 have, given
> that you insist it has 127.0.0.1/32 ? This would show up in ``ifconfig
> lo0'' as
>        inet 127.0.0.1 netmask 0xffffffff
>
> I very much doubt it is.

Hello, and thanks for the reply.
In short; yes, the 7-RC3 returned just that.
In long; Both servers have the same (and only) entry:
/etc/defaults/rc.conf: ifconfig_lo0="inet 127.0.0.1"
no more, no less.
The RELENG_6 server reports:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000        inet6 ::1 prefixlen 
128        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
The 7-RC3 did not (I'd provide the output, but I've since added
and activated an entry in /etc/rc.conf that provides a /24 on
lo0). Since I'm only /really/ interested in SWIP'ing 3 IP's out of
the the block 254 will be more than enough.

I don't know what to say. It's (as you've no doubt already
discovered) driving me nuts!

Anyhow, thanks again for taking the time to respond. I appreciate
it.

--Chris H

>
>
> Tom
>



-- 
panic: kernel trap (ignored)





More information about the freebsd-stable mailing list