viernes, 6 de septiembre de 2013

Routing Estático IPV6


Este artículo forma parte de una serie de varios artículos que tratan los distintos tipos de routing en IPV4 e IPV6 para CCNA R&S, para ir al índice del curso tienes este link:



Routing Estático IPV6

El routing estático en IPV6 es exactamente el mismo que para IPV4, solamente cambia que donde antes poníamos IP, ahora ponemos IPV6 :-D, por lo demás el concepto es el mismo, teniendo en cuenta que las direcciones y máscaras en IPV6 son un poco mas feas.

De hecho hay que decir que una tabla de rutas en IPV6 es muy muy fea de leer. A primera vista es tan legible como el coreano, pero según vas trabajando con ello le vas cogiendo algo mas de cariño, aunque eso no quita que sean difíciles de leer.

Configuracion de rutas estáticas en IPV6:


Ipv6 route <RED_DESTINO>/<MASCARA_DE_RED> <SIGUIENTE_SALTO>


Ejemplo routing estático ipv6:

Este es el mapa de nivel FISICO.



 Este en cambio es el nivel LÓGICO.


 
R1:

ipv6 unicast-routing



interface Loopback0


ipv6 address 1111::1/128



interface FastEthernet0/0


ipv6 address 2020:1::1/64


ipv6 route ::/0 2020:1::4


R2(Router on a Stick):

ipv6 unicast-routing


interface Loopback0


 ipv6 address 2222::2/128
 interface FastEthernet0/0.2
 encapsulation dot1Q 2
 ipv6 address 2020:2::2/64


!


interface FastEthernet0/0.3
 encapsulation dot1Q 3
 ipv6 address 2020:3::2/64




ipv6 route 3333::3/128 2020:3::3


ipv6 route ::/0 2020:2::4

R3(Router on a Stick):

 ipv6 unicast-routing


 interface Loopback0
ipv6 address 3333::3/128


 interface FastEthernet0/0.3
 encapsulation dot1Q 3
ipv6 address 2020:3::3/64




ipv6 route ::/0 2020:3::2




SWITCH(SVI e interfaz routing):

ipv6 unicast-routing


vlan 1
vlan 2


interface Loopback0
 ipv6 address 4444::4/128

interface FastEthernet0/0


ipv6 address 2020:1::4/64


interface Vlan2
ipv6 address 2020:2::4/64


ipv6 route 1111::1/128 2020:1::1
ipv6 route 2222::2/128 2020:2::2
ipv6 route 3333::3/128 2020:2::2

Tablas de routing:

R1#show ipv6 route


IPv6 Routing Table - 6 entries


Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       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   ::/0 [1/0]
     via 2020:1::4
LC  1111::1/128 [0/0]
     via ::, Loopback0
C   2020:1::/64 [0/0]
     via ::, FastEthernet0/0
L   2020:1::1/128 [0/0]
     via ::, FastEthernet0/0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0




R2#show ipv6 route


IPv6 Routing Table - 9 entries


Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       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   ::/0 [1/0]
     via 2020:2::4
C   2020:2::/64 [0/0]
     via ::, FastEthernet0/0.2
L   2020:2::2/128 [0/0] 
     via ::, FastEthernet0/0.2
C   2020:3::/64 [0/0]
     via ::, FastEthernet0/0.3
L   2020:3::2/128 [0/0]
     via ::, FastEthernet0/0.3
LC  2222::2/128 [0/0]
     via ::, Loopback0
S   3333::3/128 [1/0] 
     via 2020:3::3
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
    via ::, Null0


 


R3#show ipv6 route


IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       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   ::/0 [1/0] 
     via 2020:3::2
C   2020:3::/64 [0/0] 
     via ::, FastEthernet0/0.3
L   2020:3::3/128 [0/0] 
     via ::, FastEthernet0/0.3
LC  3333::3/128 [0/0] 
      via ::, Loopback0 
L   FE80::/10 [0/0] 
     via ::, Null0 
L   FF00::/8 [0/0] 
     via ::, Null0


SWITCH#show ipv6 route
IPv6 Routing Table - 10 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       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   1111::1/128 [1/0] 
     via 2020:1::1
C   2020:1::/64 [0/0] 
     via ::, FastEthernet0/0
L   2020:1::4/128 [0/0] 
     via ::, FastEthernet0/0
C   2020:2::/64 [0/0] 
     via ::, Vlan2 
L   2020:2::4/128 [0/0]
     via ::, Vlan2
S   2222::2/128 [1/0]
     via 2020:2::2
S   3333::3/128 [1/0]
     via 2020:2::2
LC  4444::4/128 [0/0]
     via ::, Loopback0
L   FE80::/10 [0/0]
     via ::, Null0
L   FF00::/8 [0/0]
     via ::, Null0



Haciendo pings a todo desde R1:

R1#ping ipv6 2222::2 source loopback 0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2222::2, timeout is 2 seconds:
Packet sent with a source address of 1111::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/36/44 ms


R1#ping ipv6 4444::4 source loopback 0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4444::4, timeout is 2 seconds:
Packet sent with a source address of 1111::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/16/20 ms



R1#ping ipv6 3333::3 source loopback 0
Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 3333::3, timeout is 2 seconds:


Packet sent with a source address of 1111::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/64/96 ms



R1#traceroute ipv6 3333::3
Type escape sequence to abort.


Tracing the route to 3333::3
  1 2020:1::4 12 msec 32 msec 20 msec
  2 2020:2::2 44 msec 40 msec 28 msec
  3 3333::3 76 msec 32 msec 40 msec

No hay comentarios:

Publicar un comentario