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

    Route reset after restarting ipsec

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 2.7k 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.
    • C
      capitangiaco
      last edited by

      Hi all

      I have 4 wan interfaces and ten ipsec tunnel distribuited over the wans.
      I have a problem with the last added tunnel:

      in the normale state this is the routing table:
      192.168.250.0/24  link#13            UC          0        0  vlan3
      192.168.250.1      00:0d:b9:06:b6:5a  UHLW        1  3495609  vlan3    295
      192.168.250.254    192.168.250.254    UH          0        0 carp14

      if I press the save button in vpn / ipsec or I restart the firewall I find this routing table:

      192.168.250.0/24  link#13            UC          0        0  vlan3
      192.168.250.1      159...161    UGHS        0      58  vlan0
      192.168.250.254    192.168.250.254    UH          0        0 carp14

      that gw is the gw for the main wan:
      Destination        Gateway            Flags    Refs      Use  Netif Expire
      default            159...161    UGS        0 147006558  vlan0

      And obviously the ipsec tunnel goes down until I do a:
      route delete 192.168.250.1
      that take to all to the normality

      how can I debug this situation ?

      thanks

      Giacomo

      1 Reply Last reply Reply Quote 0
      • C
        capitangiaco
        last edited by

        the only trick seems to be:
        route delete 192.168.250.1 every 5 min by the cron.

        Giacomo

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