[Openswan Users] roadwarrior over pppoe

Toni Cosma tonis at alphanet.ro
Wed Aug 29 02:54:01 EDT 2007


Hi all,

 

I have patched openswan source with:

            root at B:/usr/src/openswan-2.4.9# patch -p1 <
../openswan-2.4.9-stkl.patch

but at B side same error:

Aug 29 09:32:40 B ipsec_setup: KLIPS ipsec0 on ppp0
89.123.122.76/255.255.255.255 pointopoint 89.123.64.254

Aug 29 09:32:41 B ipsec_setup: ...Openswan IPsec started

Aug 29 09:32:41 B ipsec_setup: Starting Openswan IPsec 2.4.9...

Aug 29 09:32:41 B ipsec__plutorun: ipsec_auto: fatal error in "A-B_rw":
%defaultroute requested but not known

 

 

 

 

 

-----Original Message-----
From: Paulo F. Sedrez [mailto:sedrez+openswan at sedrez.ods.org] 
Sent: Tuesday, August 28, 2007 7:41 PM
To: petermcgill at goco.net
Cc: 'Toni Cosma'; users at www.openswan.org
Subject: Re: [Openswan Users] roadwarrior over pppoe

 

On Tue, 2007-08-28 at 12:13, Peter McGill wrote: 

> B is not getting a good internet connection setup, it can't find

> default route.

> Before you try to start openswan on B, make sure the internet

> connection DSL PPPoE is up and running.

> ifconfig should show an interface for the internet, probably ppp0.

> route should show a default route:

> ie) 0.0.0.0/0 gw ?.?.?.?

 

Actually, there is a bug introduced in version 2.4.9. It was corrected

only for 2.5.x tree, but there is a fix: check out

http://bugs.xelerance.com/view.php?id=824 .

 

Basically, the _startklips script expects an IP for default route; if it

is device route (e.g., "default dev ppp0"), without IP, it tries (and

fails) to use the interface address.

 

> Peter McGill

>  

>         

>         ______________________________________________________________

>         From: users-bounces at www.openswan.org

>         [mailto:users-bounces at www.openswan.org] On Behalf Of Toni

>         Cosma

>         Sent: August 28, 2007 10:22 AM

>         To: users at www.openswan.org

>         Subject: [Openswan Users] roadwarrior over pppoe

>         

>         

>         Hi all,

>          

>         I try to make a roadwarrior tunnel

>         from A to B.

[...]

>          

>         after "ipsec start" B syslog is:

>                 Aug 28 17:06:21 B ipsec__plutorun: ipsec_auto: fatal

>                 error in "A-B_rw": %defaultroute requested but not

>                 known

>                 Aug 28 17:06:21 B ipsec__plutorun: 021 no connection

>                 named "A-B_rw"

>                 Aug 28 17:06:21 B ipsec__plutorun: ...could not route

>                 conn "A-B_rw"

>                 Aug 28 17:06:21 B ipsec__plutorun: 021 no connection

>                 named "A-B_rw"

>                 Aug 28 17:06:21 B ipsec__plutorun: ...could not start

>                 conn "A-B_rw"

>         and A error message after: ipsec auto --up A-B_rw is:

>                     "A-B_rw": cannot initiate connection without

>         knowing peer IP address (kind=CK_TEMPLATE)

>          

>         Thx for help.

 

-- 

Paulo F. Sedrez <sedrez+openswan at sedrez.ods.org>

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20070829/a2d5dafb/attachment-0001.html 


More information about the Users mailing list