(usagi-users 03512) Re: How to create an ip6-in-ip6 tunnel and ip4-over-ip6 tunnel in linux ??
Noriaki TAKAMIYA <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
Hi, >> Thu, 6 Oct 2005 14:15:23 +0530 >> [Subject: (usagi-users 03510) How to create an ip6-in-ip6 tunnel and ip4-over-ip6 tunnel in linux ??] >> Pramendra Singh <[email protected]> wrote... > can anyone please let me know how to create an ip6-in-ip6 tunnel > and ip4-over-ip6 tunnel in linux. is these tunnels are supported by > iproute2 tool?? please let me know the command or any document > which I should refer , if anyone of you have worked > on this. To configure ip6-in-ip6 tunnle, you can use ipv6tunnel. It is installed as /usr/local/v6/sbin/ipv6tunnel. ex. -------------------------------------------------- # modprobe ip6_tunnel (if you built with CONFIG_IPV6_TUNNEL=m) # ipv6tunnel add mytun0 remote ::1 local ::1 dev eth0 encaplimit none # ifconfig mytun0 up # ifconfig mytun0 mytun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet6 addr: fe80::20b:dbff:fe5a:8063/64 Scope:Link UP RUNNING NOARP MTU:1460 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:3 dropped:3 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) # -------------------------------------------------- Unfortunately, ip4-over-ip6 cannot be configured. Regards, -- Noriaki Takamiya