Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Users

route-maps being ignored

 

 

Quagga users RSS feed   Index | Next | Previous | View Threaded


andre at ondacorp

Apr 5, 2012, 7:59 AM

Post #1 of 3 (473 views)
Permalink
route-maps being ignored

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm facing some issues dealing with route-maps and bgp. I'm trying to
redistribute conected networks to ibgp, I have something like this:

router bgp NNNN
bgp router-id 123.45.67.1
bgp log-neighbor-changes
network xxx.yyy.zzz.www/NN route-map EBGP_DIST
...
redistribute connected metric 1010 route-map INTERFACES_REDISTRIBUTE_BGP
...

and the route-map

route-map INTERFACES_REDISTRIBUTE_BGP permit 10
match interface vlan111
!
route-map INTERFACES_REDISTRIBUTE_BGP permit 15
match interface vlan112
!

And the bad surprise...

# show ip bgp neighbors 123.45.67.2 advertised-routes
...
Network Next Hop Metric LocPrf Weight Path
...
*> 123.45.48.246/32 123.45.67.1 1010 100 32768 ?
*> 123.45.49.248/29 123.45.67.1 1010 100 32768 ?
*> 123.45.55.128/28 123.45.67.1 1010 100 32768 ? VL111
*> 123.45.55.240/28 123.45.67.1 1010 100 32768 ? VL112
...

Okay, I can see the networks of my VLAN111 and VLAN112 over there...
but it seems the route-map is being ignored, since other routes are
being sent with metric 1010 as well (only this redistribution /
route-map changes the metric to 1010).

Another simtom is... if I remove some match interface... let's say,
vlan112, the given network persists on advertised-routes.

Am I missing / messing something?

Thanks in advance,

- --
André Gustavo N. Lopes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPfbNDAAoJED/ohHvKzwrPDUAIAOCrOsT8Fg+ygREgQbGSHpIv
jLaL0a06DT2arj34e6eg1J2kmLd3P8ak2n7zELOfksDRyHfaAXtpuv5OkwAcW+dy
4UF5I7qymGIzhEWe/NGuB2F3K8tXP6o2vnfzi1XzVR8nXw7cmd2xgQPnglKnUttr
yDF9LHD8tFI6UviMaWEjrqCi3jkZAPRku3MYKMcbREOkl+9L35ehZQDpbBWCALWv
QZ4fEGVEHvIOeWTyBmnycwyrvq8cMG6U9UESe8yohhbdVqfrTa/moahT04uoqucU
JmY45WgpaTJb4Aa/hS/Z9bCSvc74ZakTsYDZeLF78zkP0HdWH2aMp7LOEjQ2kWs=
=vbuk
-----END PGP SIGNATURE-----
_______________________________________________
Quagga-users mailing list
Quagga-users [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-users


andre at ondacorp

Apr 13, 2012, 2:29 PM

Post #2 of 3 (437 views)
Permalink
Re: route-maps being ignored [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No one have some clue?
Should I may be post this on Dev List?

- --
André Gustavo N. Lopes

On 05/04/2012 11:59, "André Gustavo N. Lopes" wrote:
> Hi all,
>
> I'm facing some issues dealing with route-maps and bgp. I'm trying
> to redistribute conected networks to ibgp, I have something like
> this:
>
> router bgp NNNN bgp router-id 123.45.67.1 bgp log-neighbor-changes
> network xxx.yyy.zzz.www/NN route-map EBGP_DIST ... redistribute
> connected metric 1010 route-map INTERFACES_REDISTRIBUTE_BGP ...
>
> and the route-map
>
> route-map INTERFACES_REDISTRIBUTE_BGP permit 10 match interface
> vlan111 ! route-map INTERFACES_REDISTRIBUTE_BGP permit 15 match
> interface vlan112 !
>
> And the bad surprise...
>
> # show ip bgp neighbors 123.45.67.2 advertised-routes ... Network
> Next Hop Metric LocPrf Weight Path ... *>
> 123.45.48.246/32 123.45.67.1 1010 100 32768 ? *>
> 123.45.49.248/29 123.45.67.1 1010 100 32768 ? *>
> 123.45.55.128/28 123.45.67.1 1010 100 32768 ? VL111
> *> 123.45.55.240/28 123.45.67.1 1010 100 32768 ?
> VL112 ...
>
> Okay, I can see the networks of my VLAN111 and VLAN112 over
> there... but it seems the route-map is being ignored, since other
> routes are being sent with metric 1010 as well (only this
> redistribution / route-map changes the metric to 1010).
>
> Another simtom is... if I remove some match interface... let's
> say, vlan112, the given network persists on advertised-routes.
>
> Am I missing / messing something?
>
> Thanks in advance,
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPiJqfAAoJED/ohHvKzwrPXI8H/2vbmRJ8TFIPLFFkCD12q3Ou
Me7RdgLwxlT9m7VlZfqGUlwLPN7qTjpIg1JL/AIFcqwWRsmw+oKDFeYAB7aSp6nV
EJ03eMGHeRsh5mAauY+/sMTyGPAQNon+XQVKiPePSt7xfQbCs9ssq0n+6DUNDNVM
J16WNE+h3f6+FMmg5una/M9aX6/RNc5zxiP6GAmG1spouetdbX7V66+TJXf799eJ
e4W/PTh8cBRd5Ds5opzljPkZB80874rZ88Rwp2POBffEke3AbYTeLX0pp1zvX8z7
tvAyqFOa0m5U7xZXZWwQFw1JHLej0t6jWMHtvtLqh/hTja3osjbVZCYJLDKHrmc=
=St/r
-----END PGP SIGNATURE-----
_______________________________________________
Quagga-users mailing list
Quagga-users [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-users


andre at ondacorp

May 7, 2012, 5:15 AM

Post #3 of 3 (395 views)
Permalink
Re: route-maps being ignored [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

Following up on this, it looks like bgpd doesn't accept match
interface syntax. It is "available" when using vtysh, but when I
telnet bgpd daemon, the given syntax is unavalable.

Cya.

- --
André Gustavo N. Lopes

On 13/04/2012 18:29, "André Gustavo N. Lopes" wrote:
> No one have some clue? Should I may be post this on Dev List?
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPp7zbAAoJED/ohHvKzwrPa/oIAKAXYTphinoB9jMV0neYJuIG
c59PHpO7lYjN1pMEvlZzVrVKuNmC/D7QoxSqmKyfmDhjcaT8vFIxZyRJiVufwQZy
tl2+mh7pPp82qdkXrGehi2K4HYdreolV61iHanqKBl/kJYThGfrt3aDtCrlAtetk
Vtf/zNIuypo24Dzq3w7sEE2tAlkHG9aiWQUbtAc9rvfILXZJT0SDYW98xNOow/li
i7UO+7NFwKGEq30Z0SVXxAx/tQ+2EbXvtYvHpedoF9dCqSwClFWp3ypzgLrfXXJa
1NYaQvZnN8IS/p6Q/5O+QYz3hw7dJRL2wvhL2ecDuCac0M915hdnB+MlFvHJAL0=
=ewTV
-----END PGP SIGNATURE-----
_______________________________________________
Quagga-users mailing list
Quagga-users [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-users

Quagga users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.