Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

BGP - Vyatta - Advice getting range advertised with communities

Posted on 2011-04-21
5
Medium Priority
?
1,751 Views
Last Modified: 2012-05-11
I'm trying to advertise a class C out of a data centre using bgp.

I am using vyatta.

I have the bgp session connected, but they operate a default deny advertisement scheme and you have to tag your prefix with their communities depending on where you want it advertised, else they will not advertise it.  This is where I'm having the issue.

The relevant config is below (ip / as changed). 199.138.102.0/24 = our range, 1 = our as

 prefix-list EXPORT-PREFIXES {
     rule 1 {
         action permit
         prefix 199.138.102.0/24
     }
 }
 route-map EDGE {
     rule 10 {
         action permit
         match {
             ip {
                 address {
                     prefix-list EXPORT-PREFIXES
                 }
             }
         }
         set {
             community "12100:805 additive"
         }
     }
 }

 bgp 1 {
     neighbor 44.232.39.33 {
         password xxx
         remote-as 12100
         route-map {
             export EDGE
         }
     }
     network 199.138.102.0/24 {
     }
 }

For community I have tried 12100:805 additive, additive 12100:805, and 12100:805.  They also have a 0 after it for no-prepend (not sure if that is required or not but I have tried that as well).  I have cleared the bgp session after making changes.  The route does not seem to propagate. The isp is telling me the prefix is being received but is not tagged with any communities.  I thought the above would take care of that?  Besides the specific location communities, I've also been given  'all peers' and 'all transit' communities.  Tried them as well!

Any advice to get this up and running?
0
Comment
Question by:pjsmith2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:rfc1180
ID: 35445334
it should be "12100:805 additive"; your syntax is correct. You are either running into a bug or the ISP has no idea how to look for a community. The fact they are getting the prefix and not seeing a community is a bit interesting. Have your provider send you the output of
'show ip bgp 199.138.102.0'

You should see something like:

edge01.lax02#show ip bgp 172.16.100.0
BGP routing table entry for 172.16.100.0/24, version 13
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Not advertised to any peer
  65000
    10.100.100.2 from 10.100.100.2 (10.100.100.2)
      Origin IGP, metric 0, localpref 100, valid, external, best
      Community: 12100:805

Additionally you can capture the packets to see if you are in fact sending the communities; in the BGP update packet, there should be a dedicated field for the communities.


Billy
0
 

Accepted Solution

by:
pjsmith2 earned 0 total points
ID: 35446076
Hi,

OK, got up this morning to find this all working!  The syntax in vyatta is the other way round as per the docs )and not the forum examples!).  It is 'additive 12100:805'.

I wrote to the ISP in desperation before I gave up for the night last night.  They had replied by this morning saying they has an as path filter in place preventing my as being advertised.  Being new to this, I assumed the error was my side as they'd already said their side was ready to go :(
0
 
LVL 24

Expert Comment

by:rfc1180
ID: 35446625
Yeah, not too sure on the additive, i have mine at the end and was from previous versions. Cisco is at the end as well. But glad you have it working

Billy
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 35810196
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question