You have the following topology:
GoBGP is installed and peering is configured. Configure BGP policies to ensure that link "A" has higher preference than
link "B" and traffic between rt1
and rt3
passed through rt2
router.
Download from https://www.vagrantup.com/downloads.html and install
git clone https://github.com/Astrarog/hse-gobgp-bgp
cd hse-gobgp-bgp
vagrant up
+-----+ | rt1 | +-----+ |
+-----+ | rt2 | +-----+ |
+-----+ | rt3 | +-----+ |
---|---|---|
|
|
|
+-----+ | rt1 | +-----+ |
+-----+ | rt2 | +-----+ |
+-----+ | rt3 | +-----+ |
---|---|---|
|
|
|
+-----+ +-----+ +-----+ | rt1 |---> --->| rt2 |---> --->| rt3 | +-----+ +-----+ +-----+ |
+-----+ +-----+ +-----+ | rt3 |---> --->| rt2 |---> --->| rt1 | +-----+ +-----+ +-----+ |
---|---|
vagrant destroy