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
.7
. 0 !
.
0000:0000:0000:0000:0000:0000:0000:0001
)
-
F #
F
. !
::1
.7
-
'.
!"!)! * ' (
%
'
$ $$
.
7 F
F
F
F
)
8
)
$ E
0000:0000:0000:0000:0000:0000:0000:0000
::
%
!
=
'
.
$$
-
!"! !"!
)
%
;
$$ $
!
0 '
.
!
::ffff:a.b.c.d/96
0
::ffff:1.2.3.4
)
!
)
(
0:0:0:0:0:ffff:a.b.c.d/96
( !
<
, $$
)
<
8
$
$$
-
. !
)
'
- . .
$. !
!
$
.7
% & +
,-+ '' $
)
)
>
.
!"! !
%
'
7
7
'
>
-
$;
.7
.
.
)
'
!"! !)!
5
,-( +'
' !
<0 - .
'
$$
. '
; 82 "
.
$
>%
'
A .
!
)
$*
0:0:0:0:0:0:a.b.c.d/96
. !
!
::a.b.c.d/96
* !
5
9
!)! . % / '
4
.'
9.
' 7
.'
= -
!
/'
-
7
/
. !!' .
(
%
.
82
!
.'
-
# GH'
. ! '
''
"I > ) 3
$9
-
$$
;
<
'
7
'
. 5
'
)E '
76
-
;-
= (
(
7
. J (
- . .7 - '
-
0
'
'.
•
•
fe8x:
fe9x:
feax:
febx:
/
(
.
%
0
7
!)!"!
%
= - 7
.
;
(.
7
.
0
<- currently the only one in use.
'
!
F<
<6
7
9
.
'
(
;- .
!)!)! 1
'
!
(
%
$$
.
2 !
9
-
82
0'
-
$
)
$0
fecx:
fedx:
feex:
fefx:
<- most commonly used.
.
)
$
$ '
.
.
-
0
!
F<
.'
.
'
.
.
'
!
)
(.
'
)
'.
=
9
-
E
'.
;-
">9
! ( !'! '!
>"
. '
.
'
!
)
. ) $
. <
-
.'
7
. '
!
$
.
KL (
8
0 '.
!)! ! 2
( 3
0
0F 9. .'
.
$$
)
-
G
;
I0
'!
;
0.
F
82 "" > ) 3
$9
! !
& '( 7
!
'-
(.
!
' 3#
%
-
.
.
'. <
<
2xxx:
3xxx:
=
'
(F
0
!)! !"!
%
-
F
-
-
.'
%
!
'
-
$$
- . -
'
%
-
3ffe:
C( !
3ffe:ffff:100:f102::1
9
.
$
- . -
' /'
-
3ffe:ffff:
!
!
. '
-
( !
.
'
.
$
-
'.
$;
'
$$
!)! !)!
, $$
%
0
)
.
$4 !
*
)
'
I0
. '
.
- 0
'
%
' /'
.7
0
(82 # > $
;
)
0
M
'
'
82 "
2 '
.
- '
/'
! .
>%
% '
. '
!
'
<
<
! G 82
A .
'
)
!
. '
!
$>2
.
!
) $
-
2002:
8
( !
0
$"
>
2002:c0a8:0101:5::1
9 !
. !!
.
'
'.
'
)
ipv4="1.2.3.4"; sla="5"; printf "2002:%02x%02x:%02x%02x:%04x::1" `echo
$ipv4
¬ | tr "." " "` $sla
'
'
$
!)! ! ! #
$
'
%
2001:
!
$
&
)
' $
'
(& (
.
;)
<
-
(
9
)
! N ; .7
.'
.'
!
-
;
7
.
(-
&)
<
$
+'
$$ ( +
( !
3ffe:ffff::/32
2001:0DB8::/32
'
'
'.
'
=+%
$$
A' .
'
-
'
0
(
-
.'!
EXAMPLENET-WF
%
!)!,! 4
.
"
0 -
%
-
(-
!)! !,! #$$
2'
<)
;
.
.
' <
ffxy:
%
.
!)!,!"! 4
A' .
.
!
2'
0
•
•
•
•
•
•
(
(
(
!
-
7
.
(
("
! !
(
!)!,!)! 4
%
9
( '
!
9.
;.
. 0 .7
. 0 .7
7
. 0 .7
O
. 0
0 !'
.
.
(
.
! ( !'!
.
!' .
.7 .
<
-
'
.7
0
O
'
;
. <
'
>
.'
<
!
;
( !
82
# >) 3
$
•
9 =
;
9
'
;
;
•
!)!,! ! 1
9
)4 P
<
9
.
.
)4 P
7;
0
<0
<
.
<0
'
.
.
7;
.
<
(
$
$
. !' .
. ' ' 7
)
09
9
0
.
/- (
+
(
$$
'
.
(
( !
7
)
0
$
7
ff02::1:ff00:1234
5
(
!
F "
!)!5! #
9 .
0
' .
! .
=
7 . !' .
%
)
( ! 0
.7
'
- 7 .7
E 7 .'
- F
>
F
-'
Q
7E
.
A92
F0 '
'
%
.
.
'.
'
-
(
9 .
9 !
.
(
( !
.
' 9
.
!. '
'
-
'.
'
.
)
.
7
! !
< %
.
0
'
'
$
-
'
.
! ! #$$
.
7
' (;
<- subnet-router anycast address
'
&
9 '!
<- Node's address
<. !
3ffe:ffff:100:f101::/64
4=
'
.
7
$$
3ffe:ffff:100:f101:210:a4ff:fee3:9566/64
'
)
- .
'
!.
!
-
%
$
A92
$$
.
4*2
0
. ;
! ;.
-< -
!)!5!"! 1
' (
'
.
8
'
'
.
'
!
!
! '
.
%
.
! !"! #
,
'
A92
.
' 0
.'
+
(
'
0
A92
; 7
!
.
'
%
-
$
.
.
( +'
. ;
)
-
$
/
. ! '
C5) $ !
. ;
<0 -
)
%
.
0
.
' /' )
'
. <
$ $$
$
A92
$
. <0
'
2
( !
3ffe:ffff:100:f101:210:a4ff:fee3:9566
0
210:a4ff:fee3:9566
. ! '
!
=)2E A92
00:10:A4:E3:95:66
'
)CCC %'
! !"!"!
C5) $
( '
. '
F ' !
=)2 '
+% &
.
. ! ' F
! A92
'
%
7
>
. C(
-
!
! !)! 4
!0
'
+
(
'
.
- ' (
.
.
( +'
' /' ; (.
=)2<0 .
!
(
.7
7
9
-
.
'
C5) "
9' .
!
E
. (
'
0
) $;
J (< 5
! !
! =
' '
- 7 -
82
8
.. !!
E
! !
!
0
)
)
.
$
. 0
3ffe:ffff:100:f101::1
8
! ' ' (
7 F F
.
; '
< 9
!
;
.
0
= - 7
(
0
7
-
-
= (
'
'
O
'
! (!
%
'!
.'
)
'
.
'.
! !
'
2 .' F
<
'
'
7' <
'.
<0
)
'
%
-
'
.
' N .
A'
!
'
!
'
!
)
! 7
)
4 !
- .
.
.
F
,
!'
!
!
)
!
&
0
;
- 7
"
E
;2)4 0 82
'!
/
%
'
'
. .
.
!'
'
;R
;9 )2 F9
.
'
.
.
'
.
; -
A
.
- 7 .
0
!
3
'
7 . 0
>2
)
F
( !
3ffe:ffff:100:1:2:3:4:5/48
-
. .
0
J!' $J0)
$
<
!,!"!
•
!
&
)
%
#
* !
5
!,!
9
( !
E /'
' ! .
<
. !
> .
- ' .
(
= - 7
3ffe:ffff:0100:0000:0000:0000:0000:0000
)
+ /3
7
.
!
4 !
'
. '
)
2
'
< . ! 0
'
)
•
= ! 7
ffff:ffff:ffff:0000:0000:0000:0000:0000
!,!)! 4 (&
5
-
! . .'!
!
.
! .
8
( !
.
;
'!
:
-
)
3ffe:ffff:100:1:2:3:4:5/48
3ffe:ffff:200:1:2:3:4:5/48
5!"! 6
(
.
0 7
0 7
(
5!"!"! &
.
5!"!)!"!
(
;
(
. !
<
.7
-
'
->
->
routed through device sit1
routed through device tun6to4
.
0
-
.
7 C
.
0
% 7
$ $
'
.
,
-
.
(
.
(
%
0
'
.
.
0
$ $
'
!
- -
'
$
0
0 '
5!"!)! 7
3 '
-
- 7
'
3 '
'
' -
% /$
0
.
'
::
U 1 0 0 sit1
::192.88.99.1 UG 1 0 0 tun6to4
-
•
•
7'
!
'
3ffe:ffff:100::/48
2000::/3
+
<
'
!
.
%
%
.
!
%
!
.
'
%
.
!
.
'
)
$
.'
.7
!
)
)
!
.
!
.
5!"!)!)!
'
'
(
.
)
$.
!
5!"!)! ! 16.
6
(
)
*4&2 -
.
'
E )
S
$
-
$.
5!"!)!,! 16.
.
;
7
. '
5!"!)!5! 1
)
$
!
'
7
(
) 4=
<
7
.
9
!
.
.
8
&7 !
.
0
.
E - 7<
.
5!"!)! ! 9 & - ' $
C
F
.
.
)
E '
)
$
;
+B0 '
(
$
.
'
8
' 0
!
'
F
5!"!)!:!
$
(
2'
!
5!"!)!;! # 4
>
9
5!"!)!<!
4
2
E .'
'
7
0 '
5 91) (
&
)
. 6
'
5!)!
.
* !
5
(
= (
'=$ %
%- !
.
5!)!"! *
'
.
'
-
3 '3
5
# ip link set dev <interface> up
# ip link set dev <interface> down
C( !
# ip link set dev eth0 up
# ip link set dev eth0 down
5!)!)! *
3 (
3
5
# /sbin/ifconfig <interface> up
# /sbin/ifconfig <interface> down
C( !
# /sbin/ifconfig eth0 up
# /sbin/ifconfig eth0 down
4
- 7
* !
5
.
= (
2
!"! 6 '
8
;
'
'
)
$
$$
'
. .70 ! .
'
!"!"! *
3 '3
- . ) $
' .
5
# /sbin/ip -6 addr show dev <interface>
C( !
'
..
'
# /sbin/ip -6 addr show dev eth0
.
'
<
'
2: eth0: <BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc pfifo_ fast qlen
100
inet6 fe80::210:a4ff:fee3:9566/10 scope link
inet6 3ffe:ffff:0:f101::1/64 scope global
inet6 fec0:0:0:f101::1/64 scope site
C( !
*
- .
'
!
'
'
!
.
.
'
.
'
)
$
!
# /sbin/ip -6 addr show dev eth0
3: eth0: <BROADCAST,MULTICAST,PROMISC,UP&gt; mtu 1500 qdisc pfifo_fast
qlen
¬ 100
inet6 2002:d950:f5f8:f101:2e0:18ff:fe90:9205/64 scope global dynamic
valid_lft 16sec preferred_lft 6sec
inet6 3ffe:400:100:f101:2e0:18ff:fe90:9205/64 scope global dynamic
valid_lft 2591997sec preferred_lft 604797sec inet6
fe80::2e0:18ff:fe90:9205/10
¬ scope link
!"!)! *
3 (
3
5
# /sbin/ifconfig <interface>
C( !
; ' '
) $
-
)
$
< *
'
.
# /sbin/ifconfig eth0 |grep "inet6 addr:"
inet6 addr: fe80::210:a4ff:fee3:9566/10 Scope:Link
inet6 addr: 3ffe:ffff:0:f101::1/64 Scope:Global
inet6 addr: fec0:0:0:f101::1/64 Scope:Site
2
'
)
* !
5
$
!)! #$$
9
)
)
5
9
)
$
$$
$
!
.
!)!"! *
= (
3 '3
! .
!
F) 9&)9 F
& '(
# /sbin/ip -6 addr add <ipv6address>/<prefixlength> dev <interface>
C( !
# /sbin/ip -6 addr add 3ffe:ffff:0:f101::1/64 dev eth0
!)!)! *
3 (
3
5
# /sbin/ifconfig <interface> inet6 add <ipv6address>/<prefixlength>
C( !
# /sbin/ifconfig eth0 inet6 add 3ffe:ffff:0:f101::1/64
4
(
! !
=
'
)
* !
5
$
+
! !"! *
)
$
$$
0
7
= (
!
.
'
'
.
!
(
)
$
0
!
!
3 '3
5
# /sbin/ip -6 addr del <ipv6address>/<prefixlength> dev <interface>
C( !
# /sbin/ip -6 addr del 3ffe:ffff:0:f101::1/64 dev eth0
! !)! *
3 (
3
5
# /sbin/ifconfig <interface> inet6 del <ipv6address>/<prefixlength>
C( !
# /sbin/ifconfig eth0 inet6 del 3ffe:ffff:0:f101::1/64
9
)
* !
5
$
2
= (
! ) $
'
'
:!"! 6 '
8
;
'
'
'
. .70 ! .
'
:!"!"! *
3 '3
'
- . ) $
.
'
<
.
'
5
# /sbin/ip -6 route show [dev <device>]
C( !
# /sbin/ip -6 route show dev eth0
3ffe:ffff:0:f101::/64 proto kernel
fe80::/10
proto kernel
ff00::/8
proto kernel
default
proto kernel
:!"!)! *
3
metric
metric
metric
metric
256
256
256
256
mtu
mtu
mtu
mtu
1500
1500
1500
1500
advmss
advmss
advmss
advmss
1440
1440
1440
1440
3
5
# /sbin/route -A inet6
C( !
; ' '
# /sbin/route -A
3ffe:ffff:0:f101
global
¬ address
fe80::/10
link-local
¬ address
ff00::/8
multicast
¬ addresses
::/0
.
.
< *
'
)
$
'
inet6 |grep -w "eth0"
::/64 :: UA 256 0 0 eth0 <- Interface route for
::
UA
256 0 0 eth0 <- Interface route for
::
UA
256 0 0 eth0 <- Interface route for all
::
UDA 256 0 0 eth0 <- Automatic default route
2
'
! )
* !
5
$
9
)
$
= (
'
-
'
'
:!)! #$$
%
&
A
.
:!)!"! *
'
-
)
$'
&
)
$
'
'
7
3 '3
5
# /sbin/ip -6 route add <ipv6network>/<prefixlength> via <ipv6address>
¬ [dev <device>]
C( !
# /sbin/ip -6 route add 2000::/3 via 3ffe:ffff:0:f101::1
:!)!)! *
3
3
5
# /sbin/route -A inet6 add <ipv6network>/<prefixlength> gw
¬ <ipv6address> [dev <device>]
9
. .
8
'
0
-
( !
0
)
$
-
'
7
.'
.
;
> <
# /sbin/route -A inet6 add 2000::/3 gw 3ffe:ffff:0:f101::1
4
(
'
)
$
* !
5
!
)
'
$
= (
'
-
:! !
+
&
&
%
=
;'
! '
. <
:! !"! *
0!
- 7.
'
.
'
-
3 '3
5
# /sbin/ip -6 route del <ipv6network>/<prefixlength> via <ipv6address>
¬ [dev <device>]
C( !
# /sbin/ip -6 route del 2000::/3 via 3ffe:ffff:0:f101::1
:! !)! *
3
3
5
# /sbin/route -A inet6 del <network>/<prefixlength> [dev <device>]
C( !
!
'
'
# /sbin/route -A inet6 del 2000::/3 gw 3ffe:ffff:0:f101::1
9
)
$
'
* !
5
'
9
)
$
'
-
:!,! #$$
(
=
:!,!"! *
0
&
!
!
.
.
&
7
3 '3
5
# /sbin/ip -6 route add <ipv6network>/<prefixlength> dev <device>
= (
'
.
¬ metric 1
C( !
# /sbin/ip -6 route add 2000::/3 dev eth0 metric 1
A
.F F '
' ! .
. !
F F F
'
:!,!)! *
3
-
!
.'
' 0
. '
F
3
5
# /sbin/route -A inet6 add <network>/<prefixlength> dev <device>
C( !
# /sbin/route -A inet6 add 2000::/3 dev eth0
!
'
) $
-
:!5!
+
(
!
)
$
'
&
=
:!5!"! *
* !
5
'
'
0.
'
.
-
'
&
'.
'
-
3 '3
5
# /sbin/ip -6 route del <ipv6network>/<prefixlength> dev <device>
C( !
# /sbin/ip -6 route del 2000::/3 dev eth0
:!5!)! *
5
3
3
= (
'
.
# /sbin/route -A inet6 del <network>/<prefixlength> dev <device>
C( !
# /sbin/route -A inet6 del 2000::/3 dev eth0
9
)
$
'
* !
5
'
89:
= (
$ '
)
.
! ! >#?
:! !"! 1 ''
$
+
) $'
%
!
. .
'
.'
'
'
& '( 7
:! !"!"!
2
.
' .
0
' (/ @
'
'
'
'
'
7
( F > F0
7 7
'.
( !
-
'
-
# ip -6 route show | grep ^default
default via fe80::212:34ff:fe12:3450 dev eth0 proto kernel metric 1024
expires
¬ 29sec mtu 1500 advmss 1440
:! !"!)!
2'
.
!
(
! & '( 7
!' 0 '
'
' <
%
(F
%
5 91)
=
+
-
!
' (/
7 .
' -
)
;
7'
! F
'
> F
N .
'
TP
-
F.
#<
E '
.7
'
' '
'
'
$
% $
'
!' .
'
(
'
-
'
-
;
L '
!
.'
-
.7
'
.
'
'
.
* !
5
= (
=
4 .
'
.
;!"! 6 '
,
-
&
. !!
3 '3
'.
.
'
)
$
# ip -6 neigh show [dev <device>]
%
-
( !
-
0- .
.
'
# ip -6 neigh show
fe80::201:23ff:fe45:6789 dev eth0 lladdr 00:01:23:45:67:89 router nud
reachable
=
* !
5
4 .
= (
A
'
'
;!)! 4
3 '3
'
&
;!)!"! 4
,
-
$$
. !!
'
! '
# ip -6 neigh add <IPv6 address> lladdr <link-layer address> dev
<device>
C( !
# ip -6 neigh add fec0::1 lladdr 02:01:02:03:04:05 dev eth0
;!)!)! 4
$
&7
.
# ip -6 neigh del <IPv6 address> lladdr <link-layer address> dev
<device>
C( !
# ip -6 neigh del fec0::1 lladdr 02:01:02:03:04:05 dev eth0
F F
;!)! ! 4
%
$
F F
( $
.'!
0 '
F
F
!
# ip -6 neigh help
Usage: ip neigh { add | del | change | replace } { ADDR [ lladdr
LLADDR ]
[ nud { permanent | noarp | stale | reachable } ]
| proxy ADDR } [ dev DEV ]
ip neigh {show|flush} [ to PREFIX ] [ dev DEV ] [ nud STATE ]
& 7
7
!
)
.
4
F F
"5!"! 1
)
'
'
'
'.
.
'
!
'
0
'
* !
5
2
'
)
= (
)
$
'
-(
7
.
C( !
# ip -6 addr show dev eth0 scope link
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qlen1000
inet6 fe80::211:d8ff:fe6b:f0f5/64 scope link
valid_lft forever preferred_lft forever
)
$
.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement