Netgate m1n1wall

Author Topic: Static route deleted automatically?  (Read 1382 times)

0 Members and 1 Guest are viewing this topic.

Offline ivan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Static route deleted automatically?
« on: March 14, 2007, 08:01:22 am »
I use PFSense 1.0.1 embedded on a WRAP board.
There are two WANS, both get a network-address through DHCP.
Lets call them 1 and 2. 1 being the ISP on the WAN, 2 being the ISP on OPT.
Most things work fine, but the DNS forwarder has problems. I found it this has to do with the static routes.

I've put static routes to the ISP's DNS servers:

Interface  Network       Gateway    Description
OPT        DNS-server2   Gateway2   DNS forwarding to DNS-server2
WAN        DNS-server1   Gateway1   DNS forwarding to DNS-server1


For some strange reason, the route to DNS-server2 gets deleted after a while.
route monitor showed:

Code: [Select]
got message of size 132 on Wed Mar 14 13:10:56 2007
RTM_DELETE: Delete Route: len 132, pid: 21396, seq 1, errno 0, flags:<GATEWAY,DONE,STATIC>
locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK>

Anyone any idea why they are deleted?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Static route deleted automatically?
« Reply #1 on: March 14, 2007, 02:43:25 pm »
Upgrade to a recent snapshot, I believe this was one of the bugs fixed since 1.0.1.

Offline ivan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Static route deleted automatically?
« Reply #2 on: March 16, 2007, 05:15:32 am »
Unfortunately I cannot easily upgrade the firewall, since it's in production use.
Just before implementing it, I had tried a snapshot-release (I think it was from Februari 25), but it seemed less stable then 1.0.1...