Need Quagga help with bgp

I have a base config and when tested...we received all full/internet routes from "Main Peer"---but we weren't passing those routes on to our other peer "Customer" they weren't seeing any/all full internet routes.
Whats missing in this config to pass routes onto our "Customer"?

The "Main Peer" did see the advertised (IP_RANGE/20)  that the Customer wanted advertised.

I'm going to use fictitious AS and IP's

We're running a Imagestream router.


!Our Config
router bgp 30001
  bgp router-id 192.168.0.235
  bgp log-neighbor-changes



# Begin configuration for Main-Peer
 neighbor 192.168.1.225 remote-as 19000
 neighbor 192.168.1.225 soft-reconfiguration inbound
 neighbor 192.168.1.225 description Main-peer
 neighbor 192.168.1.225 route-map rm_peer_1_in in
 neighbor 192.168.1.225 route-map rm_peer_1_out out

# Begin configuration for customer
  neighbor 10.1.1.138 remote-as 29000
  neighbor 10.1.1.138 soft-reconfiguration inbound
  neighbor 10.1.1.138 description customer
  neighbor 10.1.1.138 route-map rm_peer_2_in in
  neighbor 10.1.1.138 route-map rm_peer_2_out out
!

ip prefix-list pl_peer_1_out seq 5 permit IP_RANGE/20
ip prefix-list pl_peer_1_out seq 10 permit IP_RANGE/20

ip prefix-list pl_peer_2_out seq 5 permit IP_RANGE/20
ip prefix-list pl_peer_2_out seq 10 permit IP_RANGE/20
!
route-map rm_peer_1_out permit 5
  match ip address prefix-list pl_peer_1_out
  set as-path prepend 30001
!
route-map rm_peer_1_in permit 5
  set local-preference 100
!
route-map rm_peer_2_out permit 5
  match ip address prefix-list pl_peer_2_out
  set as-path prepend 30001
!
route-map rm_peer_2_in permit 5
 set local-preference 100
!
spiz79Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nayyar HH (CCIE RS)Network ArchitectCommented:
I think your route-map logic should be:
 

ip prefix-list pl_peer_2_in seq 5 permit IP_RANGE/20
ip prefix-list pl_peer_2_in seq 10 permit IP_RANGE/20
!
route-map rm_peer_2_out permit 5
set as-path prepend 30001
!
route-map rm_peer_2_in permit 5
match ip address prefix-list pl_peer_2_in
set local-preference 100
!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
spiz79Author Commented:
Ok...that would allow just the /20s in from the customer - correct? If so thats great...

How would I get the customer all of the routes we have from our ISP/Main Peer?

thanks
0
Nayyar HH (CCIE RS)Network ArchitectCommented:
Yes, Thats correct.

The route-map rm_peer_2_out does'nt have a prefix-list tied to it, so all networks would be sent to the customer prepended with 30001.



0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

spiz79Author Commented:
nazsky,
First off...thanks for taking your time helping me here, just from this has really helped me get a better grasp here of all this...I hope anyways!

The config below is the new config..one thing the Main/ISP did say is that they didn't want to see the prepend ...is that possible to even take that out?


!Our Config
router bgp 30001
  bgp router-id 192.168.0.235
  bgp log-neighbor-changes



# Begin configuration for Main-Peer
 neighbor 192.168.1.225 remote-as 19000
 neighbor 192.168.1.225 soft-reconfiguration inbound
 neighbor 192.168.1.225 description Main-peer
 neighbor 192.168.1.225 route-map rm_peer_1_in in
 neighbor 192.168.1.225 route-map rm_peer_1_out out

# Begin configuration for customer
  neighbor 10.1.1.138 remote-as 29000
  neighbor 10.1.1.138 soft-reconfiguration inbound
  neighbor 10.1.1.138 description customer
  neighbor 10.1.1.138 route-map rm_peer_2_in in
  neighbor 10.1.1.138 route-map rm_peer_2_out out
!

ip prefix-list pl_peer_1_out seq 5 permit IP_RANGE/20
ip prefix-list pl_peer_1_out seq 10 permit IP_RANGE/20

ip prefix-list pl_peer_2_in seq 5 permit IP_RANGE/20
ip prefix-list pl_peer_2_in seq 10 permit IP_RANGE/20
!
route-map rm_peer_1_out permit 5
  match ip address prefix-list pl_peer_1_out
  set as-path prepend 30001
!
route-map rm_peer_1_in permit 5
  set local-preference 100
!
route-map rm_peer_2_out permit 5
set as-path prepend 30001
!
route-map rm_peer_2_in permit 5
match ip address prefix-list pl_peer_2_in
set local-preference 100
!
0
spiz79Author Commented:
typo on that first route map
should be

route-map rm_peer_1_out permit 5
  match ip address prefix-list pl_peer_1_out
  set as-path prepend 19000
0
Nayyar HH (CCIE RS)Network ArchitectCommented:
No problem at all spiz79, its always a pleasure.

Its possible, before you do might you know why it was there? any particular reason?

What is the AS topolgy? Is it as shown below? How many physical links?

[ISP AS 19000] ------[You  AS30001]------- [Customer AS 29000]

0
spiz79Author Commented:
yes thats the exact AS topology

[ISP AS 19000] ------[You  AS30001]------- [Customer AS 29000]


that would make it two physical links...
0
Nayyar HH (CCIE RS)Network ArchitectCommented:
In that case i believe its OK to take it out.

But I should ask why does the Customer need full Internet routing table if theres only one path? Why not just a default route?
0
spiz79Author Commented:
nazsky:

This BGP thing got thrown in my lap and all I know is the Customer wanted all "Internet Routes"
And they are expecting to see all these "Internet Routes" from us...So I just figured it would be done in the BGP config.

Would this default route be in my BGP config or in my network config?


0
Nayyar HH (CCIE RS)Network ArchitectCommented:
You can advertise a default route to the customer via BGP.

But since thats the customers requirements i suggest you go with that and maybe ask the question when you're done.
0
spiz79Author Commented:
Helped me through more then just my initial question.
nazsky is the what makes EE great!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Broadband

From novice to tech pro — start learning today.