Tunnelling between Cisco and Freebsd

Monah Baki monahbaki at gmail.com
Sun Oct 13 20:25:54 UTC 2013


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 at 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


More information about the freebsd-questions mailing list