Unexpected inet6 in FreeBSD 4.9-STABLE

Matthew Emmerton matt at gabby.gsicomp.on.ca
Mon Mar 22 10:46:38 PST 2004


On Mon, 22 Mar 2004, Chris Pepper wrote:

> At 11:53 AM -0500 2004/03/22, Teodor Iliescu wrote:
> >On Mon, 22 Mar 2004, Chris Pepper wrote:
> >
> >[...]
> >
> >>	This is causing me some aggravation, as localhost connections
> >>  (such as "apachectl fullstatus") are from "[client ::1]" instead of
> >>  the old-fashioned  127.0.0.1. To my surprise,
> >>
> >><http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html>
> >>  doesn't talk about rc.conf at all, and I'm not sure where else this
> >>  would be set up.
> >>
> >
> >Try commenting out (#) ::1 from /etc/hosts, which is loopback for IPv6.
>
> Teodor,
>
> 	Thanks for the suggestion.
>
> 	I commented out ::1 and rebooted. Unfortunately, ifconfig
> still shows inet6 configured on xl0.
>
> 	FWIW, www, which does not show inet6, also has the ::1 entry
> in /etc/hosts, so there's something else different.
>
> >If you want to get more experimental, you can go ahead and completely
> >remove IPv6 support from your kernel, although I don't see this as
> >necessary.
>
> 	Nah, I don't want to break IPv6, just turn it off.

If you want to turn if off, remove it from your kernel.

--
Matt Emmerton



More information about the freebsd-questions mailing list