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?
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
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
|