实验目的:

通过实验了解IPV6双栈的部署

实验拓扑:

 

配置:

R1:

 1 : !
     2 : version 12.4
     3 : service timestamps debug datetime msec
     4 : service timestamps log datetime msec
     5 : no service password-encryption
     6 : !
     7 : hostname R1
     8 : !
     9 : boot-start-marker
    10 : boot-end-marker
    11 : !
    12 : !
    13 : no aaa new-model
    14 : memory-size iomem 5
    15 : ip cef
    16 : !
    17 : !
    18 : !
    19 : !
    20 : no ip domain lookup
    21 : ip domain name lab.local
    22 : ipv6 unicast-routing
    23 : !
    24 : multilink bundle-name authenticated
    25 : !
    26 : !
    27 : !
    28 : !
    29 : !
    30 : !
    31 : !
    32 : !
    33 : !
    34 : !
    35 : !
    36 : !
    37 : !
    38 : !
    39 : !
    40 : !
    41 : !
    42 : !
    43 : !
    44 : !
    45 : !
    46 : !
    47 : !
    48 : archive
    49 :  log config
    50 :   hidekeys
    51 : !
    52 : !
    53 : !
    54 : !
    55 : !
    56 : !
    57 : interface FastEthernet0/0
    58 :  ip address 192.168.80.254 255.255.255.0
    59 :  duplex auto
    60 :  speed auto
    61 :  ipv6 address 2001::254/64
    62 : !
    63 : interface FastEthernet0/1
    64 :  no ip address
    65 :  speed 100
    66 :  full-duplex
    67 :  ipv6 address 2000::1/64
    68 : !
    69 : interface FastEthernet1/0
    70 :  ip address 192.168.14.1 255.255.255.0
    71 :  duplex auto
    72 :  speed auto
    73 : !
    74 : !
    75 : !
    76 : no ip http server
    77 : no ip http secure-server
    78 : !
    79 : !
    80 : !
    81 : !
    82 : !
    83 : !
    84 : !
    85 : control-plane
    86 : !
    87 : !
    88 : !
    89 : !
    90 : !
    91 : !
    92 : !
    93 : !
    94 : !
    95 : !
    96 : line con 0
    97 :  exec-timeout 0 0
    98 :  privilege level 15
    99 :  logging synchronous
   100 : line aux 0
   101 :  exec-timeout 0 0
   102 :  privilege level 15
   103 :  logging synchronous
   104 : line vty 0 4
   105 :  login
   106 : !
   107 : !
   108 : end

R2:

 

 1 : !
     2 : version 12.4
     3 : service timestamps debug datetime msec
     4 : service timestamps log datetime msec
     5 : no service password-encryption
     6 : !
     7 : hostname R2
     8 : !
     9 : boot-start-marker
    10 : boot-end-marker
    11 : !
    12 : !
    13 : no aaa new-model
    14 : memory-size iomem 5
    15 : ip cef
    16 : !
    17 : !
    18 : !
    19 : !
    20 : no ip domain lookup
    21 : ip domain name lab.local
    22 : ipv6 unicast-routing
    23 : !
    24 : multilink bundle-name authenticated
    25 : !
    26 : !
    27 : !
    28 : !
    29 : !
    30 : !
    31 : !
    32 : !
    33 : !
    34 : !
    35 : !
    36 : !
    37 : !
    38 : !
    39 : !
    40 : !
    41 : !
    42 : !
    43 : !
    44 : !
    45 : !
    46 : !
    47 : !
    48 : archive
    49 :  log config
    50 :   hidekeys
    51 : !
    52 : !
    53 : !
    54 : !
    55 : !
    56 : !
    57 : interface FastEthernet0/0
    58 :  no ip address
    59 :  duplex auto
    60 :  speed auto
    61 :  ipv6 address 2001::2/64
    62 : !
    63 : interface FastEthernet0/1
    64 :  no ip address
    65 :  shutdown
    66 :  duplex auto
    67 :  speed auto
    68 : !
    69 : !
    70 : !
    71 : no ip http server
    72 : no ip http secure-server
    73 : !
    74 : ipv6 route ::/0 2001::254
    75 : !
    76 : !
    77 : !
    78 : !
    79 : !
    80 : !
    81 : control-plane
    82 : !
    83 : !
    84 : !
    85 : !
    86 : !
    87 : !
    88 : !
    89 : !
    90 : !
    91 : !
    92 : line con 0
    93 :  exec-timeout 0 0
    94 :  privilege level 15
    95 :  logging synchronous
    96 : line aux 0
    97 :  exec-timeout 0 0
    98 :  privilege level 15
    99 :  logging synchronous
   100 : line vty 0 4
   101 :  login
   102 : !
   103 : !
   104 : end

R3:

 1 : !
     2 : version 12.4
     3 : service timestamps debug datetime msec
     4 : service timestamps log datetime msec
     5 : no service password-encryption
     6 : !
     7 : hostname R3
     8 : !
     9 : boot-start-marker
    10 : boot-end-marker
    11 : !
    12 : !
    13 : no aaa new-model
    14 : memory-size iomem 5
    15 : ip cef
    16 : !
    17 : !
    18 : !
    19 : !
    20 : no ip domain lookup
    21 : ip domain name lab.local
    22 : ipv6 unicast-routing
    23 : !
    24 : multilink bundle-name authenticated
    25 : !
    26 : !
    27 : !
    28 : !
    29 : !
    30 : !
    31 : !
    32 : !
    33 : !
    34 : !
    35 : !
    36 : !
    37 : !
    38 : !
    39 : !
    40 : !
    41 : !
    42 : !
    43 : !
    44 : !
    45 : !
    46 : !
    47 : !
    48 : archive
    49 :  log config
    50 :   hidekeys
    51 : !
    52 : !
    53 : !
    54 : !
    55 : !
    56 : !
    57 : interface FastEthernet0/0
    58 :  no ip address
    59 :  shutdown
    60 :  duplex auto
    61 :  speed auto
    62 : !
    63 : interface FastEthernet0/1
    64 :  no ip address
    65 :  speed 100
    66 :  full-duplex
    67 :  ipv6 address 2000::3/64
    68 : !
    69 : !
    70 : !
    71 : no ip http server
    72 : no ip http secure-server
    73 : !
    74 : ipv6 route ::/0 2000::1
    75 : !
    76 : !
    77 : !
    78 : !
    79 : !
    80 : !
    81 : control-plane
    82 : !
    83 : !
    84 : !
    85 : !
    86 : !
    87 : !
    88 : !
    89 : !
    90 : !
    91 : !
    92 : line con 0
    93 :  exec-timeout 0 0
    94 :  privilege level 15
    95 :  logging synchronous
    96 : line aux 0
    97 :  exec-timeout 0 0
    98 :  privilege level 15
    99 :  logging synchronous
   100 : line vty 0 4
   101 :  login
   102 : !
   103 : !
   104 : end

R4:

 1 : !
     2 : version 12.4
     3 : service timestamps debug datetime msec
     4 : service timestamps log datetime msec
     5 : no service password-encryption
     6 : !
     7 : hostname R4
     8 : !
     9 : boot-start-marker
    10 : boot-end-marker
    11 : !
    12 : !
    13 : no aaa new-model
    14 : memory-size iomem 5
    15 : ip cef
    16 : !
    17 : !
    18 : !
    19 : !
    20 : no ip domain lookup
    21 : ip domain name lab.local
    22 : !
    23 : multilink bundle-name authenticated
    24 : !
    25 : !
    26 : !
    27 : !
    28 : !
    29 : !
    30 : !
    31 : !
    32 : !
    33 : !
    34 : !
    35 : !
    36 : !
    37 : !
    38 : !
    39 : !
    40 : !
    41 : !
    42 : !
    43 : !
    44 : !
    45 : !
    46 : !
    47 : archive
    48 :  log config
    49 :   hidekeys
    50 : !
    51 : !
    52 : !
    53 : !
    54 : !
    55 : !
    56 : interface FastEthernet0/0
    57 :  ip address 192.168.14.4 255.255.255.0
    58 :  speed 100
    59 :  full-duplex
    60 : !
    61 : interface FastEthernet0/1
    62 :  no ip address
    63 :  shutdown
    64 :  duplex auto
    65 :  speed auto
    66 : !
    67 : ip route 0.0.0.0 0.0.0.0 192.168.14.1
    68 : !
    69 : !
    70 : no ip http server
    71 : no ip http secure-server
    72 : !
    73 : !
    74 : !
    75 : !
    76 : !
    77 : !
    78 : !
    79 : control-plane
    80 : !
    81 : !
    82 : !
    83 : !
    84 : !
    85 : !
    86 : !
    87 : !
    88 : !
    89 : !
    90 : line con 0
    91 :  exec-timeout 0 0
    92 :  privilege level 15
    93 :  logging synchronous
    94 : line aux 0
    95 :  exec-timeout 0 0
    96 :  privilege level 15
    97 :  logging synchronous
    98 : line vty 0 4
    99 :  login
   100 : !
   101 : !
   102 : end

验证: