following the manual, i didn't found a working quick solution, how to proper advertise ipv6 prefixes via bgp.
https://help.mikrotik.com/docs/display/ ... s-Networks
ipv4 works like described in the manual, but ipv6 never gets advertised as it seems.
ros 7.4.1 box:
Code: Select all
[admin@bgp1] > ip route print
Flags: D - DYNAMIC; A - ACTIVE; c, s, y - COPY
Columns: DST-ADDRESS, GATEWAY, DISTANCE
# DST-ADDRESS GATEWAY DISTANCE
DAc 10.230.0.0/24 ether1 0
0 As 47.11.0.0/19 254
DAc 192.168.1.0/24 ether5 0
[admin@bgp1] > ipv6 route print
Flags: A - ACTIVE; s, y - COPY
Columns: DST-ADDRESS, DISTANCE
# DST-ADDRESS DISTANCE
0 As 4700:1100::/29 254
[admin@bgp1] > ip firewall address-list pri
Columns: LIST, ADDRESS, CREATION-TIME
# LIST ADDRESS CREATION-TIME
0 bgp-networks 47.11.0.0/19 jan/02/1970 00:53:33
[admin@bgp1] > ipv6 firewall address-list pri
Columns: LIST, ADDRESS
# LIST ADDRESS
0 bgp-networks 4700:1100::/29
[admin@bgp1] > routing bgp session print
Flags: E - established
0 E name="rr2-1"
remote.address=192.168.1.2 .as=4711 .id=192.168.1.2 .refused-cap-opt=no .capabilities=mp,rr,as4 .afi=ip,ipv6 .messages=4
.bytes=76 .eor=""
local.address=192.168.1.1 .as=65001 .id=192.168.1.1 .capabilities=mp,rr,gr,as4 .afi=ip,ipv6 .messages=6 .bytes=191 .eor=""
output.procid=21 .network=bgp-networks .keep-sent-attributes=yes
input.procid=21 ebgp
hold-time=3m keepalive-time=1m uptime=3m52s150ms
- ipv4 47.11.0.0/19
- ipv6 4700:/29
unfortunate when you use ros7, there is no way to check what you are really advertising (see bug #[SUP-90372]), so i have taken a ros6 box as a bgp session partner for above setup, which has the ability to show everything.
Code: Select all
[admin@rr2] > routing bgp peer print status
Flags: X - disabled, E - established
0 E name="bgp1" instance=rr remote-address=192.168.1.1 remote-as=65001 tcp-md5-key="" nexthop-choice=default
multihop=no route-reflect=yes hold-time=3m ttl=255 in-filter="" out-filter="" address-families=ip,ipv6
update-source=192.168.1.2 default-originate=never remove-private-as=no as-override=no passive=no use-bfd=no
remote-id=192.168.1.1 local-address=192.168.1.2 uptime=16m8s prefix-count=1 updates-sent=0
updates-received=1 withdrawn-sent=0 withdrawn-received=1 remote-hold-time=3m used-hold-time=3m
used-keepalive-time=1m refresh-capability=yes as4-capability=yes state=established
[admin@rr2] > ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADC 10.230.0.0/24 10.230.0.112 ether1 0
1 ADb 47.11.0.0/19 192.168.1.1 20
2 ADC 192.168.1.0/24 192.168.1.2 ether5 0
[admin@rr2] > ipv6 route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, o - ospf, b - bgp,
U - unreachable
# DST-ADDRESS GATEWAY DISTANCE
has someone found a way how to advertise ipv6 prefixes in a proper working way with ros7?