BGP in depth lab 1 of 14

BGP session basics on three vendors

A partner on Arista and a customer on MikroTik are joining Kestrel Fibre's edge. Build sessions that survive a failed link by peering between loopbacks, then protect them with MD5 and TTL security, and see the same ideas in three vendors' commands.

Run this lab

It needs Lite: its 4 nodes are set to 4 vCPU and 3,328 MB in total. That fits the free demo too.

In your workspace: Shared, then BGP in depth guided labs, then 01 - BGP session basics on three vendors

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 75 minutes
Nodes need
4 vCPU, 3,328 MB
Smallest plan
Lite

The scenario

Kestrel Fibre (AS 64500) has two core routers, R1 and R2, joined by two links. A partner on Arista (AS 64510) has two links to R1. A customer on MikroTik (AS 64520) has one link to R2. Your job is to bring up all three BGP sessions so that one failed link doesn't reset anything, then secure them before the change window closes.

SessionTypeBetweenProtection
R1 to R2iBGPLoopbacksSurvives a link failure
R1 to EOS1eBGPLoopbacksMD5 Kestrel-Edge1, TTL security
R2 to CHR1eBGPLink addressesMD5 Kestrel-Edge2, TTL security
DeviceASAnnounces
R164500203.0.113.0/24
EOS164510198.51.100.0/24
CHR164520192.0.2.0/24
DeviceInterfaceAddressConnects to
R1Loopback010.255.0.1/32
R1Loopback1203.0.113.1/24
R1Gi0/010.0.12.1/30R2 Gi0/0
R1Gi0/110.0.112.1/30R2 Gi0/1
R1Gi0/2172.16.1.1/30EOS1 Ethernet1
R1Gi0/3172.16.2.1/30EOS1 Ethernet2
R2Loopback010.255.0.2/32
R2Gi0/010.0.12.2/30R1 Gi0/0
R2Gi0/110.0.112.2/30R1 Gi0/1
R2Gi0/2172.16.3.1/30CHR1 ether1
EOS1Ethernet1172.16.1.2/30R1 Gi0/2
EOS1Ethernet2172.16.2.2/30R1 Gi0/3
EOS1Loopback010.255.0.10/32
EOS1Loopback1198.51.100.1/24
CHR1ether1172.16.3.2/30R2 Gi0/2
CHR1lan192.0.2.1/24

What you’ll practise

  • Build iBGP between loopbacks with update-source and next-hop-self, and say why each is needed
  • Build eBGP between loopbacks across parallel links on IOS and EOS
  • Explain why eBGP needs multihop or TTL security when peers aren't directly connected
  • Add MD5 authentication on IOS, EOS and RouterOS
  • Apply TTL security on IOS, EOS and RouterOS, and read the TTL values on the session
  • Prove a session survives the loss of one link

The tasks

  1. iBGP between loopbacks
  2. eBGP between loopbacks
  3. MD5 on IOS and EOS
  4. Swap multihop for TTL security
  5. The MikroTik customer
  6. Prove it survives a link failure

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of BGP session basics on three vendors4 nodes, 5 links. Every link is listed as text below the diagram.R1R2EOS1CHR1Gi0/0Gi0/0Gi0/1Gi0/1Gi0/2ether1Gi0/2Ethernet1Gi0/3Ethernet2
4 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in BGP session basics on three vendors, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Cisco IOSvvios-adventerprisek9-m.spa.159-3.m91 vCPU, 512 MB
R2Cisco IOSvvios-adventerprisek9-m.spa.159-3.m91 vCPU, 512 MB
EOS1Arista vEOSveos-4.33.1.1F1 vCPU, 2,048 MB
CHR1MikroTik RouterOSmikrotik-7.14.21 vCPU, 256 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder BGP in depth guided labs.

  3. Open 01 - BGP session basics on three vendors and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More BGP in depth labs

All BGP in depth labs

Related labs in other courses

CloudLabBox is independent of Arista Networks, Cisco, Juniper Networks and MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.