Hi,

I'm trying to set an IPv6 tunnel but the lack of documentation
especially about the sit devices makes it a bit difficult.
So here is the problem:
The G6bone gave me the prefix 3ffe:304:123::/48
The prefix of the G6bone is 3ffe:304:101::/48

This how i should theorically set up the tunnel:
Myself                <---Tunnel--->              G6bone
IPv6 address:                                            IPv6 add:
3ffe:304:101:111:13:1:0:2/124
3ffe:304:101:111:13:1:0:1/124
IPv4 address:                                             IPv4 add
123.123.123.123                                        194.57.138.60

First question:
Why does the end of the tunnel on my side has an IPv6 address which
belongs to the G6bone domain?
Which interface will have this IPv6 add?
e.g. do I have to make an ifconfig eth0 add
3ffe:314:101:111:13:1:0:2/124 ? or ifconfig sit0 add
3ffe:314:101:111:13:1:0:2/124 ?

Here is what I've done to set up the tunnel (I've read this in
mailing-lists archives but I didn't understand everything):
#ifconfig eth0 3ffe:304:123::1111/48
#ifconfig sit0 up
#ifconfig sit0 tunnel ::194.57.138.60
#ifconfig sit1 up
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:4F:DD:8A:5D
          inet addr:123.123.123.123  Bcast:123.123.123.???
Mask:255.255.255.224
          inet6 addr: fe80::2c0:4fff:fedd:8a5d/10 Scope:Link
          inet6 addr: 3ffe:304:113::1111/48 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2882 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x250

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

sit0      Link encap:IPv6-in-IPv4
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          inet6 addr: ::123.123.123.123/96 Scope:Compat
          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

sit1      Link encap:IPv6-in-IPv4
          inet6 addr: fe80::c2a7:e829/10 Scope:Link
          UP POINTOPOINT 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

#route -A inet6 add 3ffe::/16 gw fe80::194.57.138.60 dev sit1
#route --inet6
Destination                                 Next
Hop                                Flags Metric Ref    Use Iface
::1/128
::                                      U     0      0        0 lo
::127.0.0.1/128
::                                      U     0      0        0 lo
::123.123.123.123/128
::                                      U     0      0        0 lo
::/96
::                                      U     256    0        0 sit0
3ffe::/16
fe80::c239:8a3c                         UG    1      0        0 sit1
fe80::c2a7:e829/128
::                                      U     0      0        0 lo
fe80::2c0:4fff:fedd:8a5d/128
::                                      U     0      0        0 lo
fe80::/10
::                                      UA    256    0        0 eth0
fe80::/10
::                                      UA    256    0        0 sit1
ff00::/8
::                                      UA    256    0        0 eth0
ff00::/8
::                                      UA    256    0        0 sit1
::/0
::                                      UDA   256    0        0 eth0

What are these sit devices exactly?
Why are there two sit devices sit0 and sit1 ?
How can I see what goes to/from these devices ?
What really happens when I send an IPv6 packet with a destination
address which begins by 3ffe ?
How does this all works??

When I try to ping6 a remote host I have no response.
Here is a tcpdump:
# tcpdump -n -i eth0 ether host 00:C0:4F:DD:8A:5D
tcpdump: listening on eth0
18:54:49.446621 123.123.123.123 > 194.57.138.60: ip-proto-41 104 (DF)
18:54:50.446636 123.123.123.123 > 194.57.138.60: ip-proto-41 104 (DF)
....

Thanks for helping
        Pierre


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to