The lab
Two VyOS routers (rolling 2026.10.16) run as virtual machines, with two Docker networks between them as link A and link B. Every output in this lesson is copied from that lab.
| R1 | R2 | |
|---|---|---|
| Loopback | 198.51.100.1/32 | 198.51.100.2/32 |
| Link A (eth0) | 192.0.2.0/31 | 192.0.2.1/31 |
| Link B (eth1) | 192.0.2.2/31 | 192.0.2.3/31 |
| Announces | nothing | 203.0.113.0/24 (on a dummy interface) |
To "break" link A, R2 disables its eth0 (set interfaces ethernet eth0 disable). R2 knows its interface is down; R1 sees nothing change on its own eth0. That's the hard case, and it's the common one.
set system host-name 'R1'
set interfaces loopback lo address '198.51.100.1/32'
set interfaces ethernet eth0 address '192.0.2.0/31'
set interfaces ethernet eth0 description 'LINK-A-TO-R2'
set interfaces ethernet eth1 address '192.0.2.2/31'
set interfaces ethernet eth1 description 'LINK-B-TO-R2'- Line 2: The loopback /32: R1's stable address.
- Lines 3–6: Link A and link B, one /31 each.
set system host-name 'R2'
set interfaces loopback lo address '198.51.100.2/32'
set interfaces ethernet eth0 address '192.0.2.1/31'
set interfaces ethernet eth0 description 'LINK-A-TO-R1'
set interfaces ethernet eth1 address '192.0.2.3/31'
set interfaces ethernet eth1 description 'LINK-B-TO-R1'
set interfaces dummy dum0 address '203.0.113.1/24'
set interfaces dummy dum0 description 'CUSTOMER-PREFIX'- Line 2: R2's loopback.
- Lines 7–8: A dummy interface holds 203.0.113.0/24, standing in for a customer or LAN prefix.