Gif IPTunnel networkA-to-networkB not work

hilman firmansyah hilman at
Tue Aug 26 20:56:07 PDT 2003


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

   net A ----------------fbsd A --------------------- fbsd B --------- net B             
                                          |________tunnel gif________|

On net A i have PC win2k
On fbsd A i have and

On net B I have PC win2k
On fbsd B I have and

I make the gif tunnel in freebsd A with :

ifconfig gif create

gifconfig gif0
ifconfig gif0 inet netmask 0xffffffff
ipfw add 1 allow ip from any to any via gif0

Than to reach the others networks :

route add -net

I configure freebsd B like freebsd A with opposite .

But why I still couldn`t ping from pc A to  pc B
Indeed.. I couldn`t ping from pc A to the opposite gif tunnel Point
to point in freebsd B

Anybody could help,


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?

More information about the freebsd-net mailing list