From owner-IPv6-jp@jp.freebsd.org  Wed Apr 22 12:12:01 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id MAA18662
	Wed, 22 Apr 1998 12:12:01 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id MAA18655
	for <IPv6-jp@jp.freebsd.org>; Wed, 22 Apr 1998 12:11:57 +0900 (JST)
Received: from nito.claire.co.jp (rhapsody.claire.co.jp [172.29.81.82]) by ns.claire.co.jp (8.8.5/3.4W3) with SMTP id MAA10130 for <IPv6-jp@jp.freebsd.org>; Wed, 22 Apr 1998 12:14:40 +0900
Message-Id: <199804220311.AA00014@nito.claire.co.jp>
From: Kazunori Nito <nito@claire.co.jp>
Date: Wed, 22 Apr 1998 12:11:56 +0900
To: IPv6-jp@jp.freebsd.org
In-Reply-To: <2338.893209546@coconut.itojun.org>
MIME-Version: 1.0
X-Mailer: AL-Mail32 Version 1.01
Content-Type: text/plain; charset=iso-2022-jp
Reply-To: IPv6-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: IPv6-jp 36
Subject: [IPv6-jp 36] Re: =?ISO-2022-JP?B?GyRCI0kjUCNWIzYhXSNWGyhK?=
 =?ISO-2022-JP?B?GyRCIzQ2JkI4NEQ2LSROQF9Eakp9SyEkcjY1JCgkRiQvGyhK?=
 =?ISO-2022-JP?B?GyRCJEAkNSQkISMbKEI=?=
Errors-To: owner-IPv6-jp@jp.freebsd.org
Sender: owner-IPv6-jp@jp.freebsd.org

$B$3$s$K$A$O!#(B

$B?NF#$G$9!#(B

In message "[IPv6-jp 35] Re: $B#I#P#V#6!]#V#46&B84D6-$N@_DjJ}K!$r65$($F$/$@$5$$!#(B",
Jun-ichiro itojun Itoh wrote...

$B$A$g$C$H>pJs$,$?$j$^$;$s$G$7$?!#(B
$B$h$m$7$/$*4j$$$7$^$9!#(B

 >
 >>FreeBSD2.2.5-RELEASE$B$K#H(Bydrangea$B$rF~$l$F4D6-$r:n@.$7$?$N$G$9$,(B
 >>$B4D6-@_Dj$NJ}K!$,$o$+$i$J$/$F:$$C$F$$$^$9!#(B
 >>$B$"$kDxEY@_Dj$r$7$F#I#P#v#6$H#I#P#v#4$bN)$A>e$,$C$F$$$k$N$G$9$,(B
 >>telnet $B$d(B ping $B$r$9$k$HCY$/$F:$$C$F$$$^$9!#(B
 >
 >	$B$3$l$G$O!"$J$K$,$*$=$$$N$+$o$+$i$X$s$G$9$,!#(B

$B#L#i#n#u#x$N%^%7%s$H#I#P#v#4$G(B telnet $B@\B3$r9T$&$H(B
SYN ACK$B8e$N(BACK$B$,DLCN$5$l$^$G#2IC$b$+$+$C$F$$$^$9!#(B

$B7P83E*$K$=$s$J$K$+$+$k$3$H$O$J$$$H;W$C$F$$$^$9!#(B
tcpdump $B$r$H$k$H$3$s$JFbMF$G$9!#(B
gateway $B$,(BLINUX$B%^%7%s$G!"<+J,$N(BBSD$B%^%7%s$,(B rhapsody $B$G$9!#(B

11:14:02.207377 rhapsody.claire.co.jp.1027 > gateway.claire.co.jp.telnet: S 461873626:461873626(0) win 16384 <mss 1460,nop,wscale    
0,nop,nop,timestamp[|tcp]> (DF) [tos 0x10]
11:14:02.207377 gateway.claire.co.jp.telnet > rhapsody.claire.co.jp.1027: S 3492989310:3492989310(0) ack 461873627 win 32736 <mss 1460>
11:14:04.047377 kurihara2.claire.co.jp.1116 > ns.claire.co.jp.pop-3: S 4550105:4550105(0) win 8192 <mss 1460> (DF)
11:14:04.047377 ns.claire.co.jp.pop-3 > kurihara2.claire.co.jp.1116: S 2555733091:2555733091(0) ack 4550106 win 32736 <mss 1460>
11:14:04.047377 kurihara2.claire.co.jp.1116 > ns.claire.co.jp.pop-3: . ack 1 win 8760 (DF)
11:14:04.047377 saipan.claire.co.jp.1072 > gateway.claire.co.jp.domain: 38823+ (43)
11:14:04.057377 gateway.claire.co.jp.domain > saipan.claire.co.jp.1072: 38823* 1/1/1 (131)
11:14:04.197377 rhapsody.claire.co.jp.1027 > gateway.claire.co.jp.telnet: . ack 1 win 17520 (DF) [tos 0x10]

 >
 >>Ping $B$O$9$Y$F%m%9%H%Q%1%C%H$K$J$C$F1~Ez$b5"$C$F$-$^$;$s!#(B
 >>$B4D6-$N@_DjJ}K!$K8m$j$,$"$k$N$+$H;W$C$F$$$^$9!#(B
 >>$B$b$7CN$C$F$$$i$7$c$kJ}$,$*$j$^$7$?$i!"65$($F$/$@$5$$!#(B
 >
 >	ping6 -n hoge
 >	      ~~
 >	$B$H$9$k$H$J$K$+$A$,$$$,$"$j$^$9$+(B? $BB?J,!"$.$c$/$R$-$,$G$-$J$/$F(B
 >	$B$+$J$7$s$G$$$k$N$@$H$*$b$$$^$9!#(B

$B$+$o$j$"$j$^$;$s!#(B

 >
 >	$B$H$J$j$N%^%7%s$G(Btcpdump$B$7$F$$$F$b%Q%1%C%H$,$G$F$J$1$l$P!"$J$K$+(B
 >	$B$^$A$,$($F$$$^$9!#$J$K$r$7$?$N$+$h$j$3$^$+$/$+$$$F$/$@$5$$!#(B
 >	hydrangea faq: http://www.itojun.org/v6/hydrangea-faq.html
 >
 >itojun

$B0J2<$K%M%C%H%o!<%/4D6-$N@bL@$H>\:Y$J>pJs$r$G$-$k8B$j$H$C$F$_$^$7$?$N$G(B
$B$h$m$7$/$*4j$$$7$^$9!#(B

$B%M%C%H%o!<%/4D6-!'(B

$B%^%7%s$,#2#0Bf$0$i$$!"#1$D$N(BIPv4$B$N%M%C%H%o!<%/%"%I%l%9$G$D$J$,$C$F$$$^$9!#(B
$B%5!<%P$,(BLinux$B%^%7%s$G(BIP$B%^%9%+%l!<%I$r$7$F$$$^$9!#(B
$B%M!<%`%5!<%P$bF1$8(BLINUX$B%^%7%s$GF0$$$F$$$^$9!#(B

$B9=@.$O0J2<$NDL$j$G$9!#(B

$BEl5~(B                                                           $BAjLO(B
+----------+                                                       +----------+
|$B#W#I#N#9#5(B|---+                                               +---|$B#W#I#N#9#5(B|
+----------+   |   +------------+            +-------------+   |   +----------+ 
+----------+   |---|Netvehicle-I|------------|Netvehicle-I |---|   +----------+
|$B#N#T(B      |---+   +------------+  ISDN      +-------------+   |---+ $B#N#T(B     |
+----------+   |                                               |   +----------+
+----------+   |                                               |   +----------+
|$B#U#N#I#X(B  |---+                                               +---| $B#U#N#I#X(B |
+----------+   |                                                   +----------+
               |    +-------+
               |----|LINUX  |---- OCN
                    +-------+

$B$3$N4D6-$G(BIPv4$B$H(BV6$B$NN>J}$r07$($k%^%7%s$H$7$F%;%C%H%"%C%W$7$?$$$H;W$C$F$$$^$9!#(B

$B%$%s%9%H!<%k$O!"%-%C%H$NCf$K$"$k(BINSTALL$B$r8+$F9T$$$^$7$?!#(B
$B%F%-%9%H$NFbMF$NDL$j$K9T$$$^$7$?!#(B

IPL$B!JN)$A>e$2;~$K!K;HMQ$9$k%9%/%j%W%H$O(Brc.network $B$K5-=R$7$^$7$?!#(B
ipv4$B$N(Bifconfig$B$,=*$o$C$?$"$H$KF~$l$^$7$?!#(B

netstat$B$N>pJs!'(B

$B<+J,$N%^%7%s$N(Bnetstat$B>pJs$G$9!#(B

$B%9%F!<%?%9>pJs(B
tcp:
	124 packets sent
		59 data packets (6061 bytes)
		4 data packets (29 bytes) retransmitted
		0 resends initiated by MTU discovery
		47 ack-only packets (18 delayed)
		0 URG only packets
		0 window probe packets
		0 window update packets
		14 control packets
	124 packets received
		74 acks (for 6077 bytes)
		19 duplicate acks
		0 acks for unsent data
		61 packets (1422 bytes) received in-sequence
		10 completely duplicate packets (0 bytes)
		0 old duplicate packets
		0 packets with some dup. data (0 bytes duped)
		5 out-of-order packets (0 bytes)
		0 packets (0 bytes) of data after window
		0 window probes
		5 window update packets
		0 packets received after close
		0 discarded for bad checksums
		0 discarded for bad header offset fields
		0 discarded because packet too short
	6 connection requests
	5 connection accepts
	0 bad connection attempts
	0 listen queue overflows
	11 connections established (including accepts)
	15 connections closed (including 0 drops)
		0 connections updated cached RTT on close
		0 connections updated cached RTT variance on close
		0 connections updated cached ssthresh on close
	0 embryonic connections dropped
	70 segments updated rtt (of 74 attempts)
	1 retransmit timeout
		0 connections dropped by rexmit timeout
	0 persist timeouts
		0 connections dropped by persist timeout
	0 keepalive timeouts
		0 keepalive probes sent
		0 connections dropped by keepalive
	5 correct ACK header predictions
	20 correct data packet header predictions
udp:
	295 datagrams received
	0 with incomplete header
	0 with bad data length field
	0 with bad checksum
	247 dropped due to no socket
	242 broadcast/multicast datagrams dropped due to no socket
	0 dropped due to full socket buffers
	0 not for hashed pcb
	4294967102 delivered
	61 datagrams output
ip:
	424 total packets received
	0 bad header checksums
	0 with size smaller than minimum
	0 with data size < data length
	0 with ip length > max ip packet size
	0 with header length < data size
	0 with data length < header length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 packets reassembled ok
	419 packets for this host
	5 packets for unknown/unsupported protocol
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	195 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 tunneling packets that can't find gif
icmp:
	5 calls to icmp_error
	0 errors not generated 'cuz old message was icmp
	Output histogram:
		destination unreachable: 5
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	Input histogram:
		echo reply: 5
	0 message responses generated
igmp:
	0 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	0 membership queries received
	0 membership queries received with invalid field(s)
	0 membership reports received
	0 membership reports received with invalid field(s)
	0 membership reports received for groups to which we belong
	0 membership reports sent
ip6:
	0 total packets received
	0 with size smaller than minimum
	0 with data size < data length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 fragments that exceeded limit
	0 packets reassembled ok
	0 packets for this host
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	13 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 packets that violated scope rules
	0 multicast packets which we don't join
	Mbuf statistics:
		0 one mbuf
		0 one ext mbuf
		0 two or more ext mbuf
	0 packets whose headers are not continuous
	0 tunneling packets that can't find gif
	0 packets discarded due to too may headers
icmp6:
	0 calls to icmp_error
	0 errors not generated because old message was icmp or so
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	0 message responses generated
tcp6:
	0 packets sent
		0 data packets (0 bytes)
		0 data packets (0 bytes) retransmitted
		0 ack-only packets (0 delayed)
		0 URG only packets
		0 window probe packets
		0 window update packets
		0 control packets
	0 packets received
		0 acks (for 0 bytes)
		0 duplicate acks
		0 acks for unsent data
		0 packets (0 bytes) received in-sequence
		0 completely duplicate packets (0 bytes)
		0 old duplicate packets
		0 packets with some dup. data (0 bytes duped)
		0 out-of-order packets (0 bytes)
		0 packets (0 bytes) of data after window
		0 window probes
		0 window update packets
		0 packets received after close
		0 discarded for bad checksums
		0 discarded for bad header offset fields
		0 discarded because packet too short
	0 connection requests
	0 connection accepts
	0 bad connection attempts
	0 connections established (including accepts)
	0 connections closed (including 0 drops)
	0 embryonic connections dropped
	0 segments updated rtt (of 0 attempts)
	0 retransmit timeouts
		0 connections dropped by rexmit timeout
	0 persist timeouts
	0 connections timed out in persist
	0 keepalive timeouts
		0 keepalive probes sent
		0 connections dropped by keepalive
	0 correct ACK header predictions
	0 correct data packet header predictions
	0 PCB cache misses
udp6:
	0 datagrams received
	0 with incomplete header
	0 with bad data length field
	0 with bad checksum
	0 with no checksum
	0 dropped due to no socket
	0 multicast datagrams dropped due to no socket
	0 dropped due to full socket buffers
	0 delivered
	13 datagrams output

$B%$%s%?%U%'!<%9>pJs(B

Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
ep0   1500  <Link#1>    00.a0.24.6e.8f.be       67     0       52     0     0
ep0   1500  fe80:1::2a0 fe80:1::2a0:24ff:       67     0       52     0     0
ep0   1500  172.29        rhapsody              67     0       52     0     0
ep0   1500  3ffe:501:4f 3ffe:501:4ff:fffd       67     0       52     0     0
ap0*  9180  <Link#2>                             0     0        0     0     0
ap1*  9180  <Link#3>                             0     0        0     0     0
ap2*  9180  <Link#4>                             0     0        0     0     0
ap3*  9180  <Link#5>                             0     0        0     0     0
ap4*  9180  <Link#6>                             0     0        0     0     0
ap5*  9180  <Link#7>                             0     0        0     0     0
gif0* 1280  <Link#8>                             0     0        0     0     0
gif0* 1280  fe80:8::2a0 fe80:8::2a0:24ff:        0     0        0     0     0
gif1* 1280  <Link#9>                             0     0        0     0     0
gif1* 1280  fe80:9::2a0 fe80:9::2a0:24ff:        0     0        0     0     0
gif2* 1280  <Link#10>                            0     0        0     0     0
gif2* 1280  fe80:a::2a0 fe80:a::2a0:24ff:        0     0        0     0     0
gif3* 1280  <Link#11>                            0     0        0     0     0
gif3* 1280  fe80:b::2a0 fe80:b::2a0:24ff:        0     0        0     0     0
lo0   16384 <Link#12>                            6     0        6     0     0
lo0   16384 fe80:c::1/6 fe80:c::1                6     0        6     0     0
lo0   16384 ::1/128     ::1                      6     0        6     0     0
lo0   16384 your-net      localhost              6     0        6     0     0

$B%k!<%F%#%s%0%F!<%V%k>pJs(B

Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
default            gateway            UGSc         ep0
localhost          localhost          UH           lo0
172.29             link#1             UC           ep0
gateway            0:a0:24:e8:eb:77   UHLW         ep0    955
rhapsody           0:a0:24:6e:8f:be   UHLW         lo0

Internet6:
Destination        Gateway            Flags      Netif Expire
::1                ::1                UH           lo0
3ffe:501:4ff:fffd: link#1             UC1          ep0
3ffe:501:4ff:fffd: ::1                UH           lo0
fe80:1::/64        link#1             UC1          ep0
fe80:8::/64        fe80:8::2a0:24ff:f Uc          gif0
fe80:8::2a0:24ff:f ::1                UH           lo0
fe80:9::/64        fe80:9::2a0:24ff:f Uc          gif1
fe80:9::2a0:24ff:f ::1                UH           lo0
fe80:a::/64        fe80:a::2a0:24ff:f Uc          gif2
fe80:a::2a0:24ff:f ::1                UH           lo0
fe80:b::/64        fe80:b::2a0:24ff:f Uc          gif3
fe80:b::2a0:24ff:f ::1                UH           lo0
fe80:c::/64        fe80:c::1          Uc           lo0
ff01::/32          ::1                U            lo0
ff02:1::/32        link#1             UC1          ep0
ff02:8::/32        fe80:8::2a0:24ff:f UC          gif0
ff02:9::/32        fe80:9::2a0:24ff:f UC          gif1
ff02:a::/32        fe80:a::2a0:24ff:f UC          gif2
ff02:b::/32        fe80:b::2a0:24ff:f UC          gif3
ff02:c::/32        fe80:c::1          UC           lo0

ifconfig$B$N>pJs(B

ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80:1::2a0:24ff:fe6e:8fbe prefixlen 64 
	inet 172.29.81.82 netmask 0xffff0000 broadcast 172.29.255.255
	inet6 3ffe:501:4ff:fffd:2a0:24ff:fe6e:8fbe prefixlen 64 
	ether 00:a0:24:6e:8f:be 
ap0: flags=8010<POINTOPOINT,MULTICAST> mtu 9180
ap1: flags=8010<POINTOPOINT,MULTICAST> mtu 9180
ap2: flags=8010<POINTOPOINT,MULTICAST> mtu 9180
ap3: flags=8010<POINTOPOINT,MULTICAST> mtu 9180
ap4: flags=8010<POINTOPOINT,MULTICAST> mtu 9180
ap5: flags=8010<POINTOPOINT,MULTICAST> mtu 9180
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80:8::2a0:24ff:fe6e:8fbe prefixlen 64 
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80:9::2a0:24ff:fe6e:8fbe prefixlen 64 
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80:a::2a0:24ff:fe6e:8fbe prefixlen 64 
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
	inet6 fe80:b::2a0:24ff:fe6e:8fbe prefixlen 64 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 fe80:c::1 prefixlen 64 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 

$BF0:n%W%m%;%9$N0lMw(B

  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.01  (swapper)
    1  ??  Is     0:00.01 /sbin/init --
    2  ??  DL     0:00.00  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     0:00.03  (update)
   27  ??  Is     0:00.00 adjkerntz -i
   83  ??  Is     0:00.01 /usr/local/v6/sbin/inet6d
   98  ??  Is     0:00.07 syslogd
  109  ??  Is     0:00.00 portmap
  120  ??  I      0:00.01 amd -p -a /net -c 1800 -k i386 -d my.domain -l syslog
  135  ??  Is     0:00.02 inetd
  138  ??  Ss     0:00.01 cron
  141  ??  Is     0:00.00 lpd
  144  ??  Is     0:00.01 sendmail: accepting connections on port 25 (sendmail)
  195  ??  I      0:00.01 /usr/local/sbin/cannaserver
  208  v0  Ss     0:00.08 -csh (csh)
  239  v0  R+     0:00.00 ps -xa
  209  v1  Is+    0:00.01 /usr/libexec/getty Pc ttyv1
  210  v2  Is+    0:00.01 /usr/libexec/getty Pc ttyv2









----
 Kazunori Nito  nito@claire.co.jp
