Subject: Re: Neighbour Discovery Bug?
To: Feico Dillema <dillema@acm.org>
From: None <itojun@iijlab.net>
List: current-users
Date: 07/21/1999 12:47:44
>I tried to avoid the ifconfig, and use autoconfig instead... (that's
>where things went bad).

	I see, 

>gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
>        inet6 fe80:9::10:4bff:fea4:548c  prefixlen 64 
>        physical address inet 129.242.17.148 --> 129.242.16.231
>ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        address: 00:10:4b:a4:54:8c
>        media: Ethernet 10baseT
>        inet 129.242.17.148 netmask 0xffffff00 broadcast 129.242.17.255
>        inet6 fe80:1::210:4bff:fea4:548c prefixlen 64
>> 	Could I know how I can repeat your symptom on "ioctl not supported..."?
>if I remember correctly, I did:
>gifconfig gif0 inet 129.242.17.148 129.242.16.231
>rtsol gif0
>the rtsol fails as it says it cannot get the link-local address of the
>other end of the tunnel.

	I tried the same on my NetBSD-current machine and it worked just fine.
	as RS packet is sent toward multicast address (instead of unicast)
	it shouldn't require IPv6 destination address (inner dest).

	BTW Do you have IPv4 reachability to the other end (129.242.16.231)?
	Please check.  If IPv4 destination address (outer dest) is not
	reachable it may bark.

itojun



# ifconfig ne2
ne2: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet manual
        inet 210.160.95.98 netmask 0xfffffff0 broadcast 210.160.95.111
        inet6 fe80:1::2e0:98ff:fe00:309f prefixlen 64
        inet6 3ffe:507:1:1:2e0:98ff:fe00:309f prefixlen 64
        inet6 3ffe:501:410:0:2e0:98ff:fe00:309f prefixlen 64
# gifconfig gif0 210.160.95.98 210.160.95.106
# gifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        inet6 fe80:f::e0:98ff:fe00:309f  prefixlen 64 
        physical address inet 210.160.95.98 --> 210.160.95.106
# ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        inet6 fe80:f::e0:98ff:fe00:309f -> :: prefixlen 64
# rtsol -v gif0
make interface gif0 down.
a bit of delay...
make interface gif0 up.
dad count is 1
checking if gif0 is ready...
got flags6 for if gif0 addr fe80:f::e0:98ff:fe00:309f=0x00000000
gif0: ready
sending RS for 3 times:


12:44:42.232069 210.160.95.98 > 210.160.95.106: fe80::e0:98ff:fe00:309f > ff02::2: icmp6: router solicitation  (encap)
12:44:43.230192 210.160.95.98 > 210.160.95.106: fe80::e0:98ff:fe00:309f > ff02::2: icmp6: router solicitation  (encap)
12:44:44.230185 210.160.95.98 > 210.160.95.106: fe80::e0:98ff:fe00:309f > ff02::2: icmp6: router solicitation  (encap)