<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>I've searched using Google as well as tried to go
through some mailing lists, but have not managed to find any answers - so
hopefully someone here can help.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=567121914-14032005>I
have a tunnel set up and everything seems to work fine.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>The problem begins when my physical interface goes down
and then comes up again.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>After the interface comes up, I map the ipsec interface
using the 'ipsec tncfg' command and that's fine.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>My problem is, that routes that were previously on the
physical interfaces are now on the ipsec interface (I read somewhere that this
is because the kernel looks for the first interface with a matching IP - which
happens to be the ipsec interface).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>Since many of my routes are dynamic (learnt via some
routing protocol), I cannot manually set them each time (and its not just the
default gateway that needs to be set). </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>The interface to be set to is also not a fixed
interface (could vary according to the setup).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>Has anyone encountered this before or come up with a
solution?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005>Thanks</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=567121914-14032005><SPAN
class=764142614-14032005>Ilona</SPAN></SPAN></FONT></DIV></DIV></BODY></HTML>