Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Вопросы по Quagga OSPFd (sendmsg in ospf_write failed to 224.0.0.5)

    Scheduled Pinned Locked Moved Russian
    12 Posts 2 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • werterW
      werter
      last edited by

      Доброе.
      Версия pf ?

      1 Reply Last reply Reply Quote 0
      • T
        timon12
        last edited by

        Обе

        2.2.6-RELEASE (amd64)
        built on Mon Dec 21 14:50:08 CST 2015
        FreeBSD 10.1-RELEASE-p25

        1 Reply Last reply Reply Quote 0
        • werterW
          werter
          last edited by

          https://forum.pfsense.org/index.php?topic=61564.0

          sorry for my late response, but i have figured out where my problem was
          on the site with the 2 wans i made a gateway-group and set this on the default-lan to everywhere rule as gateway, as soon as i changed it back to the default gateway preference all works

          then you can fix it easy

          we setup a "private" alias with all internal networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16) and set on each LAN a first "external" route:
          allow any any to !private any  over gateway group (with traffic limiter)

          1 Reply Last reply Reply Quote 0
          • T
            timon12
            last edited by

            Благодарю за ответ! Я видел данный пост, не совсем мой случай.

            sorry for my late response, but i have figured out where my problem was
            on the site with the 2 wans i made a gateway-group and set this on the default-lan to everywhere rule as gateway, as soon as i changed it back to the default gateway preference all works

            У меня нет gateway-group. На обоих pf есть по 3 канала - 1.интернет (он используеться и как резервный впн) 2. Транспортный канал (прямая оптика без доступа в мир, там только pf-ки и все) - основной впн и 3.LAN у каждой pf (между которыми должен быть постянный коннект).

            we setup a "private" alias with all internal networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16) and set on each LAN a first "external" route:
            allow any any to !private any  over gateway group (with traffic limiter)

            А вот это не совсем понял, что пытались сделать.

            1 Reply Last reply Reply Quote 0
            • T
              timon12
              last edited by

              Все добрый день! Разобрался в проблеме, правильно было написано в https://forum.pfsense.org/index.php?topic=61564.0

              Then you must open traffic on OpenVPN Interfaces for OSPF hosts, too… not only your needed networks but also the 2 broadcast IPs for OSPF 224.0.0.5 and 224.0.0.6 (and all your source firewall IPs for secuity even if doubled defined).

              Добавил в правила Firewall - Rules - OpenVPN "Allow all for OSPF protocol"

              • ошибки в логах исчезли, переключение автоматом работает как часы.
                Всем спасибо!
              1 Reply Last reply Reply Quote 0
              • werterW
                werter
                last edited by

                Доброе.
                А что за правила fw на OpenVPN инт. у Вас до этого были ??
                Спрашиваю, потому как на время тестов разрешаю всё всем и по всем протоколам\портам.

                1 Reply Last reply Reply Quote 0
                • T
                  timon12
                  last edited by

                  В ВПН вначале было разрешено все - выдавало ошибку. Добавил еще правило разрешить все для  ospf и заработало. Вчера протестил 4 раза - и отлично работат, без ошибок в логах.

                  1 Reply Last reply Reply Quote 0
                  • werterW
                    werter
                    last edited by

                    Там еще

                    … (and all your source firewall IPs for secuity even if doubled defined).

                    1 Reply Last reply Reply Quote 0
                    • T
                      timon12
                      last edited by

                      Добавил только то, что на скрине, и больше ничего. У меня помимо ВПН-ов которые обеспечивают два офисса связью между собой есть еще 2 ВПН-а для мобильных пользователей.

                      Screenshot.png
                      Screenshot.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • werterW
                        werter
                        last edited by

                        Хм, странно.
                        Ведь 1-е правило перекрывает 2-е. Зачем явно указывать ospf, если ***** в 1-м уже вкл. ospf.

                        1 Reply Last reply Reply Quote 0
                        • T
                          timon12
                          last edited by

                          Как найду причину, отпишусь.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.