I needed to put an alias on lo0 for 127.0.0.2 and I made the 
mistake of assuming this would work like any other interface
but that isn't the case.

ifconfig inet lo0 127.0.0.2 netmask 255.255.255.255 alias

results in an ip that I can ping but when I startup dnscache
and ask it to listen on that ip it won't respond to queries.
( Yes queries from the same host )

If I switch the netmask to 255.0.0.0 ( which goes completely
against the man page for ifconfig ) and everything works great.

Also /etc/defaults/rc.conf shows...

#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.

If I follow that sample ( note the netmask ) things won't work
right.

Am I missing something or is lo0 treated differently for 
some reason?

FreeBSD 4.5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to