Subject: Re: IPv6 PMTUD broken
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-net
Date: 06/03/2004 07:16:23
On Thu, Jun 03, 2004 at 12:50:56 +0900, Jun-ichiro itojun Hagino wrote:

> > It looks like IPv6 PMTUD is not working correctly. This is on
> > NetBSD 2.0F i386. But it also happens on -stable.
> 
> 	it works fine for me.  don't you have ipf/whatever configured?

No, not on bones. Below is the /etc/rc.conf of bones and a diff of the
kernel config file.

It is a bit tricky. I have the impression that after some time the
packets are sent with the lower mtu. However, it is reproducable by
deleting the host route (of einstein). When the host route is
created again, the problem is there.

	rvdp

---------------------------------------------
#       $NetBSD: rc.conf,v 1.85.2.9 2001/04/24 22:42:44 he Exp $
#
# see rc.conf(5) for more information.
#
# Use program=YES to enable program, NO to disable it. program_flags are
# passed to the program on the command line.
#

# Load the defaults in from /etc/defaults/rc.conf (if it's readable).
# These can be overridden below.
#
if [ -r /etc/defaults/rc.conf ]; then
        . /etc/defaults/rc.conf
fi

# If this is not set to YES, the system will drop into single-user mode.
#
rc_configured=YES

# Add local overrides below
#
wscons=YES

hostname=bones.rvdp.org
critical_filesystems_local="/var /usr"

ip6mode=autohost
rtsol=YES
rtsold=YES      rtsold_flags="-a"
auto_ifconfig=YES
dhclient=YES
sshd=YES
apmd=YES
#ntpdate=YES
#ntpd=YES
lpd=YES

sendmail=YES
smmsp=YES

#mountd=YES
#nfs_server=YES
rpcbind=YES
amd=YES
#racoon=YES
#ipsec=YES

rtclocaltime=YES
---------------------------------------------

kirk.rvdp.org$ diff BONES GENERIC_LAPTOP 
1c1
< #     $NetBSD: GENERIC_LAPTOP,v 1.92 2004/04/30 02:08:17 lukem Exp $
---
> #     $NetBSD: GENERIC_LAPTOP,v 1.94 2004/05/22 03:16:26 grant Exp $
11c11
< #ident                "BONES-$Revision: 1.92 $"
---
> #ident                "GENERIC-$Revision: 1.94 $"
78,83c78,83
< #options      DDB             # in-kernel debugger
< #options      DDB_ONPANIC=0   # see also sysctl(8): `ddb.onpanic'
< #options      DDB_HISTORY_SIZE=512    # enable history editing in DDB
< options       KGDB            # remote debugger
< options       KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
< makeoptions   DEBUG="-g"      # compile full symbol table
---
> options       DDB             # in-kernel debugger
> #options      DDB_ONPANIC=1   # see also sysctl(8): `ddb.onpanic'
> options       DDB_HISTORY_SIZE=512    # enable history editing in DDB
> #options      KGDB            # remote debugger
> #options      KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
> #makeoptions  DEBUG="-g"      # compile full symbol table
140,141c140,141
< options       IPSEC           # IP security
< options       IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
---
> #options      IPSEC           # IP security
> #options      IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
437d436
< scsibus* at umass?
499d497
< atapibus* at umass?
613a612,613
> scsibus* at umass?
> wd*   at umass?
833,838d832
< 
< # USB Bluetooth
< ubt* at uhub? port ?
< bthci* at ubt?
< 
< uscanner* at uhub? port ?
kirk.rvdp.org$