Ospfv3 con IPv6

Siguiendo el esquema de acontinuación vamos a configurar OSPF con IPv6. Vamos a modificar las link local address que se autoconfiguran en el emulador porque todos los routers tienen la misma mac y el protocolo DAD Duplicate Address Detection no te deja usar la interfaz con ip duplicada
Primero configuramos las interfaces de cada router sin olvidar ipv6 unicast-routing en el modo de configuración global
R1
interface Loopback0
 no ip address
 ipv6 address 2001:AAAA:CCCC::1/64
end
interface Serial0/0
 no ip address
 ipv6 address 2001:AAAA:AAAA::1/64
 ipv6 address FE80::1 link-local
 serial restart-delay 0
end
R2
interface Serial0/0
 no ip address
 ipv6 address 2001:AAAA:AAAA::2/64
 ipv6 address FE80::2 link-local
 serial restart-delay 0
end
interface Serial0/1
 no ip address
 ipv6 address 2001:AAAA:BBBB::2/64
 ipv6 address FE80::3 link-local
 serial restart-delay 0
end
R3
interface Loopback0
 no ip address
 ipv6 address 2001:AAAA:DDDD::1/64
end
interface Serial0/1
 no ip address
 ipv6 address 2001:AAAA:BBBB::1/64
 ipv6 address FE80::4 link-local
 serial restart-delay 0
end
Vemos como quedan las interfaces después de la configuración:
R1
R1#sh ipv6 int brie | excl admin
Serial0/0                  [up/up]
    FE80::1
    2001:AAAA:AAAA::1
Loopback0                  [up/up]
    FE80::FFFF:FE10:45C5
    2001:AAAA:CCCC::1
R2
Serial0/0                  [up/up]
    FE80::2
    2001:AAAA:AAAA::2
Serial0/1                  [up/up]
    FE80::3
    2001:AAAA:BBBB::2
R3
Serial0/1                  [up/up]
    FE80::4
    2001:AAAA:BBBB::1
Loopback0                  [up/up]
    FE80::FFFF:FE10:45C5
    2001:AAAA:DDDD::1
Puesto que los routers no tienen ninguna ip en formato ipv4 hay que crear obligatoriamente un ID de 32 bits para cada uno.
R1
*Mar  1 00:41:08.575: %OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id,
ipv6 router ospf 1
 router-id 0.0.0.1
R2
ipv6 router ospf 1
 router-id 0.0.0.2
R3
ipv6 router ospf 1
 router-id 0.0.0.3

Y por último habilitamos el enrutamiento, diciendo en cada interfaz que habla ipv6 que área va a enrutar, el comando network queda desfasado en RIP OSPF y EIGRP
R1
interface loopback 0
     ipv6 ospf 1 area 0
interface serial0/0
     ipv6 ospf 1 area 0
R2
interface serial0/0
     ipv6 ospf 1 area 0
interface serial0/1
     ipv6 ospf 1 area 0
R3
interface serial0/1
     ipv6 ospf 1 area 0
Vemos que al hacer show ip protocols dice porque interfaces habla OSPF pongo de ejemplo R1:
R1#sh ipv6 pro
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "static"
IPv6 Routing Protocol is "ospf 1"
  Interfaces (Area 0):
    Loopback0
    Serial0/0
  Redistribution:
    None
Ahora todo queda perfectamente enrutado
R1
R1#sh ipv6 route ospf
IPv6 Routing Table - 8 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
O   2001:AAAA:BBBB::/64 [110/128]
     via FE80::2, Serial0/0
O   2001:AAAA:DDDD::1/128 [110/128]
     via FE80::2, Serial0/0
Como ocurre en ospf normal las loopback se anuncian como /32 en ipv4 en ipv6 son /128. Probamos la conectividad
R1#ping 2001:aaaa:dddd::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:AAAA:DDDD::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/46/60 ms
Tambien se puede observar la inclusión de un nuevo tipo de LSA, TIPO 8 que anuncia las Link-Local Address
Ejemplo en R3
R3#sh ipv6 ospf database

            OSPFv3 Router with ID (0.0.0.3) (Process ID 1)

                Router Link States (Area 0)

ADV Router      Age         Seq#        Fragment ID  Link count  Bits
0.0.0.1         278         0x80000004  0            1           None
0.0.0.2         267         0x80000003  0            2           None
0.0.0.3         87          0x80000002  0            1           None

                Link (Type-8) Link States (Area 0)

ADV Router      Age         Seq#        Link ID    Interface
0.0.0.2         276         0x80000001  5          Se0/1
0.0.0.3         268         0x80000001  5          Se0/1

                Intra Area Prefix Link States (Area 0)

ADV Router      Age         Seq#        Link ID    Ref-lstype  Ref-LSID
0.0.0.1         1437        0x80000003  0          0x2001      0
0.0.0.2         272         0x80000002  0          0x2001      0
0.0.0.3         87          0x80000002  0          0x2001      0

1 comentario:

  1. If you play utilizing a progressive system, such as the Martingale strategy, then you're be} typically restricted to the amount of instances you can to|you presumably can} double your bet before you attain the utmost table limit. There is, nevertheless, one other consideration relating to the usage of} the Martingale strategy that's the|and that's the} range between lowest and highest table limits. Also, if you are going to play with actual cash, we advocate selecting a website with varied fee choices like SuperSlots, or totally different bonuses like BetOnline and Ignition. The main difference between these roulette video games pertains to the variety 카지노 of zeroes . BetOnline boasts sportsbook and casino-specific welcome bonuses model spanking new|for model new} sign-ups. That said, crypto bettors can benefit of|benefit from|reap the advantages of} a a lot lower casino playthrough than fiat gamers.

    ResponderEliminar