IPv6 fem dages forløb/Packet tracer øvelse

From Teknologisk videncenter
Jump to: navigation, search

I Denne øvelse er alle routere konfigureret med IPv4 og anvender IPv4 RIPv2. Nettet skal IPv6 enables og IPv6 RIP skal anvendes.

  1. Installer Packet fra linket nedenunder.
  2. Hent Øvelse setup fra linket nedenunder og start det i Packet Tracer.
Packet Tracer setup.png


Enabling IPv6 Globally

Start the IPv6 routing process and allow IPv6 CEF switching.

R3(config)#<input>ipv6 unicast-routing</input>
R3(config)#<input>ipv6 cef</input>

Configuring IPv6 address on interface

R3(config)#<input>int fa0/0</input>
R3(config-if)#<input>ipv6 address 2001:16D8:DD85:139::7/64</input>
R3(config)#<input>int fa0/1</input>
R3(config-if)#<input>ipv6 address 2001:16D8:DD85:140::1/64</input>
R3(config-if)#<input>ipv6 dhcp relay destination 2001:16D8:DD85:4::166</input>

Showing IPv6 configuration on interface

R3#<input>show ipv6 int fa0/0</input>
FastEthernet0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::128C:CFFF:FE2E:916E
  No Virtual link-local address(es):
  Global unicast address(es):
    2001:16D8:DD85:139::7, subnet is 2001:16D8:DD85:139::/64
  Joined group address(es):
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ICMP unreachables are sent
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds (using 30000)
  ND advertised reachable time is 0 (unspecified)
  ND advertised retransmit interval is 0 (unspecified)
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  ND advertised default router preference is Medium
  Hosts use stateless autoconfig for addresses.

Default IPv6 Unicast Route

Notice the 2000::/3 prefix which identifies the total IPv6 Unicast area. It is recomended to use link local address as next-hop address. If using the Global Unicast address Router redirection will not work.

R3(config)#<input>ipv6 route 2000::/3 fastethernet0/0 fe80::221:6bff:fe52:e36</input>

Showing IPv6 Route table

R3#<input>show ipv6 route</input>
IPv6 Routing Table - default - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       D - EIGRP, EX - EIGRP external, NM - NEMO, ND - Neighbor Discovery
       l - LISP
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S   2000::/3 [1/0]
     via fastethernet0/0 fe80::221:6bff:fe52:e36
C   2001:16D8:DD85:139::/64 [0/0]
     via FastEthernet0/0, directly connected
L   2001:16D8:DD85:139::7/128 [0/0]
     via FastEthernet0/0, receive
C   2001:16D8:DD85:140::/64 [0/0]
     via FastEthernet0/1, directly connected
L   2001:16D8:DD85:140::1/128 [0/0]
     via FastEthernet0/1, receive
L   FF00::/8 [0/0]
     via Null0, receive


ping 2001:200:dff:fff1:216:3eff:feb1:44d7


R1#<input>ping www.v6.facebook.com</input>
Translating "www.v6.facebook.com"...domain server ( [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2620:0:1CFE:<notice>FACE:B00C</notice>::3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 164/168/176 ms


ipv6 router rip RIPNGR3
int fastethernet0/1
 ipv6 address 2001:410:ffff:1::1/64
 ipv6 rip RIPNGR3 enable 
 ipv6 rip default-information originate 
int fastethernet0/0 
 ipv6 address 2001:410:ffff:2::1/64
 ipv6 rip RIPNGR3 enable 
 ipv6 rip default-information originate 
ipv6 route ::/0 ethernet0