Gif IPTunnel networkA-to-networkB not work

From: hilman firmansyah (hilman_at_nap.net.id)
Date: 08/27/03

  • Next message: Oldach, Helge: "RE: Gif IPTunnel networkA-to-networkB not work"
    To: <freebsd-net@freebsd.org>
    Date: Wed, 27 Aug 2003 11:01:51 +0700
    
    

    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?

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Oldach, Helge: "RE: Gif IPTunnel networkA-to-networkB not work"

    Relevant Pages

    • Connect two LANs over an IPv4 tunnel?
      ... The OpenBSD man page mentioned bridge and gif in one sentence, ... home IP aliases to the work box's ethernet interface and using forwarding ... Routing to the home IP's works LOCALLY from workbox, ... Both networks use RFC1918 private addresses. ...
      (freebsd-net)
    • Re: IPSec tcp session stalling ( me too ) ...
      ... As soon as a gif interface is involved, ... checked with udp) session running inside the gif tunnel breaks. ... When either not using IPSec, not enabling pf or not using gif - ...
      (freebsd-net)
    • RE: IPSEC tunnel issue..
      ... > secure tunnel between these two networks and I'm having some ... > tunnel endpoints. ... you're running the FreeBSD firewall in ... build the tunnel and route anything that isn't through the ...
      (freebsd-questions)
    • FreeBSD tunnels / performance etal (gif/tun etc.)
      ... We've routed multiple class C networks over the tunnel - only to find the ... If I do a transfer from the machines 'wan' facing addresses directly, ...
      (freebsd-questions)
    • Cisco VPN AIM: is really needed for me?
      ... public /29 range for my servers ... I wuold like to establish a VPN Tunnel from site A to site B: ... I am not sure if I will use 3DES 168 or AES. ... networks: no file sharing, no netbios in it, just some RDP, ssh connections ...
      (comp.dcom.sys.cisco)