Date: Sun, 13 Oct 2013 16:25:31 -0400 From: Monah Baki <monahbaki@gmail.com> To: freebsd-questions@freebsd.org Subject: Tunnelling between Cisco and Freebsd Message-ID: <CALP3=x--XDhiMRhV5FfA=o47FpwQ%2BHLwtgg6vrvU8ta5agshAg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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/22<http://197.255.252.0/22>10.1.1.1 route: writing to routing socket: Network is unreachable add net 187.255.252.0 <http://197.255.252.0>: gateway 10.1.1.1: Network is unreachable Am I missing anything? It's my first time configuring a Tunnel. Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALP3=x--XDhiMRhV5FfA=o47FpwQ%2BHLwtgg6vrvU8ta5agshAg>