[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02073) Problem about 6to4 tunnel.



Hi.

I try to make an IPv6 over IPv4 tunnel.
My linux box uses Kondara Linux 2.1 and usagi (20021209-snapshot) and it has
two network cards(eth0 and eth1). At first, I try to use it as only v6 host.

During the experiment, there are some problems.
------------------------------------------------------------------------
bash-2.05$ iptunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
sit1: ipv6/ip  remote 150.65.236.22  local any  ttl 64
bash-2.05$ ifconfig sit1
sit1      Link encap:IPv6-in-IPv4
          inet6 addr: fe80::9641:2913/64 Scope:Link
          inet6 addr: fe80::c0a8:1/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1

bash-2.05$ ping6 ff02::1%sit1
PING ff02::1%sit1(ff02::1%sit1) from fe80::c0a8:1%sit1 : 56 data bytes
64 bytes from ::1: icmp_seq=1  ttl=64 time=0.307 ms
64 bytes from ::1: icmp_seq=2  ttl=64 time=0.248 ms
64 bytes from ::1: icmp_seq=3  ttl=64 time=0.352 ms

--- ff02::1%sit1 ping statistics ---
3 packets transmitted, 3 received, 0% loss, time 2013ms
rtt min/avg/max/mdev = 0.248/0.302/0.352/0.044 ms

[root@kagaribi root]# ifconfig sit1 del fe80::c0a8:1/64
[root@kagaribi root]# ping6 ff02::1%sit1
PING ff02::1%sit1(ff02::1%sit1) from fe80::9641:2913%sit1 : 56 data bytes
64 bytes from ::1: icmp_seq=1  ttl=64 time=0.317 ms
64 bytes from fe80::9641:ec16%sit1: icmp_seq=1  ttl=255 time=1.10 ms (DUP!)
64 bytes from ::1: icmp_seq=2  ttl=64 time=0.360 ms
64 bytes from fe80::9641:ec16%sit1: icmp_seq=2  ttl=255 time=1.05 ms (DUP!)

--- ff02::1%sit1 ping statistics ---
2 packets transmitted, 2 received, +2 duplicates, 0% loss, time 1008ms
rtt min/avg/max/mdev = 0.317/0.708/1.104/0.371 ms
------------------------------------------------------------------------

------ /etc/sysconfig/network-scripts/ifcfg-sit1 ------
DEVICE=sit1
BOOTPROTO=none
ONBOOT=yes
IPV6INIT=yes
IPV6TUNNELIPV4=150.65.236.22
IPV6ADDR=fe80::9641:2913/64
IPV6_AUTOCONF=yes
#(The machine "150.65.236.22" is a Solaris8 workstation)
-------------------------------------------------------

I try to send a ping to bloadcast address, but it failed. Then I delete the 
sit1 addr(fe80::c0a8:1/64), and it succeed. So, I want to change the addresses
 that sit1 binds in "/etc/sysconfig/network-scripts/ifcfg-sit1".

How to change the files ?

Thanks.
--

==========================================================
Japan Advanced Institute of Science and Technology
-------
Name:Tomofumi Hayashi
E-Mail Address: thayashi@xxxxxxxxxxx
URL:http://www.jaist.ac.jp/~thayashi/
==========================================================