This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервисы_gateway_и_routing [2022/12/05 06:44] val [Linux] |
сервисы_gateway_и_routing [2024/06/24 05:41] (current) val [Протокол OSPF] |
||
---|---|---|---|
Line 46: | Line 46: | ||
gate.isp.un# ip r add 192.168.Y.0/24 via 172.16.1.Y | gate.isp.un# ip r add 192.168.Y.0/24 via 172.16.1.Y | ||
- | gate# ip r add 192.168.110.0/24 via 192.168.X.201 | + | gate# |
- | gate# ip r add 192.168.120.0/24 via 192.168.X.202 | + | ip r add 192.168.110.0/24 via 192.168.X.201 |
- | gate# ip r add 192.168.130.0/24 via 192.168.X.203 | + | ip r add 192.168.120.0/24 via 192.168.X.202 |
+ | ip r add 192.168.130.0/24 via 192.168.X.203 | ||
# ip r del 192.168.Y.0/24 | # ip r del 192.168.Y.0/24 | ||
Line 131: | Line 132: | ||
==== Протокол OSPF ==== | ==== Протокол OSPF ==== | ||
- | === Установка === | + | === frr === |
+ | |||
+ | * [[https://docs.frrouting.org/en/latest/setup.html]] | ||
+ | |||
+ | <code> | ||
+ | # apt install frr | ||
+ | |||
+ | # cat /etc/frr/daemons | ||
+ | </code><code> | ||
+ | ... | ||
+ | ospfd=yes | ||
+ | ... | ||
+ | </code><code> | ||
+ | # systemctl restart frr | ||
+ | |||
+ | # ps ax | grep frr | ||
+ | |||
+ | # vtysh | ||
+ | ... | ||
+ | # show run | ||
+ | </code> | ||
+ | |||
+ | === quagga === | ||
=== Debian/Ubuntu === | === Debian/Ubuntu === |