From owner-freebsd-questions@FreeBSD.ORG Sun Oct 13 20:25:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C5342BFE for ; Sun, 13 Oct 2013 20:25:54 +0000 (UTC) (envelope-from monahbaki@gmail.com) Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF232595 for ; Sun, 13 Oct 2013 20:25:54 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id d7so2294460bkh.26 for ; Sun, 13 Oct 2013 13:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=635XdMd15FgyLvjRjoKE/ZpRH8jicyN6Hfx284VqrR8=; b=x22YEe16BG1hvBEjJc4O7jQrXGxLfIY/DqG/WPMEKBVE/aBdJstQBekMPTnSfDeWBC a2PxynTCDgLewhEG6W144cR/X8s0DYAcLtjEMUmUOG5uJkzuRLtFMjykL7EBLIQERviF nRDebp6XwjrGkiLxAGqaXfgg+KCp+xO6sADEudvM8mi5LxbmF0+AHiF7nsEgcq2MAGwV oZamRHcGwu5PHFPNvknhrtZqwRuu25vUbyeDEJFs7zMNkfCZvYxAKk1JBfwm++omHwnu Kg2P1fEGQUfkKYLI5I7eImX5sBxedOSfq/LffWMz2U/UjwFzTc0LFQHTtJ1NqoVM7nDL Kumg== X-Received: by 10.204.234.8 with SMTP id ka8mr26175179bkb.5.1381695952048; Sun, 13 Oct 2013 13:25:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.111.134 with HTTP; Sun, 13 Oct 2013 13:25:31 -0700 (PDT) From: Monah Baki Date: Sun, 13 Oct 2013 16:25:31 -0400 Message-ID: Subject: Tunnelling between Cisco and Freebsd To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 20:25:54 -0000 Hi all, I am running FreeBSD 9.2. The FreeBSD server in on a private IP, 192.168.1.6. I have only one public IP and that's on my verizon firewall configured to port forward to my FreeBSD server. I do not control the Cisco device, but here is the config that was sent to me: interface Tunnel10 ip address 10.1.1.1 255.255.255.252 tunnel source GigabitEthernet0/0/2.1 (187.255.253.1) tunnel destination 107.48.4.129 Here is what I did on my FreeBSD: ifconfig gre0 create ifconfig gre0 10.1.1.2 10.1.1.1 netmask 255.255.255.252 ifconfig gre0 tunnel 192.168.1.6 187.255.253.1 Now I can ping 10.1.1.1 (his end) But when I try to add a static route for his subnets via his tunnel IP, it fails root@devsrvr:/root # route add -net 187.255.252.0/2210.1.1.1 route: writing to routing socket: Network is unreachable add net 187.255.252.0 : gateway 10.1.1.1: Network is unreachable Am I missing anything? It's my first time configuring a Tunnel. Thanks