[Openswan Users] No KLIPS, no ipsec interface and no route.

shad shad.mortazavi at convergenceone.com
Thu Sep 23 09:31:39 CEST 2004

Dear All,

I had some initial training on Free/SWAN two years ago but I'm new to 
the use of  IPSEC on Linux, so excuse these novice questions :).

I have compiled openswan-2.2.0 on my Yoper v2 latop running Kernel

I have been able to get a tunnel up to a Nortel 1700 using AES-128 and PSK.

At the moment I can ssh/etc from the 1700 network to my laptop (I need 
to define the tunnel filters on the other end to do the reverse).

This tells me that a) IPSEC Tunnel is up (I can see this being initiated 
in my logs and via my packet capture) and b) I have routing setup.

 From my training I was expecting to see reference to an ipsec 
interface, but I don't see one. From the reading/information I have I 
understand that the native IPSec does not provide a virtual IPSec 
interface. Is there a document/site explaining the differences between 
the two?

I was also expecting to see an entry for the remote network 
when I issued an ip route command;

I have two questions.

When I issue an ipsec restart I get;

Sep 23 08:03:59 yos pluto[31259]: "bwk": route-client output: 
/usr/local/lib/ipsec/_updown: doroute `ip route add via 
xx.xxx.xxx.x dev eth0 ' failed(RTNETLINK answers: Network is unreachable)

What is cusing this?

Second am I using the IPSEC native to Kernel 2.6?

Some information;

 From IPSEC Verify I get.

Version check and ipsec on-path                                         
Linux Openswan U2.2.0/K2.6.8.1-7 (native)

When I do a ipsec setup restart I get;

Sep 23 05:09:57 yos ipsec_setup: ...Openswan IPsec stopped
Sep 23 05:09:57 yos ipsec_setup: Stopping Openswan IPsec...
Sep 23 05:09:58 yos ipsec_setup: KLIPS ipsec0 on eth0 
xxx.xxx.x.xx/ broadcast xxx.xxx.x.xx
Sep 23 05:09:58 yos ipsec__plutorun: Starting Pluto subsystem...
Sep 23 05:09:58 yos ipsec_setup: ...Openswan IPsec started
Sep 23 05:09:58 yos pluto[7599]: Starting Pluto (Openswan Version 2.2.0 
Sep 23 05:09:58 yos pluto[7599]:   including NAT-Traversal patch 
(Version 0.6c)[disabled]
Sep 23 05:09:58 yos ipsec_setup: Starting Openswan IPsec 
Sep 23 05:09:58 yos pluto[7599]: ike_alg_register_enc(): Activating 
OAKLEY_AES_CBC: Ok (ret=0)
Sep 23 05:09:58 yos pluto[7599]: Using Linux 2.6 IPsec interface code

When I run an ipsec status verify it gives me;

root at yos init.d # ipsec setup status
IPsec running
KLIPS module is not loaded!

Thanks and Regards

Shad Mortazavi
Technical Manager/Linux Team Leader

More information about the Users mailing list