Add static route

This commit is contained in:
Denys Fedoryshchenko
2023-08-31 17:37:20 +03:00
parent 58b67277c2
commit da4662e34d
+16 -3
View File
@@ -156,7 +156,21 @@ QFX, EX4600, EX8200, EX9200
}
```
## BGP
## Routing
### Static routing
```
routing-options {
static {
route x.x.x.x/y next-hop z.z.z.z;
}
}
```
Add static route to x.x.x.x/y via z.z.z.z
### BGP
Typical setup with Ogero, you will have 2 BGP sessions, one for IPv4 and one for IPv6. You will receive default route from Ogero, and you will send your prefixes to Ogero.
We will skip IPv6 for now.
@@ -205,6 +219,7 @@ Also dont forget to set your ASN in routing-options
set routing-options autonomous-system 12345
```
## Bonding
Don't forget to set number of bonding interfaces
@@ -486,5 +501,3 @@ inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
If you see your prefixes, it means you are sending them to Ogero.
You might use also "show bgp neighbor x.x.x.x" to see more detailed information about BGP session.
###