Petr Baudis a �crit :
> 
> Dear diary, on Thu, May 23, 2002 at 08:26:20AM CEST, I got a letter,
> where Jean-Mickael Guerin <[EMAIL PROTECTED]> told me, that...
> > Does anyone know how to configure IPv4-in-IPv6 tunnels on linux, if
> > possible ?
> 
> Basically, it depends what tunnel do you exactly want. It can boil down to
> something pretty simple, like:

Thanks you, what I exactly want is IPv4 traffic going into IPv6 tunnel.

> 
>   iptunnel add tunnel0 mode sit local 1.2.3.4 remote 4.5.6.7 ttl 64
>   ifconfig tunnel0 up
>   route -A inet6 add default dev tunnel0
>   ifconfig tunnel0 add 3ffe:1234:5678::abcd
> 
Looks like IPv6 in IPv4 ?
In my case I need something like :

iptunnel add tunnel0 mode ipip |gre|sit local <src6@> remote <dst6@>

but whatever mode is (ipip, gre, sit) the error is "<src6> is invalid
IPv4 address"

What kind of pseudo-interface I need to use to set up IPv6 tunnel ?

Jean-Mickael



> (note that this works for unnumbered tunnels; I think it should work for
> numbered tunnels w/o any problems as well, but who knows - just try it)
> 
> Or you can choose the way of pain, not using iptunnel but ifconfig sit1 tunnel,
> however I gave up for that actually already very long ago, so I can't advise
> you there.
> 
> --
> 
>                                 Petr "Pasky" Baudis
> 
> * ELinks maintainer                * IPv6 guy (XS26 co-coordinator)
> * IRCnet operator                  * FreeCiv AI hacker
> .
> Object orientation is in the mind, not in the compiler. -- Alan Cox
> .
> Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/
---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to