Date: Wed, 27 Aug 2003 11:01:51 +0700 From: hilman firmansyah <hilman@nap.net.id> To: <freebsd-net@freebsd.org> Subject: Gif IPTunnel networkA-to-networkB not work Message-ID: <063501c36c4f$f38f8030$4ea33bca@hilman> References: <20030827030314.GJ40033@pixies.tirloni.org>
index | next in thread | previous in thread | raw e-mail
Hi,
I had a problem with my virtual tunnel here, since i couldnt make 2 separate
networks from different location connected via tunnel i made with interface
gif.
net A ----------------fbsd A --------------------- fbsd B --------- net B
1.1.1.0/24 203.50.166.76 202.53.167.77
2.2.2.0/24
|
|
|________tunnel gif________|
3.3.3.1/30
3.3.3.2/30
On net A i have PC win2k 1.1.1.2
On fbsd A i have 1.1.1.1 and 203.50.166.76
On net B I have PC win2k 2.2.2.2
On fbsd B I have 2.2.2.1 and 202.53.167.77
I make the gif tunnel in freebsd A with :
----------------------------
ifconfig gif create
gifconfig gif0 203.50.166.76 202.53.167.77
ifconfig gif0 inet 3.3.3.1 3.3.3.2 netmask 0xffffffff
ipfw add 1 allow ip from any to any via gif0
----------------------------
Than to reach the others networks :
route add -net 2.2.2.0/24 3.3.3.2
I configure freebsd B like freebsd A with opposite .
But why I still couldn`t ping from pc A 1.1.1.2 to pc B 2.2.2.2
Indeed.. I couldn`t ping from pc A 1.1.1.2 to the opposite gif tunnel Point
to point in freebsd B 3.3.3.2
Anybody could help,
regards
NB : I still dont touch the IPSEC and encrypted section ,since in the fbsd
handbooks said to make an encrypted section i must have the 2 networks
connected. Is this right?
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?063501c36c4f$f38f8030$4ea33bca>
