0% encontró este documento útil (0 votos)
74 vistas8 páginas

Configuración IPv6 y OSPF en Router

El documento describe la configuración de IPv6 en tres interfaces de un router, incluyendo la asignación de direcciones IPv6 y la configuración de OSPFv3. Se muestran los comandos para verificar la configuración como mostrar interfaces, rutas y vecinos OSPF.

Cargado por

Luis Puchaicela
Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como DOCX, PDF, TXT o lee en línea desde Scribd
0% encontró este documento útil (0 votos)
74 vistas8 páginas

Configuración IPv6 y OSPF en Router

El documento describe la configuración de IPv6 en tres interfaces de un router, incluyendo la asignación de direcciones IPv6 y la configuración de OSPFv3. Se muestran los comandos para verificar la configuración como mostrar interfaces, rutas y vecinos OSPF.

Cargado por

Luis Puchaicela
Derechos de autor
© © All Rights Reserved
Nos tomamos en serio los derechos de los contenidos. Si sospechas que se trata de tu contenido, reclámalo aquí.
Formatos disponibles
Descarga como DOCX, PDF, TXT o lee en línea desde Scribd

Configuración de Router 1

Comando para ver las interfaces en IPV6


Show ipv6 inteface brief
Interfaz FastEthernet 0/0

Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ipv6 ad
Router(config-if)#ipv6 address [Link]É:1::1/64
Router(config-if)#no shutdown
Router(config-if)#do wr
Interfaz Serial 0/3/1

Router(config)#interface serial 0/3/1


Router(config-if)#ipv6 address [Link]É:A003::1/64
Router(config-if)#ipv6 address FE80::3 link-local
Router(config-if)#no shutdown

Interfaz Serial 0/3/0

Router(config)#interface serial 0/3/1


Router(config-if)#ipv6 address [Link]É:A001::1/64
Router(config-if)#ipv6 address FE80::3 link-local
Router(config-if)#no shutdown

Gateway
Router(config)#interface f0/0
Router(config-if)#ipv6 address FE80::1 link-local
Router(config-if)#do wr
Configuración de OSPF

Router>enable
Router#configure terminal
Router(config)#ipv6 unicast-routing
Router(config)#ipv6 router ospf 10
Router(config-rtr)#router-id [Link]
Router(config-rtr)#
Router(config-rtr)#end

Router#clear ipv6 ospf process


Reset ALL OSPF processes? [no]: y

Router#show ipv6 interface brief


FastEthernet0/0 [up/up]
FE80::1
[Link]

FastEthernet0/1 [administratively down/down]


Unassigned

Serial0/3/0 [up/up]
FE80::1
[Link]

Serial0/3/1 [up/up]
FE80::1
[Link]

Vlan1 [administratively down/down]


Unassigned
OSPFv3 en FastEthernet 0/0
Ex
Show Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ipv6 ospf 10 area 0
Router(config-if)#exit
OSPFv3 en Serial 0/3/1
Router#configure terminal
Router(config)#interface s0/3/1
Router(config-if)#ipv6 ospf 10 area 0
Router(config-if)#exit
OSPFv3 en Serial 0/3/0
Router#configure terminal
Router(config)#interface s0/3/0
Router(config-if)#ipv6 ospf 10 area
Router(config-if)#exit
Comprobación en tablas del Routers
Router#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
[Link] 0 FULL/ - [Link] 3 Serial0/3/0
[Link] 0 FULL/ - [Link] 4 Serial0/3/1

Router#show ipv6 route


IPv6 Routing Table - 10 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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
D - EIGRP, EX - EIGRP external
O [Link]/64 [110/65]
via FE80::1, Serial0/3/0
C [Link]/64 [0/0]
via ::, FastEthernet0/0
L [Link]/128 [0/0]
via ::, FastEthernet0/0
O [Link]/64 [110/65]
via FE80::3, Serial0/3/1
C [Link]/64 [0/0]
via ::, Serial0/3/0
L [Link]/128 [0/0]
via ::, Serial0/3/0
C [Link]/64 [0/0]
via ::, Serial0/3/1
L [Link]/128 [0/0]
via ::, Serial0/3/1
O [Link]/64 [110/128]
via FE80::1, Serial0/3/0
via FE80::3, Serial0/3/1
L FF00::/8 [0/0]
via ::, Null0
Ver la interfaz
display ipv6 interface brief

Configurar IPv6
[R1]ipv6
Configurar Interfaz GigabitEthernet 0/0/0 del router R1
[R1-GigabitEthernet0/0/0]ipv6 enable
[R1-GigabitEthernet0/0/0]ipv6 address [Link]/64
[R1-GigabitEthernet0/0/0]quit

Configurar Interfaz Serial 4/0/0 del router R1


[R1-Serial4/0/0]ipv6 enable
[R1- Serial4/0/0]ipv6 address [Link]/64
[R1- Serial4/0/0]quit

Configurar Interfaz Serial 4/0/1 del router R1


[R1-Serial4/0/1]ipv6 enable
[R1- Serial4/0/1]ipv6 address [Link]/64
[R1- Serial4/0/1]quit

Gateway
[R1]interface Serial 4/0/0
[R1-Serial4/0/0]ipv6 enable
[R1-Serial4/0/0]ipv6 address auto link-local

Configuración de OSPFv3 en Router 1

<R1>system-view
[R1]ospfv3
[R1-ospfv3-1]router-id [Link]

[R1]interface GigabitEthernet 0/0/0


[R1-GigabitEthernet0/0/0]ospfv3 1 area [Link]
[R1-GigabitEthernet0/0/0]quit

[R1]interface Serial 4/0/0


[R1-Serial4/0/0]ospfv3 1 area [Link]
[R1-Serial4/0/0]quit

[R1]interface Serial 4/0/1


[R1-Serial4/0/1]ospfv3 1 area [Link]
[R1-Serial4/0/1]quit
[R1]
Comandos importantes
<R1>display ipv6 routing-table // visualizar la tabla de enrutamiento
<R1>display ospfv3 peer // las redes conecadas
<R1>display ospfv3 next-hop // redes y su distancia dmainitrativa
<R1>display ospfv3 routing // ver la métrica
<R1>display ipv6 interface brief // interfaces habilitadas
Configurar dirección IPv6 gns3 en PC
PC1>
PC1> ip [Link]é:1::10/64 // agregamos la IPv6

PC1> show ipv6 // vemos si se guardaron los cambios


NAME : PC1[1]
LINK-LOCAL SCOPE : fe80::250:79ff:fe66:6800/64
GLOBAL SCOPE : [Link]/64
ROUTER LINK-LAYER :
MAC : [Link]
LPORT : 10030
RHOST:PORT : [Link]:10031
MTU: : 1500

Habilitar IPV6 y OSPFv3 en router 1


[R1-config]#ipv6 unicast-routing
[R1-config]#ipv6 router ospf1
[R1-config]#router-id [Link]

Configuración de dirección IPv6 en interfaces y IPv6 OSPF:


[R1-config]# interface fastEthernet0/0
[R1-config]# ipv6 address [Link]/64
[R1-config]# ipv6 ospf 1 area 0

[R1-config]# interface fastEthernet0/1


[R1-config]# ipv6 address [Link]/64
[R1-config]# ipv6 ospf 1 area 0

[R1-config]# interface fastEthernet1/0ip


[R1-config]# ipv6 address [Link]/64
[R1-config]# ipv6 ospf 1 area 0

También podría gustarte