Gns 3 HSRP-Description

  • Upload
    wardof

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

  • 7/30/2019 Gns 3 HSRP-Description

    1/4

    HSRP Hot standby Routing Protocol

    Overview:

    R1 and R2 are to work in active or passive mode. In the configuration, R1 is the Routerwith higher priority. Usually R1 is active and R2 stays in passive mode. Blue area

    represents HSRP group 10, red area means HSRP group 1.

    You can check the mechanism when you stop R1, Check with ping from PC1 to PC2s IP.Be patient because to became active state some seconds are needed.

    PC1 and PC2 are represented by a Cisco Router because GNS3 is not able to use anyimages for real PCs, so we use a C2621 Router to test our network. You are able to useping and traceroute to test the whole Network.

  • 7/30/2019 Gns 3 HSRP-Description

    2/4

    Configurations:

    Router R1:

    Building configuration...

    !! some lines deleted!!hostname R1!!! some lines deleted!!interface FastEthernet0/0ip address 192.168.30.254 255.255.255.0duplex autospeed autostandby 1 ip 192.168.30.1 ! this is the address for the default GW

    standby 1 priority 110standby 1 preemptstandby 1 track FastEthernet1/0 20!interface FastEthernet1/0ip address 192.168.20.254 255.255.255.0duplex autospeed autostandby 10 ip 192.168.20.1standby 10 priority 120standby 10 preempt!! some lines deleted!!!endRouter R2

    R2#Building configuration...

    !! some lines deleted!!hostname R2!! some lines deleted!!interface FastEthernet0/0ip address 192.168.30.253 255.255.255.0duplex autospeed autostandby 1 ip 192.168.30.1standby 1 priority 90!interface FastEthernet1/0ip address 192.168.20.253 255.255.255.0duplex autospeed autostandby 10 ip 192.168.20.1

  • 7/30/2019 Gns 3 HSRP-Description

    3/4

    standby 10 priority 50standby 10 preempt!! some lines deleted!!end

    Configuration for PC1 and PC2

    All we have to do is to configure the hostname, to no shutdown the used interfaces and toconfigure interfaces IP address. Now you have to configure a Default-GW. Well do it witha static Route 0.0.0.0 0.0.0.0 192.168.20.1 for PC1 and 0.0.0.0 0.0.0.0 192.168.30.1 forPC2 (the standby address from HSRP config.)

    Now its time to test your HSRP-Lab

    Go to PC1s console to enable mode and try to ping 192.168.30.10. set the repeat optionof ping to as higher as default (ping 192.168.30.10 repeat 200). Delete the wire betweenR1 f0/0 SW2 and attend the reaction of your lab. Reinstall the cable from R1 f0/0 SW1.In a few seconds, R1 gets active again and R2 works in standby mode.

    Have fun I had

  • 7/30/2019 Gns 3 HSRP-Description

    4/4

    Configuration PC1

    PC1#Building configuration...

    !

    hostname PC1!! !interface FastEthernet0/0ip address 192.168.20.10 255.255.255.0duplex autospeed auto!!ip classlessip route 0.0.0.0 0.0.0.0 192.168.20.1!

    ! ...!!end

    Configuration PC2

    PC2#Building configuration...

    !hostname PC2!

    ! !interface FastEthernet0/0ip address 192.168.30.10 255.255.255.0duplex autospeed auto!ip route 0.0.0.0 0.0.0.0 192.168.30.1!!! !end