I set this up because I wanted a simple lab to mess around with BGP and IS-IS. I would have used EVE-NG but could not get it to play nice with a bare metal m5 in aws.
- Create an Amazon Linux 2 instance
- Use the free_range_routing.sh script for userdata on the instance
-
On the security group allow inbound tcp port 179 for bgp and ping for testing
-
Disable source/destination checks on the instance/interfaces
-
Add an IP address to the loopback interface in linux
sudo ip addr add 1.1.1.1/32 dev lo
-
Login to frr with vtysh
service integrated-vtysh-config ! router bgp 65001 neighbor 172.31.24.201 remote-as 65002 ! address-family ipv4 unicast network 1.1.1.1/32 exit-address-family ! end ! write