Message-ID: <4L6QWP$8Kp@bbs.ustc.edu.cn>
Subject: ����IPv6�������������
Date: Tue, 08 Nov 2005 02:45:44 +0000
From: HiHi.bbs@bbs.ustc.edu.cn (asdfghQQ)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.network.research.mbox.zip!g2news1.google.com!news4.google.com!news.glorb.com!news.neu.edu.cn!news.happynet.org!bbsnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.network.research
Organization: 嫺�����
X-Filename: IPng/M.1131417625.A
Lines: 100
Xref: 74.82.202.154 cn.bbs.comp.network.research:585

���前���前��jiames�诺姆��� ����
��� �诓�v6��没������ ���不��

1.��鼗����� Mandrake  2.4.22-28mdksmp
  ��鼗�������V6 IP�� 2001:da8:d800:356:211:86:156:111  eth0
          ����V6 IP�� 2001:da8:d800:2356::1             eth1
  ���路��
   ip route add 2000::0/3  via 2001:da8:d800:356::1
   ipv6 forwarding��为1
   cat /proc/sys/net/ipv6/conf/all/forwarding
   1

2.radvd �����院�
  �����诘幕��������缘玫� 2001:da8:d800:2356��头��V6��址

3. ���������诘幕����互��V6�互�����苑��实�

4. �����诘幕���
    ping 2001:da8:d800:356:211:86:156:111
PING 2001:da8:d800:356:211:86:156:111(2001:da8:d800:356:211:86:156:111) 56 
data bytes
64 bytes from 2001:da8:d800:2356::1: icmp_seq=1 ttl=64 time=0.389 ms
64 bytes from 2001:da8:d800:2356::1: icmp_seq=2 ttl=64 time=0.202 ms
64 bytes from 2001:da8:d800:2356::1: icmp_seq=3 ttl=64 time=0.183 ms

����
5. �����诘幕����������通讯������
   traceroute6  2001:da8:d800::3
   traceroute to 2001:da8:d800::3 (2001:da8:d800::3) from 
2001:da8:d800:2356:250:25ff:fec4:38d5, 30 hops max, 16 byte packets
 1  cernet2.net (2001:da8:d800:2356::1)  2.595 ms  2.652 ms  0.268 ms
 2  * *

   �������某台���� ping ��氐�eth1 也�遣�通��
PING 2001:da8:d800:2356::1(2001:da8:d800:2356::1) 56 data bytes

--- 2001:da8:d800:2356::1 ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 9998ms

6.�������

  ip -6 route show dev eth0

2001:da8:d800:356::/64  metric 1024  mtu 1500 advmss 1440
2000::/3 via 2001:da8:d800:356::1  metric 1024  mtu 1500 advmss 1440
fe80::/64  metric 256  mtu 1500 advmss 1440
ff00::/8  metric 256  mtu 1500 advmss 1440
default via fe80::212:44ff:fe66:2000  metric 1024  mtu 1500 advmss 1440
default via 2001:da8:d800:356::1  metric 1024  mtu 1500 advmss 1440
=============================================================
    ip -6 route show dev eth1

2001:da8:d800:2356::/64  metric 1024  mtu 1500 advmss 1440
fe80::/64  metric 256  mtu 1500 advmss 1440
ff00::/8  metric 256  mtu 1500 advmss 1440

==============================================================
  route -A inet6
Kernel IPv6 routing table
Destination                                 Next 
Hop                                Flags Metric Ref    Use Iface
::1/128                                     
::                                      U     0      6        0 lo
2001:da8:d800:356:211:86:156:111/128        
::                                      U     0      228       0 lo
2001:da8:d800:356::/64                      
::                                      U     1024   4        0 eth0
2001:da8:d800:2356::1/128                   
::                                      U     0      138       0 lo
2001:da8:d800:2356:250:25ff:fec4:38d5/128   
2001:da8:d800:2356:250:25ff:fec4:38d5   UC    0      5        2 eth1
2001:da8:d800:2356::/64                     
::                                      U     1024   0        0 eth1
2000::/3                                    
2001:da8:d800:356::1                    UG    1024   1166       0 eth0
fe80::/128                                  
::                                      U     0      0        0 lo
fe80::201:2ff:fe94:3172/128                 
::                                      U     0      67       0 lo
fe80::250:4ff:feba:a4a/128                  
::                                      U     0      62       0 lo
fe80::/64                                   
::                                      U     256    0        0 eth0
fe80::/64                                   
::                                      U     256    0        0 eth1
ff02::1/128                                 
ff02::1                                 UC    0      1        1 eth1
ff00::/8                                    
::                                      U     256    0        0 eth0
ff00::/8                                    
::                                      U     256    0        0 eth1
::/0                                        
fe80::212:44ff:fe66:2000                UG    1024   71       0 eth0
::/0                                        
2001:da8:d800:356::1                    UG    1024   0        0 eth0

�芯�������鼗��������ipv6转���������耍�
����forwarding��1�陌�
��知����������������