[strongSwan] host could not reach to the internal PC after virtual IP is assigned.

Baizhan Li label.sr at gmail.com
Thu Jan 20 09:29:28 CET 2011


Hi:
	The output is this when execute "ip route show table 220"
10.1.0.0 via 10.2.0.1 dev eth0  proto static  src 10.1.0.120



-----Original Message-----
From: Martin Willi [mailto:martin at strongswan.org] 
Sent: 2011年1月20日 16:25
To: Baizhan Li
Cc: users at lists.strongswan.org
Subject: Re: [strongSwan] host could not reach to the internal PC after virtual IP is assigned.

Hi,

> 13[IKE] CHILD_SA hnb{1} established with SPIs cd15012c_i c9f2481c_o
> and TS 10.1.0.120/32 === 10.1.0.0/32 

The tunnel gets established successfully. What's not working?

> According to the 5), it seems that the subnet 10.1.0.0 is not route to
> 192.168.0.61(the gateway sun’s IP). Why?

charon installs routes by default to the dedicated table 220, try

  ip route show table 220

Regards
Martin





More information about the Users mailing list