[Users] sit interface support

E Frank Ball III efball at efball.com
Sat Jan 28 20:48:25 EST 2012


On Sat, Jan 28, 2012 at 02:55:39PM -1000, Antonio Querubin wrote:
 > Are sit tunnel interfaces supported in containers?  I want to
 > virtualize a tunnel server but the sit interface isn't created.
 > The standard network startup script complains:
 > 
 > Bringing up interface sit1:  ioctl: No such device
 > 
 > The host and container are both SL 6.1.

You need "tb-tun"
http://code.google.com/p/tb-tun/
http://code.google.com/p/tb-tun/wiki/HOWTO

I'm using it with a he.net 6to4 IPv6 tunnel.

I put this in /etc/rc.local:

setsid /usr/local/sbin/tb_userspace tb 66.220.18.42 xxx.xxx.xxx.xxx sit > /dev/null &
ifconfig tb up
ifconfig tb inet6 add 2001:470:x:xxx::2/64
ifconfig tb mtu 1480
route -A inet6 add ::/0 dev tb
ip -6 addr add 2001:470:x:xxx::xxx6 dev tb
ip -6 addr add 2001:470:x:xxx::xxx3 dev tb

I'm using Debian, but SL shouldn't be much different.

-- 

  Frank Ball  efball at efball.com


More information about the Users mailing list