Home arrow Routing arrow Juniper BGP configuration arrow Configuration Multi-hop EBGP on Juniper

Google Translation


Login Form






Lost Password?
No account yet? Register

Advertisements


Who's Online

Configuration Multi-hop EBGP on Juniper PDF Print E-mail
Written by Chris   

Here is a procedure to setup Multi-hop BGP on juniper router

Prerequisite information
- Neighbor IP (prefer loop back IP, if cx request one, we can assign a IP for cx)
** If they are not using loopback, we need to know how many hop away from ours
- What routing table cx want to receive from us (ex. full, default only..... )
- Routes they want to announce to us
- Cx's ASN #

1. Setup static route
2. Create prefix-list
3. Configure BGP

I will skip a basic stuff and procedure. Let's start

1. Setup static route
- Go to routing-option mode to add new static route
- If interface is Ethernet type, put IP address instead interface name.
- Example below


[edit routing-options static]
user@JuniperRouter# set route 192.168.77.21/32 next-hop [ 192.168.131.230
192.168.142.162 ]

[edit routing-options static]
user@JuniperRouter# show | match 192.168.77.21
route 192.168.77.21/32 next-hop [ 192.168.131.230 192.168.142.162 ]


2. Create prfix-list
- I believe that most of you already new this.

[edit policy-options policy-statement term match
from]
user@JuniperRouter# set route-filter 100.100.99.0/24 orlonger
user@JuniperRouter# set route-filter 200.200.99.0/24 orlonger

3. Configure BGP
- Let's assume that this customer want to "full routes"

[edit]
user@JuniperRouter# edit protocols bgp group full-routes neighbor 192.168.77.21
[edit protocols bgp group full-routes neighbor 192.168.77.21]
user@JuniperRouter#set description Multihop customer
user@JuniperRouter#set local-address 192.168.2.211
user@JuniperRouter#set import [ in-cust ]
user@JuniperRouter#set peer-as 3333

[edit protocols bgp group full-routes neighbor 192.168.77.21]
user@JuniperRouter#edit multihop

[edit protocols bgp group full-routes neighbor 192.168.77.21 multihop]
user@JuniperRouter# set ttl 2
user@JuniperRouter#exit

[edit protocols bgp group full-routes neighbor 192.168.77.21]
user@JuniperRouter# exit

[edit]
user@JuniperRouter# edit protocols bgp group full-routes neighbor 192.168.77.21

[edit protocols bgp group full-routes neighbor 192.168.77.21]
user@JuniperRouter# show
description Multihop Customer;
multihop {
ttl 2;
}
local-address 192.168.2.211;
import [ in-cust ];
peer-as 3333;

[edit protocols bgp group full-routes neighbor 192.168.77.21]
user@JuniperRouter#



Don't forget "commit check" first before execute "commit"
Verify BGP session.



Please share this article with ;
Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Wists!Simpy!Newsvine!Blinklist!Fark!Yahoo!Netvouz!RawSugar!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
< Prev

Sponsored Links


Sponsor II


What's your IP?

You are connecting to this site from: 38.103.63.16

Related Articles