Subject: ipv6 gif tunnel problem
To: None <current-users@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 04/26/2000 16:03:55
After updating to yesterday's -current from one dated mid-March, any
attempt to send packets through the ipv6 tunnel configured on gif0
results in:

/netbsd: nd6_lookup: failed to add route for a neighbor(3ffe:0b00:0c18::0018), errno=17
/netbsd: nd6_output: can't allocate llinfo for3ffe:0b00:0c18::0018 (ln=0x0, rt=0x0)

The commands to build the tunnel were:

ifconfig gif0 204.29.161.36 206.123.31.101
ifconfig gif0 inet6 3ffe:b00:c18::19 3ffe:b00:c18::18 

The tunnel appears to be working, as it responds to multicast ping6s:

# ping6 -I gif0 -n ff02::1
PING6(56=40+8+8 bytes) fe80::280:c8ff:fe75:5512%gif0 --> ff02::1
16 bytes from fe80::280:c8ff:fe75:5512%lo0, icmp_seq=0 hlim=64 time=0.271 ms
16 bytes from fe80::290:27ff:fe17:fc0f%gif0, icmp_seq=0 hlim=64 time=64.919 ms(DUP!)
[...]


# gifconfig gif0
gif0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80:10::280:c8ff:fe75:5512 --> ::  prefixlen 64 
        inet6 3ffe:b00:c18::19 --> 3ffe:b00:c18::18  prefixlen 64 
        physical address inet 204.29.161.36 --> 206.123.31.101

Any hints as to how I can fix this?

-- 
    - aew