Comandos REDES2#
Comandos REDES2#
Comandos REDES2#
Comandos
por
Asignatura:
Interconexión de redes
ISC 61
Configuración de Interfaces
● R1(config)# interface gigabitethernet 0/0/0
o R1(config-if)# description Link to LAN 1
o R1(config-if)# ip address 10.0.1.1 255.255.255.0
o R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
o R1(config-if)# ipv6 address fe80::1:a link-local
o R1(config-if)# no shutdown
o R1(config-if)# exit
● R1(config)# interface gigabitethernet 0/0/1
o R1(config-if)# description Link to LAN 2
o R1(config-if)# ip address 10.0.2.1 255.255.255.0
o R1(config-if)# ipv6 address 2001:db8:acad:2::1/64
o R1(config-if)# ipv6 address fe80::1:b link-local
o R1(config-if)# no shutdown
o R1(config-if)# exit
● R1(config)# interface serial 0/1/1
o R1(config-if)# description Link to R2
o R1(config-if)# ip address 10.0.3.1 255.255.255.0
o R1(config-if)# ipv6 address 2001:db8:acad:3::1/64
o R1(config-if)# ipv6 address fe80::1:c link-local
o R1(config-if)# no shutdown
o R1(config-if)# exit
Configuración de DHCP
● R1(config)# ip dhcp excluded-address 10.0.1.1 10.0.1.10
● R1(config)# ip dhcp pool LAN1
o R1(dhcp-config)# network 10.0.1.0 255.255.255.0
o R1(dhcp-config)# default-router 10.0.1.1
o R1(dhcp-config)# dns-server 8.8.8.8
o R1(dhcp-config)# exit
● R1(config)# ip dhcp excluded-address 10.0.2.1 10.0.2.10
● R1(config)# ip dhcp pool LAN2
o R1(dhcp-config)# network 10.0.2.0 255.255.255.0
o R1(dhcp-config)# default-router 10.0.2.1
o R1(dhcp-config)# dns-server 8.8.8.8
o R1(dhcp-config)# exit
Configuración de OSPF
● Router(config)# router ospf 1
o Router(config-router)# network 10.0.1.0 0.0.0.255 area 0
o Router(config-router)# network 10.0.2.0 0.0.0.255 area 0
o Router(config-router)# network 10.0.3.0 0.0.0.255 area 0
o Router(config-router)# exit
Verificación de OSPF
● Router# show ip ospf neighbor
● Router# show ip ospf database
● Router# show ip ospf interface
● Router# show ip ospf
● Router# show ip route ospf
● Router# show ip ospf interface gigabitethernet 0/0/0
● Router# show ip ospf interface gigabitethernet 0/0/1
● Router# show ip ospf interface serial 0/1/1
Guardar la Configuración
● R1# copy running-config startup-config