[strongSwan] Indirect Subnet Routing Question

T Cheung tccheung1 at gmail.com
Thu Jun 21 07:54:38 CEST 2012


Hi,

I am trying to configure a route to a subnet, but couldn't figured out how.

Here is my setup:

Host A on subnet A (169.254.1.0) with ip address 169.254.1.1.
Host B on subnet B (169.254.2.0) with ip address 169.254.2.1.
Strongswan is running on both Host A and B and have IPsec tunnel
between subnet A and subnet B.

Host C is on subnet B  with ip address 169.254.2.10.  I can ping from
Host A to Host C.

Host C is also on another subnet C (169.254.3.0) with ip address 169.254.3.1.
Host C would not have strongswan.  And Host D is on same subnet C with
ip address 169.254.3.2.

Is there a way to set up a route such that we can ping from Host A to
Host D?  For example, to
install a route on host A that says to get to the 169.254.3.0 net by
going thru 169.254.2.10.  Linux
routing does not know about 169.254.2.10.

Thanks,
Terry




More information about the Users mailing list