BGP MD5 Authentication Lab
Contents
Topology Interfaces Only
Topology With IP Addressing
Intro
You have the option to configure MD5 authentication between two BGP neighbors. When this happens, each segment sent on the TCP connection between the neighbors will be verified. When you configure MD5 authentication you need to make sure you use the same password on both BGP peers; otherwise, the connection between them will never come up. MD5 authentication helps to make sure that only authorized peers can establish a BGP neighbor relationship. BGP MD5 authentication is not required but recommended.
Tasks
- Configure eBGP peerings between R1-R4 according to the diagram using their directly connected links.
- Configure BGP MD5 authentication between R1 and R2. The password is: HastaLaVistaBaby
- Configure BGP MD5 authentication between R1 and R3. The password is: WinterIsComing
- Configure BGP MD5 authentication between R3 and R4. The password is: NotInKansasAnymore
- Configure BGP MD5 authentication between R2 and R4. The password is: SpaceTrooper
Download Lab
Initial Configs
conf t
hostname R1
no ip domain-lookup
line con 0
logging syn
!
int g0/1
no sh
ip add 10.0.12.1 255.255.255.0
!
int g0/0
no sh
ip add 10.0.13.1 255.255.255.0
conf t
hostname R2
no ip domain-lookup
line con 0
logging syn
!
int g0/1
no sh
ip add 10.0.12.2 255.255.255.0
!
int g0/0
no sh
ip add 10.0.24.2 255.255.255.0
conf t
hostname R3
no ip domain-lookup
line con 0
logging syn
!
int g0/1
no sh
ip add 10.0.34.3 255.255.255.0
!
int g0/0
no sh
ip add 10.0.13.3 255.255.255.0
conf t
hostname R3
no ip domain-lookup
line con 0
logging syn
!
int g0/1
no sh
ip add 10.0.34.4 255.255.255.0
!
int g0/0
no sh
ip add 10.0.24.4 255.255.255.0
Solution
Hope you enjoyed this lab. If you have questions or need any help at all please leave a comment below and I’ll get back to you.
Got questions?
Any questions or comments feel free to send me an email at rafael@networkengineerpro.com and I’ll get back to you when I can.