From owner-freebsd-questions Tue Nov 6 20:54:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id D119037B418 for ; Tue, 6 Nov 2001 20:54:01 -0800 (PST) Received: from there (xolaptop [192.168.5.9]) by w2xo.pgh.pa.us (8.11.6/8.11.3) with SMTP id fA74s2t88839 for ; Tue, 6 Nov 2001 23:54:02 -0500 (EST) (envelope-from durham@w2xo.pgh.pa.us) Message-Id: <200111070454.fA74s2t88839@w2xo.pgh.pa.us> Content-Type: text/plain; charset="iso-8859-1" From: Jim Durham To: freebsd-questions@freebsd.org Subject: routing table entry vanishes Date: Tue, 6 Nov 2001 23:54:48 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have two 4.3-RELEASE boxes located 2500 miles apart at two offices of our company. They are each multi-homed and "tunnel" the LANs for the two offices together using IPSEC in "tunnel" mode. The tunnel uses 10.x.x.x addresses on the gif0 interface on each end. The tunnel works just fine and stays up. However, I had to add a static route on each box saying that the LAN segment on the other end was reachable via the address of the far end of the tunnel. IE; something like "route add -net 192.168.5.0 10.20.20.1, where 192.168.5.0 is the LAN address space at the other end of the tunnel and 10.20.20.1 is the address of the gif0 device on the other box. On one of the two boxes, the route just disappears from the routing table. It seems to coincide with interruptions in the network connectivity between the two ends. I've had to use a script that runs every 5 minutes and restores the route entry if a ping fails. What could be causing this? Why only one end? -- Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message