Tunnelling between Cisco and Freebsd

krad kraduk at gmail.com
Tue Oct 15 08:35:02 UTC 2013

check the tunnel status as when i create on by default its not up

# ifconfig gre0
gre0: flags=9010<POINTOPOINT,LINK0,MULTICAST> metric 0 mtu 1476
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

to fix

# ifconfig gre0 up
# ifconfig gre0
gre0: flags=9011<UP,POINTOPOINT,LINK0,MULTICAST> metric 0 mtu 1476
        inet6 fe80::a00:27ff:fe7d:7332%gre0 prefixlen 64 scopeid 0x6
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

If you still have issues, you may need to specify the public ip on the
tunnel config. I seem to remember having to do this years ago with some gif
tunnels, but it may well be wrong now, maybe someone else can comment on


ifconfig gre0 tunnel

You might have to bind the public ip to your loopback to make this work.

On 13 October 2013 21:25, Monah Baki <monahbaki at gmail.com> wrote:

> Hi all,
> I am running FreeBSD 9.2. The FreeBSD server in on a private IP,
> 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
> tunnel source GigabitEthernet0/0/2.1 (
> tunnel destination
> Here is what I did on my FreeBSD:
> ifconfig gre0 create
> ifconfig gre0 netmask
> ifconfig gre0 tunnel
> Now I can ping (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
> route: writing to routing socket: Network is unreachable
> add net <>: gateway Network is
> unreachable
> Am I missing anything? It's my first time configuring a Tunnel.
> Thanks
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list