cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
531
Views
3
Helpful
5
Replies

About the Simulation LAB eBGP configuration

yo8-20
Level 1
Level 1

 

 

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 

 

1 Accepted Solution

Accepted Solutions

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

View solution in original post

5 Replies 5

M02@rt37
VIP
VIP

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
Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

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 ?

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.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

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

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 ? 

Review Cisco Networking for a $25 gift card