Subject: Help ipv6 6bone cisco netbsd tunnel
To: None <netbsd-users@netbsd.org>
From: Lista de NetBSD Users <list10@sepc.edu.mx>
List: netbsd-users
Date: 12/03/2001 12:44:17
Hello

I am trying to connect my NetBSD with my 6bone uplink provider
(Cisco) and I dont know where is the problem. I am running
1.5.2/i386 with zebra/bgpd.

I can ping6 the tunnel... It means the tunnel is working.
rosario> ping6 -n ff02::1%gif2
PING6(56=40+8+8 bytes) fe80::250:daff:fe69:47fd%gif2 --> ff02::1%gif2
16 bytes from fe80::250:daff:fe69:47fd%lo0, icmp_seq=0 hlim=64 time=0.22 ms
16 bytes from fe80::aabb:ccdd%gif2, icmp_seq=0 hlim=64 time=841.022 ms(DUP!)
16 bytes from fe80::250:daff:fe69:47fd%lo0, icmp_seq=1 hlim=64 time=0.184 ms
16 bytes from fe80::250:daff:fe69:47fd%lo0, icmp_seq=2 hlim=64 time=0.183 ms
16 bytes from fe80::aabb:ccdd%gif2, icmp_seq=1 hlim=64 time=1011.98 ms(DUP!)
16 bytes from fe80::aabb:ccdd%gif2, icmp_seq=2 hlim=64 time=507.064 ms(DUP!)
16 bytes from fe80::250:daff:fe69:47fd%lo0, icmp_seq=3 hlim=64 time=0.178 ms
16 bytes from fe80::aabb:ccdd%gif2, icmp_seq=3 hlim=64 time=298.038 ms(DUP!)
16 bytes from fe80::250:daff:fe69:47fd%lo0, icmp_seq=4 hlim=64 time=0.18 ms
^C
--- ff02::1%gif2 ping6 statistics ---
5 packets transmitted, 5 packets received, +4 duplicates, 0% packet loss
round-trip min/avg/max/std-dev = 0.178/295.449/1011.976/378.849 ms
---------------------------------------------
Running zebra/bgpd, I cant establish a BGP session... it toggles between
idle, connect and active.

It seems the answer is in these two lines of tcpdump... But I
dont know the meaninig...

09:55:24.321466 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd
09:55:25.050408 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]

I have other gif tunnel which is working fine... the neigbor
is like my box (1.5.2/i386, zebra/bgpd) and differenc is
"class 0x70" and both computers ask questions.

10:11:20.297651 fe80::250:daff:fe69:47fd > fe80::202:b3ff:fe5b:6f71:
        icmp6: neighbor sol: who has fe80::202:b3ff:fe5b:6f71
10:11:20.646777 fe80::202:b3ff:fe5b:6f71 > fe80::250:daff:fe69:47fd:
        icmp6: neighbor sol: who has fe80::250:daff:fe69:47fd
10:11:20.646836 fe80::250:daff:fe69:47fd > fe80::202:b3ff:fe5b:6f71:
        icmp6: neighbor adv: tgt is fe80::250:daff:fe69:47fd
10:11:21.091712 fe80::202:b3ff:fe5b:6f71 > fe80::250:daff:fe69:47fd:
        icmp6: neighbor adv: tgt is fe80::202:b3ff:fe5b:6f71

What is the meaning of "class 0x70" of the answer of Cisco?
Is my gif tunnel working right?

Thanks in advance

Heron Gallegos


This is 10 minutes listing of tcpdump of the tunnel
and following, the Cisco config of my provider:
rosario# tcpdump -i gif2
tcpdump: WARNING: gif2: no IPv4 address assigned
tcpdump: listening on gif2
09:48:07.458476 fe80::250:daff:fe69:47fd.49165 > fe80::aabb:ccdd.bgp:
	S 2394452494:2394452494(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 1651 0>:
	BGP [flowlabel 0xb5dc6] [hlim 1]

09:48:12.386352 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd
09:48:13.386018 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd

09:48:13.396018 fe80::250:daff:fe69:47fd.49165 > fe80::aabb:ccdd.bgp:
	S 2394452494:2394452494(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 1662 0>:
	BGP [flowlabel 0xb5dc6] [hlim 1]

09:48:13.491417 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]
09:48:14.437382 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]

09:48:25.391392 fe80::250:daff:fe69:47fd.49165 > fe80::aabb:ccdd.bgp:
	S 2394452494:2394452494(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 1686 0>:
	BGP [flowlabel 0xb5dc6] [hlim 1]

09:48:49.381592 fe80::250:daff:fe69:47fd.49165 > fe80::aabb:ccdd.bgp:
	S 2394452494:2394452494(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 1734 0>:
	BGP [flowlabel 0xb5dc6] [hlim 1]

09:51:22.388342 fe80::250:daff:fe69:47fd.49167 > fe80::aabb:ccdd.bgp:
	S 514330688:514330688(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2041 0>:
	BGP [flowlabel 0xb5dc8] [hlim 1]

09:51:27.326862 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd
09:51:28.092701 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]

09:51:28.336696 fe80::250:daff:fe69:47fd.49167 > fe80::aabb:ccdd.bgp:
	S 514330688:514330688(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2052 0>:
	BGP [flowlabel 0xb5dc8] [hlim 1]

09:51:40.334166 fe80::250:daff:fe69:47fd.49167 > fe80::aabb:ccdd.bgp:
	S 514330688:514330688(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2076 0>:
	BGP [flowlabel 0xb5dc8] [hlim 1]

09:52:04.329201 fe80::250:daff:fe69:47fd.49167 > fe80::aabb:ccdd.bgp:
	S 514330688:514330688(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2124 0>:
	BGP [flowlabel 0xb5dc8] [hlim 1]

09:52:09.318163 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd
09:52:09.964843 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]

09:54:37.336540 fe80::250:daff:fe69:47fd.49169 > fe80::aabb:ccdd.bgp:
	S 3105206464:3105206464(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2431 0>:
	BGP [flowlabel 0xb5dca] [hlim 1]

09:54:42.316838 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd
09:54:42.972300 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]

09:54:43.327002 fe80::250:daff:fe69:47fd.49169 > fe80::aabb:ccdd.bgp:
	S 3105206464:3105206464(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2442 0>:
	BGP [flowlabel 0xb5dca] [hlim 1]

09:54:55.328518 fe80::250:daff:fe69:47fd.49169 > fe80::aabb:ccdd.bgp:
	S 3105206464:3105206464(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2466 0>:
	BGP [flowlabel 0xb5dca] [hlim 1]

09:55:19.331051 fe80::250:daff:fe69:47fd.49169 > fe80::aabb:ccdd.bgp:
	S 3105206464:3105206464(0) win 16384
	<mss 1440,nop,wscale 0,nop,nop,timestamp 2514 0>:
	BGP [flowlabel 0xb5dca] [hlim 1]

09:55:24.321466 fe80::250:daff:fe69:47fd > fe80::aabb:ccdd:
	icmp6: neighbor sol: who has fe80::aabb:ccdd
09:55:25.050408 fe80::aabb:ccdd > fe80::250:daff:fe69:47fd:
	icmp6: neighbor adv: tgt is fe80::aabb:ccdd [class 0x70]
---------------------------------------------------------
This is the configuration of my provider (Cisco)

interface Tunnel1600
  no ip address
  ipv6 enable
  ipv6 address 3FFE:FFFF:FFFF:6::1/64
  tunnel source Ethernet0
  tunnel destination www.xxx.yyy.zzz
  tunnel mode ipv6ip

neighbor FE80::250:DAFF:FE69:47FD remote-as 64985
  neighbor FE80::250:DAFF:FE69:47FD update-source Tunnel1600
  no neighbor FE80::250:DAFF:FE69:47FD activate

  address-family ipv6

  neighbor FE80::250:DAFF:FE69:47FD activate