On Thu, 8 Jul 1999, Steve Meuse wrote:
> Has anyone been able to sucessfully get IPIP encapsulation to work on a
> 2.2.x kernel?
Yup. It's different than before. You need the new /sbin/ip tool to
configure tunnels. It is needed for a lot of other things too, like policy
routing, other tunnels, and ipv6...
root@funk:/etc/rc.d#> cat rc.tun-up
#!/bin/bash
echo "Configuring Amprnet IPIP tunneling...."
ifconfig tunl0 44.139.39.66 mtu 250 up
# Amprnet routing...
ip route del 44.0.0.0/8
ip route add 44.0.0.0/8 via 195.148.207.30 dev tunl0 onlink
The onlink keyword is the important part.
ftp.funet.fi:/pub/mirrors/ftp.inr.ac.ru/ip-routing/iproute2-current.tar.gz
or directly from ftp.inr.ac.ru (usually slow).
(btw, my machines are on the 6bone, and have AAAA records on the DNS.
Should enable apache and proftpd to talk ipv6 some day.)
- Hessu