Professional Documents
Culture Documents
A U
C TH I E V EB MO EO NKC TSI SH CE FO
L RF EI O
E UV C I CD NE AO S
U N L O C K E D F A Q L A B S
Heres a quick demonstration on how to configure two routers to be BGP neighbors. Im using To search, type and hit enter
dynamips and the same topology from yesterdays multilink PPP lab (for simplicity):
Autonomous Systems
R1 : 42
R2 : 69
Networks Advertised
Well configure a loopback 0 interface on each of the two routers and then advertise those
networks to our BGP neighbors.
R1 Loopback0 : 42.42.42.1/24 P O P U L A R A R T
R2 Loopback0 : 69.69.69.1/24 Achievement Unlocked
Cisco IOU FAQ
Loopback Configuration Why You Should Be Blogging
Lets configure our loopback 0 interfaces first:
Using BGPs local preference to influence outbound
routing
R1# configure terminal
R1(config)# interface loopback 0 Hidden ProCurve commands
R1(config-if)# ip address 42.42.42.1 255.255.255.0 10 Things Your IT Guy Wants You To Know
R1(config-if)# end
R1# Port forwarding a range of ports on Cisco IOS
How to Upgrade the License on a Cisco ASA
converted by W eb2PDFConvert.com
BadOPCode on Achievement Unlocked!
R1# configure terminal
R1(config)# router bgp 42 Charit Rastogi on Free Two-Factor Auth for your
R1(config-router)# network 42.42.42.0 mask 255.255.255.0 Servers and VPNs
R1(config-router)# neighbor 192.168.42.2 remote-as 69
R1(config-router)# end
R1#
R2 BGP Configuration
Likewise, well configure BGP on R2 and advertise only the 69.69.69.0/24 network:
Verification
After a moment we should see a syslog message (on each router) similar to the following,
letting us know that an adjacency has formed:
BGP is not the fastest protocol when it comes to convergence, but after a moment we should
see the neighbors are exchanging routes:
And if we take a look at our routing tables on each router, we should see that the networks we
advertised into BGP do, indeed, show up on the other side:
converted by W eb2PDFConvert.com
R2# show ip route bgp
42.0.0.0/24 is subnetted, 1 subnets
B 42.42.42.0 [20/0] via 192.168.42.1, 00:04:52
R2#
Success! Later well cover multihoming and the use of weights, local preferences, and MEDs
to influence routing decisions.
Related posts:
R E P L Y
R E P L Y
0
jdimstrnate February 19, 2013 at 10:45 pm
you need to create ip addesses (192.168.42.0/30) on the s0/0 interfaces. Once you
1
have basic ping conectivity thsi will work. The assumption is that you dont need
guidance on this.
R E P L Y
converted by W eb2PDFConvert.com
R E P L Y
R E P L Y
R E P L Y
Leave a Comment
Name *
E-mail *
Website
Submit
Notify me of new posts by email.
{ 4 trackbacks }
evilrouters.net Blog Archive Using weights to influence BGP routing
GNS3-Topology: EvilRouters- BGP Over Multilink PPP Lab | GNS3 Labs :: Cisco Router
Simulator Network Topologies
GNS3-Topology: EvilRouters-Weighting To Influence BGP Routing | GNS3 Labs :: Cisco
Router Simulator Network Topologies
evilrouters.net Blog Archive Configuring MD5 Authentication for BGP Peers
P R E V Installing
I O the
U Vista
S TelnetPClient
O S T :
N E X Using
T weights
P toOinfluence
S TBGP: routing
Copyright 20082014 Null Ventures LLC. All rights reserved. Disclosures Terms of Use
converted by W eb2PDFConvert.com