Hi,
I have configured openbgpd on openbsd 4.0 (upgraded from 3.8) and there
seems to be problem with IPv6. I have tried google and irc, but without
success.
I am receiving IPv6 prefixes just fine (791 from upstream transit, 140
from local IX), but they are not exported to kernel routing tables.
Neighbor AS MsgRcvd MsgSent OutQ Up/Down State/PrefixRcvd
[...]
DE-CIX-IPv6-R2 6695 4609 4356 0 3d00h33m 140
DE-CIX-IPv6-R1 6695 4749 4355 0 2d19h24m 140
DE-CIX-IPv6-UP2 6695 12041 4356 0 3d00h33m 791
DE-CIX-IPv6-UP1 6695 12035 4356 0 3d00h33m 791
# route -n show -inet6
Routing tables
Internet6:
Destination Gateway Flags Refs
Use Mtu Interface
::/104 ::1 UGRS 0
0 - lo0
::/96 ::1 UGRS 0
0 - lo0
::1 ::1 UH 12
0 33192 lo0
::127.0.0.0/104 ::1 UGRS 0
0 - lo0
::224.0.0.0/100 ::1 UGRS 0
0 - lo0
::255.0.0.0/104 ::1 UGRS 0
0 - lo0
::ffff:0.0.0.0/96 ::1 UGRS 0
0 - lo0
2001:678:1::/64 2001:678:1::1 U 0
0 - lo1
2001:678:1::1 link#7 UHL 0
0 - lo0
2001:7f8::/64 link#1 UC 6
0 - bge0
2001:7f8::1a27:0:2 00:30:48:42:02:5f UHLc 0
2535 - bge0
2001:7f8::1a27:0:102 00:30:48:74:67:c4 UHLc 0
36624 - bge0
2001:7f8::1a27:0:103 00:30:48:74:9c:1d UHLc 0
17030 - bge0
2001:7f8::1a27:5051:c09d 00:30:48:42:03:bc UHLc 1
2775 - bge0
2001:7f8::1a27:5051:c19d 00:30:48:41:d2:70 UHLc 1
13163 - bge0
2001:7f8::20ad:0:1 00:12:1e:1b:c8:00 UHLc 0
424 - bge0
2001:7f8::6268:0:1 00:15:60:55:89:1d UHL 0
0 - lo0
2001:7f8:0:5::/64 link#2 UC 3
0 - bge1
2001:7f8:0:5::28 00:30:48:42:02:5e UHLc 0
2897 - bge1
2001:7f8:0:5:0:1a27:0:1 00:0a:b8:6b:dd:78 UHLc 1
2225 - bge1
2001:7f8:0:5:0:1a27:1:1 00:19:06:23:b1:d8 UHLc 1
18503 - bge1
2001:7f8:0:5:0:6268:0:1 00:15:60:55:89:1c UHL 0
0 - lo0
2002::/24 ::1 UGRS 0
0 - lo0
2002:7f00::/24 ::1 UGRS 0
0 - lo0
2002:e000::/20 ::1 UGRS 0
0 - lo0
2002:ff00::/24 ::1 UGRS 0
0 - lo0
fe80::/10 ::1 UGRS 0
0 - lo0
fe80::%bge0/64 link#1 UC 6
0 - bge0
fe80::214:f6ff:fe7e:43f0%bge0 00:14:f6:7e:43:f0 UHLc 0
393 - bge0
fe80::215:60ff:fe55:891d%bge0 00:15:60:55:89:1d UHL 1
0 - lo0
fe80::230:48ff:fe41:d270%bge0 00:30:48:41:d2:70 UHLc 0
1254 - bge0
fe80::230:48ff:fe42:25f%bge0 00:30:48:42:02:5f UHLc 0
757 - bge0
fe80::230:48ff:fe42:3bc%bge0 00:30:48:42:03:bc UHLc 0
1888 - bge0
fe80::230:48ff:fe74:67c4%bge0 00:30:48:74:67:c4 UHLc 0
501 - bge0
fe80::230:48ff:fe74:9c1d%bge0 00:30:48:74:9c:1d UHLc 0
29 - bge0
fe80::%bge1/64 link#2 UC 2
0 - bge1
fe80::20a:b8ff:fe6b:dd78%bge1 00:0a:b8:6b:dd:78 UHLc 0
2878 - bge1
fe80::215:60ff:fe55:891c%bge1 00:15:60:55:89:1c UHL 0
0 - lo0
fe80::230:48ff:fe42:25e%bge1 00:30:48:42:02:5e UHLc 0
860 - bge1
fe80::%lo0/64 fe80::1%lo0 U 0
0 - lo0
fe80::1%lo0 link#6 UHL 0
0 - lo0
fec0::/10 ::1 UGRS 0
0 - lo0
ff01::/32 ::1 UC 0
0 - lo0
ff02::%bge0/32 link#1 UC 0
0 - bge0
ff02::%bge1/32 link#2 UC 0
0 - bge1
ff02::%lo0/32 ::1 UC 0
0 - lo0
ff02::%lo1/32 2001:678:1::1 UC 0
0 - lo1
As you can see this includes only IPv6 on local interfaces and loopback
and link-local addresses.
And IPv4 is just fine:
# route -n show -inet | wc -l
208368
Configuration snippet:
network 2001:0678:1::/48 set { localpref 200, community 6695:6695 }
group "de-cix-upstream-ipv6" {
remote-as 6695
announce self
enforce neighbor-as no
announce IPv4 none
announce IPv6 unicast
neighbor 2001:7F8:0:5:____ {
descr "DE-CIX-IPv6-UP1"
softreconfig in yes
}
neighbor 2001:7F8:0:5:____ {
descr "DE-CIX-IPv6-UP2"
softreconfig in yes
}
}
group "de-cix-ipv6" {
remote-as 6695
announce self
enforce neighbor-as no
announce IPv4 none
announce IPv6 unicast
neighbor 2001:7f8::____ {
descr "DE-CIX-IPv6-R1"
softreconfig in yes
}
neighbor 2001:7f8::____ {
descr "DE-CIX-IPv6-R2"
softreconfig in yes
}
}
Other notes:
- my network is exported just fine.
- I can ping6 on local ipv6 networks on external interfaces just fine.
Any clues, hints, questions?
Ondrej
--
Ondxej Sur} <[EMAIL PROTECTED]> *** http://blog.rfc1925.org/
Kulturnm obhasnmk *** http://www.obcasnik.cz/