Subject: Re: wm* hardware assist breaking gif tunnels
To: None <tech-net@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-net
Date: 09/06/2007 17:43:00
> > When I use the ip4csum option on the interface over which the gif 
> > tunnel communicates, IPv6 over the tunnel stops working.
> 
> Is this just IPv6 via tunnel or any IPv6 traffic ?

Just via the tunnel.

> Can we have a look at ifconfig -a?

Sure. This is with all of the hw assist off (see my other followup):


wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
         enabled=0
         address: 00:1b:21:06:b9:5f
         media: Ethernet autoselect (1000baseT full-duplex)
         status: active
         inet 192.80.49.1 netmask 0xffffff00 broadcast 192.80.49.255
         inet6 fe80::21b:21ff:fe06:b95f%wm0 prefixlen 64 scopeid 0x1
         inet6 2610:1f8:d8:1::1 prefixlen 64
wm1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
         enabled=0
         address: 00:1b:21:06:f8:ce
         media: Ethernet autoselect (1000baseT full-duplex)
         status: active
         inet 38.119.55.170 netmask 0xffffffc0 broadcast 38.119.55.191
         inet6 fe80::21b:21ff:fe06:f8ce%wm1 prefixlen 64 scopeid 0x2
         inet6 2610:1f8:d8:2::1 prefixlen 64
wm2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
         enabled=0
         address: 00:1b:21:06:b8:ac
         media: Ethernet autoselect (1000baseT full-duplex)
         status: active
         inet 192.168.70.1 netmask 0xffffff00 broadcast 192.168.70.255
         inet6 fe80::21b:21ff:fe06:b8ac%wm2 prefixlen 64 scopeid 0x3
         inet6 2610:1f8:d8:3::1 prefixlen 64
nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
         capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
         enabled=0
         address: 00:19:21:ef:f4:5f
         media: Ethernet autoselect (none)
         status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33648
         inet 127.0.0.1 netmask 0xff000000
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
         tunnel inet 192.80.49.1 --> 209.212.68.38
         inet6 2610:1f8::1:10:d86 -> 2610:1f8::1:10:d85 prefixlen 128
         inet6 fe80::21b:21ff:fe06:b95f%gif0 ->  prefixlen 64 scopeid 0x6
gif1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
         tunnel inet 192.80.49.1 --> 72.37.180.250
         inet6 2610:1f8:d8::10 -> 2610:1f8:d8::11 prefixlen 128
         inet6 fe80::21b:21ff:fe06:b95f%gif1 ->  prefixlen 64 scopeid 0x7
gif2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
         tunnel inet 192.80.49.1 --> 76.168.62.28
         inet6 2610:1f8:d8::12 -> 2610:1f8:d8::13 prefixlen 128
         inet6 fe80::21b:21ff:fe06:b95f%gif2 ->  prefixlen 64 scopeid 0x8


Any suggestions?

John Klos