12-06-2023 09:02 PM - last edited on 03-07-2024 10:12 AM by Brooke Hammer
The solution of this eBGP LAB configure show as below. Please verify if the configuration is any missing or suggestion. Thanks!
R1>enable
R1(config)#
R1(config)#router bgp 10
R1(config-router)#bgp router-id x.x.x.x // x.x.x.x is R1 Loopback0 ip address
R1(config-router)#neighbor 209.165.202.129 remote-as 600
R1(config-router)#neighbor 209.165.202.130 remote-as 400
R1(config-router)#neighbor x.x.x.x mask 255.255.255.255 // x.x.x.x is R1 Loopback 100 ip address
R1(config-router)#neighbor x.x.x.x mask 255.255.255.255 // x.x.x.x is R1 Loopback 200 ip address
R1(config-router)#end
R1(config) display int brief
Solved! Go to Solution.
12-06-2023 09:59 PM - last edited on 12-08-2023 01:04 AM by Translator
First as M02@rt37 mention use
network
not
neighbor
in your command to advertise LO.
Second the Q ask advertise R2 LO so the
network
command need to config under bgp of R2 to advertise LO appear in RIB of R2.
Here you advertise LO not appear in RIB of R1.
In R2
interface lox
Ip add x.x.x.x
Interface loy
Ip add y.y.y.y
Router bgp 500
Network lox mask x
Network loy mask y
This need to do.
MHM
12-06-2023 09:48 PM - last edited on 12-08-2023 12:58 AM by Translator
Hello @yo8-20
Use
network
command instead of
neighbor
command.
R1>enable
R1(config)#
R1(config)#router bgp 10
R1(config-router)#bgp router-id x.x.x.x // x.x.x.x is R1 Loopback0 ip address
R1(config-router)#neighbor 209.165.202.129 remote-as 600
R1(config-router)#neighbor 209.165.202.130 remote-as 400
R1(config-router)#network x.x.x.x mask 255.255.255.255 // x.x.x.x is R1 Loopback 100 ip address
R1(config-router)#network x.x.x.x mask 255.255.255.255 // x.x.x.x is R1 Loopback 200 ip address
R1(config-router)#end
12-07-2023 12:36 AM - last edited on 12-08-2023 01:00 AM by Translator
Thanks for your help ! I want to question before I configure R1 router ,I need to check R1 router Loopback 0, 100 and 200 ip address first . Is that use
show ip interface brief
command to perform ?
Another question is how to configure Loopback address ?
12-07-2023 12:41 AM - last edited on 12-08-2023 01:02 AM by Translator
You're so welcome @yo8-20.
If you want to check if R2's loopback are in R1's routing table, do
#show ip route
If you want to check R1's loopback on R1, do
#show ip interface brief
To configure a Loopback interface, under configue temrinal, do
interface loopback id
with id the number of the loppback ! Add its IP address as you do for a traditionnal interface.
12-06-2023 09:59 PM - last edited on 12-08-2023 01:04 AM by Translator
First as M02@rt37 mention use
network
not
neighbor
in your command to advertise LO.
Second the Q ask advertise R2 LO so the
network
command need to config under bgp of R2 to advertise LO appear in RIB of R2.
Here you advertise LO not appear in RIB of R1.
In R2
interface lox
Ip add x.x.x.x
Interface loy
Ip add y.y.y.y
Router bgp 500
Network lox mask x
Network loy mask y
This need to do.
MHM
12-07-2023 06:05 AM
Dear HHM ,
Task 2 Advertise R2 Loopback 100 and 200 interface to AS400 and AS 500 , why your configure only Router bgp 500 , is need to add Router bgp 400 in the configure ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide