[Openswan Users] X-WRT (Openwrt) - "inet: Unknown host" & "We cannot identify ourselves with either end of this connection" errors - HELP PLEASE !!!

Paul Wouters paul at xelerance.com
Wed May 2 10:28:26 EDT 2007


On Tue, 1 May 2007, Sergio Aguilera wrote:

> I'm getting the following errors:
>
> 1-)  "ifconfig: inet: Unknown host" error when I start/restart IPSec

http://lists.openswan.org/pipermail/cvs/2007-April/006044.html

> 2-) "We cannot identify ourselves with either end of this connection"
> when I try and bring up a tunnel

openswan cannot determine if it is left or right. Could be a number of
reasons
1 ip in config doesnt match ip on machine
2 interface where ip is on, isnt listed with interfaces= option
3 incorrect use of %any (where %defaultroute was meant)

>   interfaces="ipsec0=br0"

>   #left side is home
>   left=202.168.21.181

>   right=60.242.104.57

> br0       Link encap:Ethernet  HWaddr 00:11:2F:E0:FE:A2
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0

> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:202.168.21.181  P-t-P:203.221.196.1  Mask:255.255.255.255

Seems to be 2) in your case.

Paul
-- 
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list