netdev
[Top] [All Lists]

Re: 'sit0' tunnel interface

To: Vino Thomas <jvt@xxxxxxxxxxxxxxxx>
Subject: Re: 'sit0' tunnel interface
From: NOGUCHI Kay <kay@xxxxxxxxxxxxxxx>
Date: Thu, 25 Oct 2001 22:23:36 +0900
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.20.0110251746270.2319-100000@vjacob-pc.cisco.com>
References: <Pine.LNX.4.20.0110251746270.2319-100000@vjacob-pc.cisco.com>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryomae) APEL/10.2 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
Hi Vino,

> How do I use the sit0 tunnel interface available in the IPV6 linux
> code? Any pointers for the sample commands/configurations.

        I'm using the sit i/f like below and can communicate even with
        the kame based *bsd IPv6 stacks like a charm.

# ifconfig sit0 tunnel ::<remote IPv4 address>
# ifconfig sit1 mtu 1280

        Note that you should use sit1 i/f, not sit0 i/f, for the communication.
                                 ~~~~
# ifconfig |grep sit
sit0      Link encap:IPv6-in-IPv4  
          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 

sit1      Link encap:IPv6-in-IPv4  
          inet6 addr: fe80::d30f:3460/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1280  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

Thank you

                                                                kay

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