Tunnelling between Cisco and Freebsd
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
# 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
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 220.127.116.11 18.104.22.168
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,
> 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
> interface Tunnel10
> ip address 10.1.1.1 255.255.255.252
> tunnel source GigabitEthernet0/0/2.1 (22.214.171.124)
> tunnel destination 126.96.36.199
> 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 188.8.131.52
> 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
> root at devsrvr:/root # route add -net
> route: writing to routing socket: Network is unreachable
> add net 184.108.40.206 <http://220.127.116.11>: gateway 10.1.1.1: Network is
> Am I missing anything? It's my first time configuring a Tunnel.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions