recent MFC code to 6-STABLE kills ipv6

Sean McNeil sean at mcneil.com
Sat Nov 5 14:39:23 PST 2005


On Nov 5, 2005, at 11:58 AM, Hajimu UMEMOTO wrote:

> Hi,
>
>>>>>> On Fri, 04 Nov 2005 19:36:08 -0800
>>>>>> Sean McNeil <sean at mcneil.com> said:
>
> sean> My IMAP server used to work perfectly fine with IPv6  
> connections from
> sean> evolution.  Today, there was some MFCd code that has killed  
> it.  I can
> sean> no longer log into my imap server with IPv6.  Investigating,  
> I find that
> sean> the interface I have tied to stf0 will not respond.
>
> When was your working kernel built?

I had a working kernel that was built perhaps 3-4 days ago.  It is  
the changes MFCd in the last couple of days that broke things.

> sean> ping6 does NOT work for
> sean> fe80::203:6dff:fe1a:b19b%dc0
> sean> 2002:18c7:2d36:0:203:6dff:fe1a:b19b
> sean> 2002:18c7:2d36::
>
> It seems an IPv6 operation for dc0 is disabled entirely.  Don't you
> see an error message from your kernel like following?
>
> 	dc0: possible hardware address duplication detected, disable IPv6

No, nothing like that in any logs.  I can't see how there could  
suddenly be a duplication of hardware addresses.  I agree, though,  
that IPv6 is disabled for dc0.  Some change in the kernel has caused  
this.

Two things to note:

The dc0 interface has option VLAN_MTU.  Don't know why.

The dc0 interface is my gateway with ipv4mapping.  Here are the  
relevant rc.conf settings...

/etc/rc.conf:ipv6_defaultrouter="2002:c058:6301::"
/etc/rc.conf:ipv6_enable="YES"
/etc/rc.conf:ipv6_gateway_enable="YES"
/etc/rc.conf:ipv6_prefix_dc0="2002:18c7:2d36:0000"
/etc/rc.conf:ipv6_prefix_sk0="2002:18c7:2d36:0001"
/etc/rc.conf:ipv6_router_enable="YES"
/etc/rc.conf:stf_interface_ipv4addr="24.199.45.54"
/etc/rc.conf.d/ip6addrctl:ipv6_enable="YES"
/etc/rc.conf.d/ip6fw:ipv6_firewall_enable="YES"
/etc/rc.conf.d/ip6fw:ipv6_firewall_type="/etc/fw/rc.firewall6.rules"
/etc/rc.conf.d/ip6fw:ipv6_firewall_quiet="YES"
/etc/rc.conf.d/network_ipv6:ipv6_ipv4mapping="YES"
/etc/rc.conf.d/route6d:ipv6_router_enable="YES"

looking at ip6fw show indicated nothing is being denied.

Cheers,
Sean



More information about the freebsd-current mailing list