[Openswan Users] really basic peer-to-peer setup

Simon Deziel simon at xelerance.com
Sun May 5 14:42:10 UTC 2013


I'm glad things are working almost completely now. As Nick suggested
earlier, you can use leftsourceip=<GW priv IP> to avoid using "-I <GW
priv IP>" when pinging from either of the gateway to a remote machine.

On 13-05-04 01:53 PM, Alan McKay wrote:
> Horray!  Check it out!  (solexa-db is 192.168.160.10)
> 
> Thanks everyone!   I still have some oddities to work out but I think
> largely I understand now what is going on.
> 
> root at firewall03:~# ping 192.168.160.10 -I 172.30.0.1
> PING 192.168.160.10 (192.168.160.10) from 172.30.0.1 : 56(84) bytes of data.
> ^C
> --- 192.168.160.10 ping statistics ---
> 3 packets transmitted, 0 received, 100% packet loss, time 1999ms
> 
> 
> root at solexa1:~# ssh solexa-db
> Last login: Thu May  2 13:22:18 2013 from 10.242.182.88
> [root at solexa-db ~]# route add -net 172.30.0.0/24 gw 192.168.160.11
> [root at solexa-db ~]#
> 
> 
> root at firewall03:~# ping 192.168.160.10 -I 172.30.0.1
> PING 192.168.160.10 (192.168.160.10) from 172.30.0.1 : 56(84) bytes of data.
> 64 bytes from 192.168.160.10: icmp_req=1 ttl=63 time=0.667 ms
> 64 bytes from 192.168.160.10: icmp_req=2 ttl=63 time=0.536 ms
> ^C
> --- 192.168.160.10 ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 999ms
> rtt min/avg/max/mdev = 0.536/0.601/0.667/0.069 ms
> root at firewall03:~#
> 
> 
> 
> 



More information about the Users mailing list