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

Lowell Gilbert freebsd-stable-local at be-well.ilk.org
Tue Mar 4 12:59:57 UTC 2008


"Chris H." <chris#@1command.com> writes:

> Yes, adding an entry in /etc/rc.conf that provides 254 IP's now
> reveals:
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>        inet6 ::1 prefixlen 128        inet6 fe80::1%lo0 prefixlen 64
> scopeid 0x3        inet 127.0.0.1 netmask 0xffffff00
>
> as opposed to: 0xffffffff.

Let's peel this issue back to the basics.  

This does *not* have 254 IP addresses on that interface.  The
interface still has only one address on that interface.  There are 254
other addresses on the subnet, but only one of them belongs to your
machine.  If you want the machine to answer to 127.0.0.2, you still
need to add it separately.


More information about the freebsd-stable mailing list