Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 01:30:34 +0100
From:      "Bruno Miguel" <brunomiguel@netcabo.pt>
To:        Freebsd-questions@FreeBSD.ORG
Subject:   Ipsec and routing
Message-ID:  <3B047B3A.27933.502C04@localhost>

next in thread | raw e-mail | index | archive | help
Hello. 

I have a box A on a 192.168.100.0/24 network. I setup a VPN using IPSEC 
to a box B on a 192.168.200.0/24 network. I can ping and do everything ok 
using computers on those private networks and the routing is ok. 
Now I setup today a box C, VPN'ed 192.168.0.0/24 with box A. Everything 
works fine between private subnets A and C, but I can't send from B to C, 
and I don't understand why. I setup on B a route to send to gateway 
192.168.100.1 (A) when sending packets to C, 192.168.0.0/24. I have setup 
that gateway for the 192.168.100.0/24 (A) network also, obviously :). If I 
tcpdump, I see it's not routing to gateway A but is trying to send packets 
directly on the interface, to the default gateway...

What am I doing wrong here ? I know I can set another VPN between A and 
C, but I fail to understand why this doesn't work.

Many thanks in advance !
      
      ...:-=>> The freaking Mail Band <<=-:...
                  hununu@netcabo.pt
             D.E.Q. @ I.S.T. - Portugal

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B047B3A.27933.502C04>