Nicholas Morrison - Networking Specialist

flokinet-010 - putting it together

Connecting to the lab server

Open your favourite Terminal Emulator

SSH to the netlab server:

$ ssh-keygen -R   <- 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


  • Build a global network with sites in Bucharest, Amsterdam, Berlin, Helsinki and Sydney

Diagram: Global

Supinet: global view

Diagram: Site

Supinet: site view


  • Now:
    • Create an IP address plan
    • Configure spanning tree
    • Create a management VLAN
    • Create VLANs for the customers (pc1-pc3)
    • Configure the router
    • Test that PCs can ping one another within a site
  • Soon:
    • Configure BGP sessions between router and ISP
    • Advertise and learn the appropriate networks
  • Later:
    • Convert to an L3 leaf-spine
    • Configure iBGP
    • Configure VXLAN
    • Get Layer 2 traffic across the internet like a boss

IP address plan

Configure spanning tree

Choose your root bridge, and then:

spanning-tree root primary

Verify the configuration with show spanning-tree.

Configure your management VLAN

Please ignore the official management interface. We will create our own.

vlan XXX
   name management
interface vlanXXX
   description --- management
   ip address x.x.x.x/x
interface ethXXX
   description --- trunk to xxx:ethx
   switchport mode trunk
   switchport trunk allowed vlan XXX

Create VLANs for the customers

Three customers, one VLAN each.

vlan XXX
   name customer-XXX
interface ethXXX
   switchport trunk allowed vlan add XXX
interface ethX
   description --- customer pcX:eth1
   switchport mode access
   switchport access vlan XXX

Create Layer 3 VLAN interface for the customers

On your router,

ip routing

and then for each VLAN:

interface vlanXXX
   ip address x.x.x.1/x