[Openswan dev] Re: Openswan 2.4.0dr9 multiple defaultroute patch

mcr at xelerance.com mcr at xelerance.com
Mon Aug 15 21:40:28 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "David" == David McCullough <davidm at snapgear.com> writes:
    >> defaultinterface() { phys=`netstat -nr | awk '$1 == "0.0.0.0" &&
    >> $3 == "0.0.0.0" { print $NF; exit }'`
    >> 
    >> which just prints the first one.

    David> Just for reference, we have been using the first entry for a
    David> few years now without problems, all of our gear has multiple
    David> default routes,

  Do you have different IPs on the different interfaces?

  Do you use %defaultroute in your conns? Do the ESP packets come out
with the right outer IP?

- -- 
] Michael Richardson          Xelerance Corporation, Ottawa, ON |  firewalls  [
] mcr @ xelerance.com           Now doing IPsec training, see   |net architect[
] http://www.sandelman.ca/mcr/    www.xelerance.com/training/   |device driver[
]                    I'm a dad: http://www.sandelman.ca/lrmr/                 [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQwE1+oqHRg3pndX9AQGmbwQAwUjtsMpefCbrRcZvoMuSF7Gmq52nrO63
7KQ/dCYyH60YGp52viOQkPqIyiuoaSqSKW4QN2rNQvEO8OjN/tSkUKPctfT5YZwA
xpapxWv3ga8RUw38h+LsxNlXU7S8hZEjnW8l3gpt49x+tPQjdPLKUkLnd0zRVxmS
Gr02T+ZPKHE=
=Boqe
-----END PGP SIGNATURE-----


More information about the Dev mailing list