Route reset after restarting ipsec
-
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 carp14if 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 carp14that gw is the gw for the main wan:
Destination Gateway Flags Refs Use Netif Expire
default 159...161 UGS 0 147006558 vlan0And obviously the ipsec tunnel goes down until I do a:
route delete 192.168.250.1
that take to all to the normalityhow can I debug this situation ?
thanks
Giacomo
-
the only trick seems to be:
route delete 192.168.250.1 every 5 min by the cron.Giacomo