Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Nov 2005 02:39:27 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        SUZUKI Shinsuke <suz@freebsd.org>
Cc:        ume@freebsd.org, current@freebsd.org
Subject:   Re: recent MFC code to 6-STABLE kills ipv6
Message-ID:  <1131359967.1874.6.camel@server.mcneil.com>
In-Reply-To: <x7acgim9hi.wl%suz@alaxala.net>
References:  <1131161768.8571.9.camel@server.mcneil.com> <ygehdaqhnnv.wl%ume@mahoroba.org> <8427EC93-6788-4659-B769-3703FF2AAA9A@mcneil.com> <x7acgim9hi.wl%suz@alaxala.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2005-11-06 at 18:06 +0900, SUZUKI Shinsuke wrote:
> Hello Sean,
> 
> >>>>> On Sat, 5 Nov 2005 14:39:13 -0800
> >>>>> sean@mcneil.com(Sean McNeil)  said:
> 
> > > 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.
> 
> I tried the same configuration (with the different interface card)
> using the latest RELENG-6 in my environment, but I couldn't reproduce
> your problem.
> 
> So could you please show me the result of the following commands?
>       - netstat -rnf inet6

Routing tables

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0 =>
default                           2002:c058:6301::              UGS        stf0
::1                               ::1                           UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
2002::/24                         ::1                           UGRS        lo0 =>
2002::/16                         2002:18c7:2d36::1             U          stf0
2002:18c7:2d36::                  00:03:6d:1a:b1:9b             UHL         lo0 =>
2002:18c7:2d36::/64               link#2                        UC          dc0
2002:18c7:2d36::1                 link#5                        UHL         lo0
2002:18c7:2d36:0:203:6dff:fe1a:b19b 00:03:6d:1a:b1:9b             UHL         lo0
2002:18c7:2d36:1::                00:14:85:85:27:b3             UHL         lo0 =>
2002:18c7:2d36:1::/64             link#3                        UC          sk0
2002:18c7:2d36:1:214:85ff:fe85:27b3 00:14:85:85:27:b3             UHL         lo0
2002:7f00::/24                    ::1                           UGRS        lo0
2002:e000::/20                    ::1                           UGRS        lo0
2002:ff00::/24                    ::1                           UGRS        lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%fwe0/64                    link#1                        UC         fwe0
fe80::11:6ff:fe00:7568%fwe0       02:11:06:00:75:68             UHL         lo0
fe80::%dc0/64                     link#2                        UC          dc0
fe80::203:6dff:fe1a:b19b%dc0      00:03:6d:1a:b1:9b             UHL         lo0
fe80::%sk0/64                     link#3                        UC          sk0
fe80::214:85ff:fe85:27b3%sk0      00:14:85:85:27:b3             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:1::/32                       link#1                        UC         fwe0
ff01:2::/32                       link#2                        UC          dc0
ff01:3::/32                       link#3                        UC          sk0
ff01:4::/32                       ::1                           UC          lo0
ff02::/16                         ::1                           UGRS        lo0
ff02::%fwe0/32                    link#1                        UC         fwe0
ff02::%dc0/32                     link#2                        UC          dc0
ff02::%sk0/32                     link#3                        UC          sk0
ff02::%lo0/32                     ::1                           UC          lo0

>       - ndp -i dc0

linkmtu=1500, maxmtu=1500, curhlim=64, basereachable=30s0ms, reachable=44s, retrans=1s0ms
Flags: nud accept_rtadv

>       - ndp -na

Neighbor                             Linklayer Address  Netif Expire    S Flags
2002:18c7:2d36::                     0:3:6d:1a:b1:9b      dc0 permanent R
2002:18c7:2d36::1                    (incomplete)        stf0 permanent R
2002:18c7:2d36:0:203:6dff:fe1a:b19b  0:3:6d:1a:b1:9b      dc0 permanent R
2002:18c7:2d36:1::                   0:14:85:85:27:b3     sk0 permanent R
2002:18c7:2d36:1:214:85ff:fe85:27b3  0:14:85:85:27:b3     sk0 permanent R
fe80::11:6ff:fe00:7568%fwe0          2:11:6:0:75:68      fwe0 permanent R
fe80::203:6dff:fe1a:b19b%dc0         0:3:6d:1a:b1:9b      dc0 permanent R
fe80::214:85ff:fe85:27b3%sk0         0:14:85:85:27:b3     sk0 permanent R
fe80::1%lo0                          (incomplete)         lo0 permanent R

>       - kernel log message after sysctl -w net.inet6.icmp6.nd6_debug=1
>         (if exists)

net.inet6.icmp6.nd6_debug: 0 -> 1

Then I tried a ping6.  Nothing from the ping6 or any log messages.

Some additional info:

server# sysctl -a | grep inet
net.inet.ip.portrange.randomtime: 45
net.inet.ip.portrange.randomcps: 10
net.inet.ip.portrange.randomized: 1
net.inet.ip.portrange.reservedlow: 0
net.inet.ip.portrange.reservedhigh: 1023
net.inet.ip.portrange.hilast: 65535
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.last: 65535
net.inet.ip.portrange.first: 49152
net.inet.ip.portrange.lowlast: 700
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.forwarding: 1
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.rtexpire: 3600
net.inet.ip.rtminexpire: 10
net.inet.ip.rtmaxcache: 128
net.inet.ip.sourceroute: 0
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 0
net.inet.ip.accept_sourceroute: 0
net.inet.ip.keepfaith: 0
net.inet.ip.gifttl: 30
net.inet.ip.same_prefix_carp_only: 0
net.inet.ip.subnets_are_local: 0
net.inet.ip.dummynet.debug: 0
net.inet.ip.dummynet.red_max_pkt_size: 1500
net.inet.ip.dummynet.red_avg_pkt_size: 512
net.inet.ip.dummynet.red_lookup_depth: 256
net.inet.ip.dummynet.max_chain_len: 16
net.inet.ip.dummynet.expire: 1
net.inet.ip.dummynet.search_steps: 0
net.inet.ip.dummynet.searches: 0
net.inet.ip.dummynet.extract_heap: 0
net.inet.ip.dummynet.ready_heap: 0
net.inet.ip.dummynet.curr_time: 1636813
net.inet.ip.dummynet.hash_size: 64
net.inet.ip.fastforwarding: 0
net.inet.ip.fw.dyn_keepalive: 1
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.static_count: 21
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.dyn_count: 251
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.verbose: 0
net.inet.ip.fw.debug: 1
net.inet.ip.fw.one_pass: 1
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.enable: 1
net.inet.ip.check_interface: 0
net.inet.ip.random_id: 0
net.inet.ip.sendsourcequench: 0
net.inet.ip.maxfragsperpacket: 16
net.inet.ip.maxfragpackets: 800
net.inet.ip.process_options: 1
net.inet.icmp.maskrepl: 0
net.inet.icmp.icmplim: 200
net.inet.icmp.bmcastecho: 0
net.inet.icmp.reply_src:
net.inet.icmp.icmplim_output: 1
net.inet.icmp.log_redirect: 0
net.inet.icmp.drop_redirect: 0
net.inet.icmp.maskfake: 0
net.inet.tcp.rfc1323: 1
net.inet.tcp.mssdflt: 512
net.inet.tcp.keepidle: 7200000
net.inet.tcp.keepintvl: 75000
net.inet.tcp.sendspace: 32768
net.inet.tcp.recvspace: 65536
net.inet.tcp.keepinit: 75000
net.inet.tcp.delacktime: 100
net.inet.tcp.v6mssdflt: 1024
net.inet.tcp.hostcache.purge: 0
net.inet.tcp.hostcache.expire: 3600
net.inet.tcp.hostcache.count: 4
net.inet.tcp.hostcache.bucketlimit: 30
net.inet.tcp.hostcache.hashsize: 512
net.inet.tcp.hostcache.cachelimit: 15360
net.inet.tcp.reass.overflows: 0
net.inet.tcp.reass.maxqlen: 48
net.inet.tcp.reass.cursegments: 0
net.inet.tcp.reass.maxsegments: 1600
net.inet.tcp.insecure_rst: 0
net.inet.tcp.rfc3390: 1
net.inet.tcp.rfc3042: 1
net.inet.tcp.delayed_ack: 1
net.inet.tcp.blackhole: 0
net.inet.tcp.log_in_vain: 0
net.inet.tcp.newreno: 1
net.inet.tcp.local_slowstart_flightsize: 4
net.inet.tcp.slowstart_flightsize: 1
net.inet.tcp.path_mtu_discovery: 1
net.inet.tcp.sack.globalholes: 0
net.inet.tcp.sack.globalmaxholes: 65536
net.inet.tcp.sack.maxholes: 128
net.inet.tcp.sack.enable: 1
net.inet.tcp.inflight.stab: 20
net.inet.tcp.inflight.max: 1073725440
net.inet.tcp.inflight.min: 6144
net.inet.tcp.inflight.debug: 0
net.inet.tcp.inflight.enable: 1
net.inet.tcp.isn_reseed_interval: 0
net.inet.tcp.icmp_may_rst: 1
net.inet.tcp.pcbcount: 159
net.inet.tcp.do_tcpdrain: 1
net.inet.tcp.tcbhashsize: 512
net.inet.tcp.minmssoverload: 0
net.inet.tcp.minmss: 216
net.inet.tcp.syncache.rexmtlimit: 3
net.inet.tcp.syncache.hashsize: 512
net.inet.tcp.syncache.count: 0
net.inet.tcp.syncache.cachelimit: 15359
net.inet.tcp.syncache.bucketlimit: 30
net.inet.tcp.syncookies: 1
net.inet.tcp.always_keepalive: 1
net.inet.tcp.rexmit_slop: 200
net.inet.tcp.rexmit_min: 3
net.inet.tcp.msl: 30000
net.inet.udp.checksum: 1
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 42080
net.inet.udp.strict_mcast_mship: 0
net.inet.udp.blackhole: 0
net.inet.udp.log_in_vain: 0
net.inet.raw.recvspace: 8192
net.inet.raw.maxdgram: 8192
net.inet.accf.unloadable: 0
net.link.ether.inet.log_arp_movements: 1
net.link.ether.inet.log_arp_wrong_iface: 0
net.link.ether.inet.proxyall: 0
net.link.ether.inet.useloopback: 1
net.link.ether.inet.maxtries: 5
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.max_age: 1200
net.link.ether.inet.prune_intvl: 300
net.inet6.ip6.forwarding: 1
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.maxfragpackets: 6400
net.inet6.ip6.accept_rtadv: 0
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 50
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 30
net.inet6.ip6.kame_version: 20010528/FreeBSD
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.v6only: 0
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.auto_linklocal: 1
net.inet6.ip6.prefer_tempaddr: 0
net.inet6.ip6.use_defaultzone: 0
net.inet6.ip6.maxfrags: 6400
net.inet6.ip6.mcast_pmtu: 0
net.inet6.ip6.fw.deny_unknown_exthdrs: 1
net.inet6.ip6.fw.enable: 1
net.inet6.ip6.fw.debug: 1
net.inet6.ip6.fw.verbose: 0
net.inet6.ip6.fw.verbose_limit: 0
net.inet6.icmp6.rediraccept: 1
net.inet6.icmp6.redirtimeout: 600
net.inet6.icmp6.nd6_prune: 1
net.inet6.icmp6.nd6_delay: 5
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_useloopback: 1
net.inet6.icmp6.nodeinfo: 3
net.inet6.icmp6.errppslimit: 100
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_debug: 1

> > Two things to note:
> > The dc0 interface has option VLAN_MTU.  Don't know why.
> > The dc0 interface is my gateway with ipv4mapping.
> 
> At least these two does not seem to be relating to this problem.
> 
> Thanks,
> ----
> SUZUKI, Shinsuke @ KAME Project
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1131359967.1874.6.camel>