Debian + GNU Zebra = Routing problems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I will paste all i've done with my debian potato box with
linux-2.2.20-usagi-3.1 and GNU Zebra 0.92a, and still have problems
getting farther my other side peer, and www.6bone.net:
# Setting up tunnel:
ip tunnel add ptla mode sit remote 200.69.223.237 local 196.3.79.204
ttl 64
ip link set ptla up mtu 1420
ip addr add 3ffe:8260:ff:93::2/128 dev ptla
route -A inet6 add 3ffe:8260:ff:93::1 dev ptla
# This works fine, i can ping6 and traceroute my other peer side
# Setting up Zebra bgpd.conf
router bgp 64602
bgp router-id 196.3.79.204
neighbor 3ffe:8260:ff:93::1 remote-as 45328
neighbor 3ffe:8260:ff:93::1 description Conexion pTLA
neighbor 3ffe:8260:ff:93::1 interface ptla
no neighbor 3ffe:8260:ff:93::1 activate
!
address-family ipv6
network 3ffe:8260:1301::/48
neighbor 3ffe:8260:ff:93::1 activate
neighbor 3ffe:8260:ff:93::1 next-hop-self
exit-address-family
# my bgp summary
bgpd> sh ipv6 bgp summary
BGP router identifier 196.3.79.204, local AS number 64602
198 BGP AS-PATH entries
0 BGP community entries
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd3ffe:8260:ff:93::1
4 45328 4115 75 0 0 0 00:29:40
261
Total number of neighbors 1
# Soon i get conection working
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 3ffe:8260:ff:93::2:1270 3ffe:8260:ff:93::1:179
ESTABLISHED
# My bgp neighbor
bgpd> sh ipv6 bgp neighbors
BGP neighbor is 3ffe:8260:ff:93::1, remote AS 45328, local AS 64602,
external link
Description: Conexion pTLA
BGP version 4, remote router ID 200.69.223.237
BGP state = Established, up for 00:31:17
Last read 00:00:17, hold time is 180, keepalive interval is 60
seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv6 Unicast: advertised and received
Received 4118 messages, 0 notifications, 0 in queue
Sent 74 messages, 3 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv6 Unicast
NEXT_HOP is always this router
Community attribute sent to this neighbor (both)
260 accepted prefixes
Connections established 3; dropped 2
Local host: 3ffe:8260:ff:93::2, Local port: 1270
Foreign host: 3ffe:8260:ff:93::1, Foreign port: 179
Nexthop: 196.3.79.204
Nexthop global: 3ffe:8260:ff:93::2
Nexthop local: ::
BGP connection: non shared network
Read thread: on Write thread: off
# And I get a lot of prefixes advertisements on zebra daemon
zebra> sh ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O -
OSPFv3,
B - BGP, * - FIB route.
C>* ::1/128 is directly connected, lo
B>* 2001:ff::/35 [20/0] via fe80::201:2ff:febf:1dc1, ptla, 00:20:04
B>* 2001:200::/35 [20/0] via fe80::201:2ff:febf:1dc1, ptla, 00:20:04
B>* 2001:208::/35 [20/0] via fe80::201:2ff:febf:1dc1, ptla, 00:20:04
B>* 2001:210::/35 [20/0] via fe80::201:2ff:febf:1dc1, ptla, 00:20:04
........ and a lot more..including 3ffe::/16
# I can't get out of my mind that my upstream peer has an address
3ffe:8260::201:2ff:febf:1dc1 <- fe80::201:2ff:febf:1dc1, humm, don't
know.
# on terminal a get this
ip -6 ro ls | more
2001:ff::/35 via fe80::201:2ff:febf:1dc1 dev ptla metric 1024 mtu
1420 rtt 375ms
2001:200::/35 via fe80::201:2ff:febf:1dc1 dev ptla metric 1024 mtu
1420 rtt 375ms.............. and 200 and something more
until..
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 rtt 375ms
fe80::/64 dev ptla proto kernel metric 256 mtu 1420 rtt 375ms
ff00::/8 dev eth0 proto kernel metric 256 mtu 1500 rtt 375ms
ff00::/8 dev ptla proto kernel metric 256 mtu 1420 rtt 375ms
default dev eth0 proto kernel metric 256 mtu 1500 rtt 375ms
unreachable default dev lo metric -1 error -101
# using route
route -A inet6 | more
Kernel IPv6 routing table
Destination Next Hop
Flags Metric Ref Use Iface
::1/128 ::
U 0 0 0 lo
2001:ff::/35 fe80::201:2ff:febf:1dc1
UG 1024 0 0 ptla
2001:200::/35 fe80::201:2ff:febf:1dc1
UG 1024 0 0 ptla
2001:208::/35 fe80::201:2ff:febf:1dc1
UG 1024 0 0 ptla
and more
# on zebra.log i get this
2002/05/13 09:48:45 ZEBRA: rtadv: eth0 join to all-routers multicast
group
2002/05/13 09:48:45 ZEBRA: Invalid hoplimit -1 for router
advertisement ICMP packet
# now i can ping6 and traceroute6 www.6bone.net and my upstream peer
site, but no one else :(
# tcpdump on ping6 www.6bone.net
200.69.223.237 > 196.3.79.204: ip-proto-41 169 (ttl 13, id 43609)
196.3.79.204 > 200.69.223.237: ip-proto-41 60 (DF) (ttl 64, id
20814)
196.3.79.204 > 200.69.223.237: ip-proto-41 104 (DF) (ttl 64, id
20818)
200.69.223.237 > 196.3.79.204: ip-proto-41 840 (ttl 13, id 43620)
# tcpdump on ping6 on calvino.openprojects.net or another site
196.3.79.204 > 200.69.223.237: ip-proto-41 104 (DF) (ttl 64, id
23784)
196.3.79.204 > 200.69.223.237: ip-proto-41 104 (DF) (ttl 64, id
23820)
66.98.80.198 > 196.3.79.204: ip-proto-41 80 (DF) (ttl 59, id 12964)
196.3.79.204 > 66.98.80.198: ip-proto-41 80 (DF) (ttl 64, id 23833)
# Same for traceroute6
[root@linux ipv6]# traceroute6 www.6bone.net
traceroute6 to 6bone.net (3ffe:b00:c18:1::10) from
3ffe:8260:ff:93::2, 30 hops max, 16 byte packets
1 3ffe:8260:ff:93::1 (3ffe:8260:ff:93::1) 324.399 ms 326.819 ms
320.399 ms
2 3ffe:8260:fd:6::2 (3ffe:8260:fd:6::2) 721.016 ms 717.643 ms
719.831 ms
3 rap.ipv6.viagenie.qc.ca (3ffe:b00:c18:1:290:27ff:fe17:fc0f)
1008.89 ms 1022.91 ms 999.159 ms
4 www.6bone.net (3ffe:b00:c18:1::10) 1006.52 ms 1006.15 ms
1007.56 ms
# here for calvino.openprojects.net
[root@linux ipv6]# traceroute6 calvino.openprojects.net
traceroute6 to calvino.openprojects.net (3ffe:1001:210:16::25) from
3ffe:8260:ff:93::2, 30 hops max, 16 byte packets
1 3ffe:8260:ff:93::1 (3ffe:8260:ff:93::1) 326.54 ms 307.315 ms
350.32 ms
2 * * *
# Sorry for such a long email, i just wanted to give you the most
detailed information to get the right answer.
Does anybody knows what's goin' on ?
Thanks
Ítaca - LinuxOrgDo
Grupo de Investigación y
Desarrollo de Tecnología de
Información http://linux.org.do
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32) - GPGOE Plug-in 0.2.2
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjzf3nsACgkQR7yOSV9ARGiCMQCg3qpRg2izIfcuNNUURFMtqdno
pYYAn0BQ8ij/y0W/Jt8rk1N4H0K/2lLy
=q+Ih
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-ipv6-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: