На роутерах Nano /etc/modules Необходимо прописать Ip_gre Ipip Далее modprobe gre Modprobe ip_gre Nano /etc/network/interfaces Auto gre30 Iface gre30 inet runnel Address 10.0.0.1 (на другом роутере 10.0.0.2) Netmask 255.255.255.0 Mode gre Local 100.100.100.1 (другой роутер 200.200.200.1) Endpoint 200.200.200.1 ( другой роутер 100.100.100.1) Ttl 255 На роутерах Apt install frr Nano /etc/frr/daemons ospfd=yes ospf6d=yes Systemctl enable frr Systemctl restart frr Systemctl status frr Vtysh Router ospf Network 172.16.20.0/16 area 0 (на hq 192.168.1.0/24 area 0) Network 10.0.0.0/24 area 0 Do wr Do show run Далее Systemctl restart frr Проверить пинги HВременное подключение к ПКQ Auto gre31 Iface gre31 inet tunnel Address 44.44.44.1/30 Mode gre Local isp-hqr ip Endpoint isp-cli ip Ttl 255 На ПК Nano /etc/modules Ip_gre Ipip Nano /etc/network/interfaces Auto gre31 Iface gre31 inet tunnel Address 44.44.44.2/30 Mode gre Local 33.33.0.2 Endpoint 11.11.0.2 Ttl 255 Up ip route add 172.16.100