2.2.4.5 Lab - Configuring IPv6 Static and Default Routes
2.2.4.5 Lab - Configuring IPv6 Static and Default Routes
IPv6
IPv6
IPv6-/
1.
IPv6- IPv6- .
IPv4- SLAAC IPv6
.
ipconfig ping .
show IPv6.
Cisco / , 2016. .
Cisco. 1 9
. IPv6 IPv6
2. IPv6
IPv6 .
IPv6.
IPv6 .
/
IPv6-, . IPv6-
(SLAAC).
IPv6 IPv6 ,
( ).
. CCNA
(ISR) Cisco 1941 Cisco IOS
15.2(4)M3 ( universalk9). Cisco Catalyst 2960
Cisco IOS 15.0(2) ( lanbasek9). ,
Cisco IOS. Cisco IOS
,
. .
.
. ,
. , .
2 (Cisco 1941 Cisco IOS 15.2(4)M3
( ) ).
2 (Cisco 2960 Cisco IOS 15.0(2) ( lanbasek9)
).
2 (Windows 7, Vista XP , , Tera Term).
Cisco IOS .
Ethernet .
1:
IPv6-.
1: , .
2: .
3: IPv6- IPv6-
.
a. Tera Term , R1,
R1.
b. IPv6- R1.
R1(config)# ipv6 unicast-routing
Cisco / , 2016. .
Cisco. 2 9
. IPv6 IPv6
c. R1 IPv6-. ,
IPv6 . G0/1
, EUI-64
. S0/0/1 -, ,
-.
R1(config)# interface g0/1
R1(config-if)# ipv6 address 2001:DB8:ACAD:A::/64 eui-64
R1(config-if)# no shutdown
R1(config-if)# interface serial 0/0/1
R1(config-if)# ipv6 address FC00::1/64
R1(config-if)# no shutdown
R1(config-if)# exit
d. R3.
e. IPv6- R3.
R3(config)# ipv6 unicast-routing
f. R3 IPv6-. ,
IPv6 . G0/1
, EUI-64
. S0/0/0 -, ,
-.
, DCE- .
R3(config)# interface gigabit 0/1
R3(config-if)# ipv6 address 2001:DB8:ACAD:B::/64 eui-64
R3(config-if)# no shutdown
R3(config-if)# interface serial 0/0/0
R3(config-if)# ipv6 address FC00::2/64
R3(config-if)# clock rate 128000
R3(config-if)# no shutdown
R3(config-if)# exit
Cisco / , 2016. .
Cisco. 3 9
. IPv6 IPv6
e. : 6 (TCP/IPv6) ,
IPv6- DNS- .
, .
f. IPv6-,
,
IPv6-. .
5: ipconfig ping .
a. PC-A , ipconfig /all Enter.
, .
, IPv6-,
IPv6- IPv6- .
IPv6-, DNS- ,
FEC0. ,
NAT. IPv6
.
C:\Users\User1> ipconfig /all
IP Windows
< >
Ethernet-:
Cisco / , 2016. .
Cisco. 4 9
. IPv6 IPv6
6: show IPv6.
a. show ipv6 interface brief
R1.
IPv6- G0/1? IPv6- ?
____________________________________________________________________________________
____________________________________________________________________________________
IPv6- S0/0/1? IPv6- ?
____________________________________________________________________________________
____________________________________________________________________________________
b. IPv6, R1
show ipv6 interface Enter.
Gigabit Ethernet 0/1?
____________________________________________________________________________________
S0/0/1?
____________________________________________________________________________________
Cisco / , 2016. .
Cisco. 5 9
. IPv6 IPv6
FF02::1?
____________________________________________________________________________________
FF02::2?
____________________________________________________________________________________
FF02::1:FF00:1 FF02::1:FF0D:1A60,
?
____________________________________________________________________________________
____________________________________________________________________________________
c. IPv6- R1 show ipv6
route. IPv6- ,
,
Null0.
R1 ,
- PC-A PC-C ?
____________________________________________________________________________________
____________________________________________________________________________________
2: IPv6- IPv6
IPv6 IPv6
. ,
, PC-A PC-C.
IPv6:
IPv6
.
IPv6 IP-
.
.
IPv6 IPv4 ,
IPv6
IPv6 , ::/0.
1: IPv6 .
IPv6
.
-.
IPv6 :
Router(config)# ipv6 route <ipv6-prefix/prefix-length> <outgoing-interface-
type> <outgoing-interface-number>
a. R1 IPv6 2001:DB8:ACAD:B::/64
R3, S0/0/1 R1.
R1(config)# ipv6 route 2001:DB8:ACAD:B::/64 serial 0/0/1
R1(config)#
Cisco / , 2016. .
Cisco. 6 9
. IPv6 IPv6
b. IPv6,
.
?
____________________________________________________________________________________
c. , R1,
- PC-C PC-A?
____________________________________________________________________________________
. ,
ping- PC-C. PC-C
PC-A. R3,
2001:DB8:ACAD:A::/64.
-
R3.
d. R3 IPv6 2001:DB8:ACAD:::/64,
S0/0/0 R3.
R3(config)# ipv6 route 2001:DB8:ACAD:A::/64 serial 0/0/0
R3(config)#
e. , ,
- ping -6 PC-A IPv6- PC-C.
-? ?
__________________________________________________________
2: IPv6.
IPv6 IPv6-
. IPv6
:
Router(config)# ipv6 route <ipv6-prefix/prefix-length> <next-hop-ipv6-address>
a. R1
.
R1(config)# no ipv6 route 2001:DB8:ACAD:B::/64 serial 0/0/1
R1(config)# ipv6 route 2001:DB8:ACAD:B::/64 FC00::2
R1(config)# exit
b. R3
.
R3(config)# no ipv6 route 2001:DB8:ACAD:A::/64 serial 0/0/0
R3(config)# ipv6 route 2001:DB8:ACAD:A::/64 FC00::1
R3(config)# exit
c. IPv6 R1,
.
?
____________________________________________________________________________________
Cisco / , 2016. .
Cisco. 7 9
. IPv6 IPv6
3: IPv6 .
IPv6 .
Router(config)# ipv6 route ::/0 <outgoing-interface-type> <outgoing-
interface-number> {and/or} <next-hop-ipv6-address>
a. R1
.
R1(config)# no ipv6 route 2001:DB8:ACAD:B::/64 FC00::2
R1(config)# ipv6 route ::/0 serial 0/0/1
R1(config)#
b. R3
.
c. IPv6 R1,
.
?
____________________________________________________________________________________
d. ping -6, PC-A PC-C.
-? _____________
. -
.
1. IPv6
IPv6 . ,
IPv4 IPv4 ,
IPv6-?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
2. IPv6 IPv6
IPv4 IPv4 .
IPv6 IPv4 ,
IPv6 IPv4?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
Cisco / , 2016. .
Cisco. 8 9
. IPv6 IPv6
Ethernet 1 Ethernet 2 1 2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
1900 Gigabit Ethernet Gigabit Ethernet Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
0/0 (G0/0) 0/1 (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet Gigabit Ethernet Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
0/0 (G0/0) 0/1 (G0/1)
. ,
.
.
Ethernet .
,
. ISDN BRI.
, Cisco IOS
.
Cisco / , 2016. .
Cisco. 9 9