0% found this document useful (0 votes)
31 views6 pages

Configuracion Del HSRP

The document discusses several configuration topics: 1. It discusses configuring VLAN subinterfaces on routers and assigning them IP addresses to allow routing between VLANs. 2. It discusses configuring RIP routing between the routers to exchange routing information for VLAN networks. 3. It discusses configuring HSRP on the VLAN subinterfaces to provide default gateways and redundancy for hosts in each VLAN. 4. It briefly mentions configuring NAT and CDP on the routers.

Uploaded by

Joseph Jesus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views6 pages

Configuracion Del HSRP

The document discusses several configuration topics: 1. It discusses configuring VLAN subinterfaces on routers and assigning them IP addresses to allow routing between VLANs. 2. It discusses configuring RIP routing between the routers to exchange routing information for VLAN networks. 3. It discusses configuring HSRP on the VLAN subinterfaces to provide default gateways and redundancy for hosts in each VLAN. 4. It briefly mentions configuring NAT and CDP on the routers.

Uploaded by

Joseph Jesus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

CONFIGURACION DEL HSRP

Modo troncal

Solucion ( vlan diferentes ) Router(config)#hostname R2


R2(config)#interface g0/0.22
R2(config-subif)#encapsulation dot1q 22
R2(config-subif)#ip address 172.16.22.1
255.255.255.0
R2(config-subif)#interface g0/0.11
R2(config-subif)#encapsulation dot1q 11
R2(config-subif)#ip address 172.16.11.1
255.255.255.0
R2(config-subif)#interface g0/0
R2(config-if)#no shutdown
}

Router#configure terminal
Router(config)#interface g0/0.22
Router(config-subif)#encapsulation dot1q 22
Router(config-subif)#ip address 172.16.22.1 255.255.255.0
Router(config-subif)#interface g0/0.11
Router(config-subif)#encapsulation dot1q 11
Router(config-subif)#ip address 172.16.11.1 255.255.255.0
Router(config-subif)#interface g0/0
Router(config-if)#no shutdown
CONFIGURACION RIP V2 en el R1
Router>enable
Router#configure terminal
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 10.10.10.10
Router(config-router)#network 200.20.20.0
Router(config-router)#network 200.20.20.4
Router(config-router)#no auto-summary
Router(config-router)#

R2
R2>enable
R2#configure terminal
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 200.20.20.0
R2(config-router)#network 172.16.22.0
R2(config-router)#network 172.16.11.0
R2(config-router)#no auto-summary
R2(config-router)#exit

R3
R3>enable
R3#configure terminal
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#network 200.20.20.4
R3(config-router)#network 172.16.22.0
R3(config-router)#network 172.16.11.0
R3(config-router)#no auto-summary
R3(config-router)#exit
CONFIGURACION “ HSRP “ con VLANS
R2  MODO ACTIVO R3  STANDBY

R2
R2#configure terminal
R2(config)#interface g0/0. 22
IP VIRTUAL
R2(config-subif)#standby 2 ip 172.16.22.254
R2(config-subif)#standby 2 priority 150
R2(config-subif)#standby 2 preempt
R2(config-subif)#

R3
R3(config)#interface g0/0.22
R3(config-subif)#standby 2 ip 172.16.22.254
R3(config-subif)#

R3  ACTIVO R2  STANDBY

R3
R3(config-subif)#exit
R3(config)#interface g0/0.11
R3(config-subif)#standby 2 ip 172.16.11.254
R3(config-subif)#standby 2 priority 150
R3(config-subif)#standby 2
R3(config-subif)#

R2
R2(config-subif)#exit
R2(config)#interface g0/0.11
R2(config-subif)#standby 2 ip 172.16.11.254
CONFIGURACION DE NAT ESTATICO

Router(config)#ip nat inside source static 10.10.0.2 10.40.0.5


Router(config)#interface g0/0
Router(config-if)#
Router(config-if)#ip nat inside
Router(config-if)#exit
Router(config)#interface g0/1
Router(config-if)#ip nat outside
Router(config-if)#exit
CONFIGURACION “ CDP “
comando:
R#show cdp neighbors

configuración ROOT
Switch(config)#spanning-tree vlan 1 priority 4096
CONFIGURACION RAPID PVST
Switch(config)#spanning-tree mode rapid-pvst
Switch(config)#spanning-tree vlan 20,30 root primary
Switch(config)#exit

You might also like