You have the following topology:
+-----+
172.20.10.10---eth2--| rt1 |--eth1--10.10.0.10--+
+-----+ |
|
|
+-----+ |
172.20.20.10---eth2--| rt2 |--eth1--10.10.0.20--|--10.10.0.0/24
+-----+ |
|
|
+-----+ |
172.20.30.10---eth2--| rt3 |--eth1--10.10.0.30--+
+-----+
Your objective is to configure OSPF between rt1/rt2/rt3 to enable connectivity between 172.20.x.0/24 networks.
Download from https://www.virtualbox.org/wiki/Downloads and install
Download from https://www.vagrantup.com/downloads.html and install
git clone https://github.com/Astrarog/hse-vyos-ospf.git
cd hse-vyos-ospf
vagrant up
Note: The password is "vagrant".
+-----+ | rt1 | +-----+ |
+-----+ | rt2 | +-----+ |
+-----+ | rt3 | +-----+ |
---|---|---|
|
|
|
+-----+ | rt1 | +-----+ |
+-----+ | rt2 | +-----+ |
+-----+ | rt3 | +-----+ |
---|---|---|
|
|
|
vagrant destroy