netdev
[Top] [All Lists]

Re: problem with ipv6 tunneling

To: netdev@xxxxxxxxxxx
Subject: Re: problem with ipv6 tunneling
From: Loic Le Loarer <loic.le-loarer+kernel@xxxxxxxxxxxxxxxxx>
Date: Wed, 20 Jun 2001 18:19:28 +0200
In-reply-to: <Pine.LNX.4.33.0106201608190.26486-100000@netcore.fi>; from pekkas@netcore.fi on Wed, Jun 20, 2001 at 04:18:54PM +0300
References: <20010620145410.B6185@alibaba.le-loarer.org> <Pine.LNX.4.33.0106201608190.26486-100000@netcore.fi>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.3.15i
Le mercredi 20 juin 2001 à 16:18:54 +0300, Pekka Savola a écrit:
> On Wed, 20 Jun 2001, Loic Le Loarer wrote:
> > The ifconfig sit0 up command works well and adds this to ifconfig result :
> > sit0      Link encap:IPv6-in-IPv4
> >           inet6 addr: ::195.154.54.178/96 Scope:Compat
> >           inet6 addr: ::127.0.0.1/96 Scope:Unknown
> >           UP RUNNING NOARP  MTU:1480  Metric:1
> >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:0
> >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >
> > but when I try to configure this tunnel with I get :
> > [root@alibaba ~]# ifconfig sit0 tunnel ::206.123.31.102
> > SIOGIFINDEX: Bad file descriptor
> 
> These commands work just fine on my 2.4 kernel (RHL71 system). Which
> kernel are you using?

I am using Mandrake 8.0 with and upgraded kernel 2.4.5.

> You could also try to use the equivalent command with /sbin/ip (it's a lot
> more reliable anyway), like:
> /sbin/ip tunnel add sit2 mode sit ttl 64 remote 206.123.31.102

Well, this command works and remplace ifconfig sit1 tunnel ::206.123.31.102 
command
but it is not enough, and I use a command :
ip addr add "my_ipv6_address" dev sit1
instead of  ifconfig sit1 add "my_ipv6_address"

So I do not know why but ifconfig is bogus on Mandrake 8.0 !
Thank you very much for the help ! it works now.
-- 
Loïc

mel : loic.le-loarer@xxxxxxxxxxxxxxxxx
toile : http://www.le-loarer.org/

"heaven is not a place, it's a feeling"
"Il y a 3 catégories de mathématiciens.  Ceux qui savent compter, et ceux qui 
ne savent pas."
"Le mois de l'année où le polytechnicien dit le moins de conneries, c'est le 
mois de février, parce qu'il n'y a que vingt-huit jours". (Coluche)

<Prev in Thread] Current Thread [Next in Thread>