Community discussions

MikroTik App
 
User avatar
Jeeves
just joined
Topic Author
Posts: 22
Joined: Mon Aug 16, 2010 2:55 pm
Contact:

bgp-local-pref not applied on IPv6 routes

Mon Jul 11, 2011 1:04 pm

Hi,

I was looking into the issue that my peering-routes aren't prefered over my transit-routes, and it seems that the set-bgp-local-pref action I defined on my peers_in-routing filter isn't applied.

Peer definition:
14 E name="XXX" instance=default remote-address=XXX remote-as=XXX tcp-md5-key="" nexthop-choice=default multihop=no route-reflect=no hold-time=3m ttl=255
max-prefix-limit=8000 in-filter=nlix_peers_in out-filter=nlix_peers_out address-families=ipv6 default-originate=never remove-private-as=no as-override=no passive=no use-bfd=no

In-filter definition:
45 chain=nlix_peers_in invert-match=no action=jump jump-target=bogons_v4
46 chain=nlix_peers_in invert-match=no action=jump jump-target=bogons_v6
47 chain=nlix_peers_in invert-match=no action=jump jump-target=local_pref_150

Local_pref_150 definition:
53 chain=local_pref_150 invert-match=no action=passthrough set-bgp-local-pref=150

The received route:
355 Db dst-address=2001:4830:1600::/40 gateway=XXX gateway-status=XXX reachable distance=20 scope=40 target-scope=10 bgp-as-path="XXX,30071"
bgp-origin=igp received-from=XXX

There is no bgp-local-pref in any of the IPv6 routes, but there are on the ipv4 ones. Is this a bug or am I doing something wrong?
 
User avatar
Jeeves
just joined
Topic Author
Posts: 22
Joined: Mon Aug 16, 2010 2:55 pm
Contact:

Re: bgp-local-pref not applied on IPv6 routes

Mon Jul 11, 2011 1:24 pm

47 chain=nlix_peers_in address-family=ipv6 invert-match=no action=jump jump-target=local_pref_150

Hmm. It seems that you must add a new rule specific for ipv6 to make it work..

Who is online

Users browsing this forum: No registered users and 18 guests