title: S1E16 - The Border Gateway Protocol - Lab 02 |
author: Nicholas Morrison nick@nanocat.net |
draft: false |
tags: [network, workshop, routing] |
categories: [workshop] |
noindex: true |
Connect to the lab server:
Connect to your router:
Prefix and AS number allocations: https://docs.google.com/spreadsheets/d/1vxVgJI_LhY3NDGJ3icE-4zphmBxUurEvVFgdjafFBzc/edit?usp=sharing
!
interface ethernet2
no switchport
ip address x.x.x.x/xx
!
!
interface loopback10
ip address x.x.x.x/xx
!
!
ip routing
!
router bgp XXXX <- your ASN
neighbor x.x.x.x remote-as YYYY <- neighbor ASN
network x.x.x.x/xx <- announce this network
!
For a network to be announced by BGP, an exactly matching route needs to exist in the routing table.
For a network to be accepted by BGP, the “BGP next-hop” address must be reachable.