Recursive Tunneling

Link King king at kinger.net
Mon Aug 11 10:53:00 PDT 2003


I'm trying to setup multiple layers of IPIP tunnels on a FreeBSD system
(destined to Cisco routers).  I have what I believe is the correct setup
on the FreeBSD box but am getting a ping error when testing the second
IPIP tunnel:

bash-2.05b# ping 10.2.2.2
PING 10.2.2.2 (10.2.2.2): 56 data bytes
ping: sendto: Input/output error
ping: sendto: Input/output error
ping: sendto: Input/output error

The first tunnel works fine and if I generate the ping from the Cisco side
(on the second tunnel) the packets get to the FreeBSD box just fine.
Here's my interface config:

bash-2.05b# gifconfig -a
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        inet 10.1.1.1 --> 10.1.1.2 netmask 0xfffffffc
        inet6 fe80::2e0:81ff:fe24:eff4%gif0  prefixlen 64
        physical address inet xxx.xxx.xxx.125 --> xxx.xxx.xxx.234
gif1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        inet 10.2.2.1 --> 10.2.2.2 netmask 0xfffffffc
        inet6 fe80::2e0:81ff:fe24:eff4%gif1  prefixlen 64
        physical address inet 10.1.1.1 --> 10.1.1.2

Can anyone tell me what I've got setup wrong here or at the least what the
'Input/output error' indicates?

Link King
king at kinger.net


More information about the freebsd-net mailing list