[pptp-server] a route table problem

Justin Kreger jkreger at avidsolutionsinc.com
Fri Feb 23 06:18:03 CST 2001


 
just write a bash script to check if ipsec is up every 5 minutes, and if
its down, pull the route

btw, you may want to check your defaults and all in your ipsec.conf file.
-----Original Message-----
From: ???
To: pptp-server at lists.schulte.org
Sent: 2/22/01 7:56 PM
Subject: [pptp-server] a route table problem

 
203.239.59.130 ==> hostname is kikio
rouing table before ipsec act
------------------------------------------------------------------------
-----------
Destination         Gateway         Genmask                Flags
Metric Ref    Use         Iface
203.239.59.97       *                  255.255.255.255          UH
0      0        0         eth1
203.239.59.130      *                  255.255.255.255          UH
0      0        0         eth0
203.239.59.64       FLB-500         255.255.255.224          UG
0      0        0        eth0
203.239.59.96       *                  255.255.255.224            U
0      0        0        eth1
203.239.59.128      *                  255.255.255.224           U
0      0        0         eth0
203.239.59.128     *                   255.255.255.224           U
0      0        0         ipsec0
203.239.59.160      linux1          255.255.255.224          UG
0      0        0         eth0
127.0.0.0              *                  255.0.0.0
U            0      0        0             lo
 
ipsec auto --up conn_test
------------------------------------------------------------------------
--
Destination         Gateway         Genmask             Flags Metric Ref
Use       Iface
203.239.59.97           *               255.255.255.255     UH    0
0        0         eth1
203.239.59.130          *               255.255.255.255     UH    0
0        0        eth0
203.239.59.64      FLB-500         255.255.255.224     UG    0         0
0         eth0
203.239.59.96           *               255.255.255.224       U     0
0        0         eth1
203.239.59.128          *               255.255.255.224      U     0
0        0         eth0
203.239.59.128          *               255.255.255.224      U     0
0        0         ipsec0
203.239.59.160      linux1          255.255.255.224       UG    0
0        0         ipsec0
127.0.0.0                   *               255.0.0.0                 U
0          0        0         lo
 
ipsec auto --down conn_test
------------------------------------------------------------------------
--
Destination         Gateway         Genmask             Flags Metric Ref
Use       Iface
203.239.59.97           *               255.255.255.255     UH    0
0        0         eth1
203.239.59.130          *               255.255.255.255     UH    0
0        0        eth0
203.239.59.64      FLB-500         255.255.255.224     UG    0         0
0         eth0
203.239.59.96           *               255.255.255.224       U     0
0        0         eth1
203.239.59.128          *               255.255.255.224      U     0
0        0         eth0
203.239.59.128          *               255.255.255.224      U     0
0        0         ipsec0
203.239.59.160  linux1       255.255.255.224  UG    0      0       0
ipsec0
127.0.0.0                   *               255.0.0.0                 U
0          0        0         lo
 
------------------------------------------------------------------------
--
 
when ipsec auto --down,  203.23.59.160 ipsec interface is not unrouted.
so between linux1's 203.23.59.160 subnet and kikio's subnet 203.23.59.96
can not ping , telnet and ftp etc...
 
question1
i don't know that <203.239.59.160  linux1       255.255.255.224  UG    0
0       0       ipsec0 >
interface is always unrouted.
 
question2
sometimes route is not removed.
 
@.. at a
help me!!!
 
 
 
 
 



More information about the pptp-server mailing list