flokinet-012 - keep putting it together

title: flokinet-012 - keep putting it together
author: Nicholas Morrison
draft: false
tags: [network, workshop, arista]
categories: [workshop]
noindex: true

Connecting to the lab server

Open your favourite Terminal Emulator

SSH to the netlab server:

$ ssh-keygen -R netlab.nanocat.net   <- delete the cached fingerprint
                                        (lab server rebuilt frequently)
$ ssh [email protected]
Password: (generated fresh each week)

List the running containerlab devices:

$ sudo containerlab inspect --all

Connect to an Arista device:

$ sudo docker exec -it clab-device–name Cli

.. or connect to a Linux device:

$ sudo docker exec -it clab-pcXX-name bash

Goals

Diagram: Global

Supinet: global view
Supinet: global view

Diagram: Site

Supinet: site view
Supinet: site view

Overview

Configure BGP on your router

Make a BGP connection with the ISP router.

The ISP’s AS number is 65667

!
router bgp 65420
   router-id x.x.x.x
   neighbor x.x.x.x remote-as 65667
   neighbor x.x.x.x description earths-ISP
   network x.x.x.x/x
   network x.x.x.x/x
!
r1.xxx#show ip bgp summary
r1.xxx#show ip route bgp
r1.xxx#show ip bgp neighbor x.x.x.x advertised-routes
r1.xxx#show ip bgp neighbor x.x.x.x received-routes

Do you see the routes?

Add null0 routes

!
ip route x.x.x.x/24 null0
ip route x.x.x.x/23 null0
!
r1.xxx#show ip bgp neighbor x.x.x.x advertised-routes

Do you see your remote routes?

Enable allowas-in

router bgp 65420
   neighbor x.x.x.x allowas-in
!
r1.xxx#show ip bgp neighbor x.x.x.x advertised-routes
r1.xxx#show ip bgp neighbor x.x.x.x received-routes

Fin! Questions?