[Openswan Users] Ping net-to-net

Alexander Samad alex at samad.com.au
Fri Apr 30 17:20:44 CEST 2004


Having a guess, if you are ping from the gateway machines your src
address is set wrong

on mrc do something like (presuming remote net is 192.168.1.0 and local
lan address is 192.168.0.1)

ip r a 192.168.1.0/24 src 192.168.0.1 via 134.215.197.89

you might need dev or via


Alex


On Fri, Apr 30, 2004 at 01:21:25AM -0400, simprix wrote:
> I can't ping between these networks but the vpn gets established and
> everything and im noticing anything weird in the config files. My config
> files look like this
> 
> Net A ----
> 
> conn mrc-to-dunes
>         left=134.215.193.94
>         leftnexthop=134.215.193.93
>         leftsubnet=192.168.1.0/24
>         leftid=@gw001.cdsoc.org
>         leftrsasigkey=....
>         right=134.215.197.90
>         rightsubnet=192.168.0.0/24
>         rightid=@gw002.cdsoc.org
>         rightrsasigkey=....
>         rightnexthop=134.215.197.89
>         auto=start
> 
> Net B ----
> 
> conn dunes-to-mrc
>         left=134.215.197.90
>         leftnexthop=134.215.197.89
>         leftsubnet=192.168.0.0/24
>         leftid=@gw002.cdsoc.org
>         leftrsasigkey=....
>         right=134.215.193.94
>         rightnexthop=134.215.193.93
>         rightsubnet=192.168.1.0/24
>         rightid=@gw001.cdsoc.org
>         rightrsasigkey=....
>         auto=start
> 
> 
> Thanks alot
> 
> _______________________________________________
> Users mailing list
> Users at lists.openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openswan.org/pipermail/users/attachments/20040430/8dc64b6f/attachment-0001.bin


More information about the Users mailing list