Nazaretyan's blog blog about everthing ….

26Jan/101

configuring tunneling for ipv6

hey :)

again thanks for he.net for this wonderful appartunity to use IPv6 without own zone ... blablabla :)

and here is some examples how to configure IPv6 tunnel.

lats start.

1.Linux with iproute

modprobe ipv6
ip tunnel add new-ipv6 mode sit remote IP_ADDRESS local IP_ADDRESS ttl 255
ip link set new-ipv6 up
ip addr add IPv6_ADDRESS dev new-ipv6
ip route add ::/0 dev new-ipv6
ip -f inet6 addr

2.linux with net-tools
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::IPv4_LIKE_IPv6_ADDRESS
ifconfig sit1 up
ifconfig sit1 inet6 add IPv6_ADDRESS
route -A inet6 add ::/0 dev sit1

3.Sun Solaris

ifconfig ip.tun0 inet6 plumb
ifconfig ip.tun0 inet6 tsrc IP_LOCAL tdst IP_REMOTE up
ifconfig ip.tun0 inet6 addif TUN_IPv6_ADDRESS_LOCAL TUN_IPv6_ADDRESS_REMOTE up
route add -inet6 default REMOTE_TUN_IPv6_ADDRESS

this is all for today. if somebody needs it for BSD like system or for windows comment here, i will send you configuration.

whishes.
Moushegh

Comments (1) Trackbacks (0)
  1. Maann, that’s cool! You’re a real geek of OSS)))


Leave a comment

(required)

No trackbacks yet.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes