Master CCNA

How to Master CCNA Ebook

 

 

My book will help you Master CCNA

Master CCNP SWITCH

How to master CCNP SWITCH ebook

 

 

My book will help you Master CCNP SWITCH

Master CCNP ROUTE

How to master CCNP ROUTE Ebook

 

 

My book will help you Master CCNP ROUTE

Print

Hot Standby Routing Protocol (HSRP)

Written by Rene Molenaar on . Posted in Network Services

Scenario:

Internet traffic is becoming more and more important since the company you are working for is focused on e-commerce. Every minute that their webservers running webshops are unavailable is causing profit loss. The company decided need a scalable solution and get rid of the single router (NewJersey), so there is no single point of failure anymore. Up to you to start configuring!

Goal:

  • All IP addresses have been preconfigured as following:

    NewYork: F0/0: 192.168.1.1 /24
    NewYork: F1/0: 192.168.2.1 /24

    NewJersey: F0/0: 192.168.1.2 /24
    NewJersey F1/0: 192.168.2.2 /24

    L.A.: F0/0: 192.168.1.3 /24
    L.A.: F1/0: 192.168.2.3 /24

    HOST: F0/0: 192.168.1.200 /24

    IPS: F0/0: 192.168.2.254 /24
     
  • The ISP router has the following loopback interfaces, these are used to simulate the Internet.

    Loopback0: 172.16.1.1 /24
    Loopback1: 172.16.2.1 /24
    Loopback2: 172.16.3.1 /24
     
  • The host router has been configured with "no ip routing" which will turn it into an ordinary host.
  • OSPF has been configured on all routers except the host router for full connectivity.
  • Configure NewYork, Newjersey and L.A. for HSRP, use the standby group number "1".
  • The virtual IP Address should be 192.168.1.254 /24 . The virtual mac address should be 1234.5678.9abc.
  • Newjersey should be the Active router, when it fails L.A. should take over.
  • Hello packets should be sent every 7 seconds.
  • Make sure the router with highest priority will always be the active router.
  • Configure authentication for HSRP, use password "vault".
  • When the HSRP active router's F1/0 interface goes down, make sure it's no longer the active HSRP router.
  • Configure the virtual IP address of HSRP as default gateway on the Host Router.
  • Ensure you can ping the loopbacks of the ISP router from the Host router.
  • Ensure that whenever 2 out of 3 routers are down, the Host router still has connectivity to the ISP.

IOS:

c3640-jk9s-mz.124-16.bin

Topology:

Hot Standby Routing Protocol

Video Solution:

You need to a flashplayer enabled browser to view this YouTube video

You need to register to download the GNS3 Topology File. (Registration is Free!)

Related Articles
Only registered users can write comments!

Comments (8)

  • avatar
    talaltk

    easy peasy japaneesy 8):P

  • avatar
    ebalmon

    Hi Renee, I need some help with this lab. Can you send me the final configs?

    Thanks

  • avatar
    ReneMolenaar

    I would but i didn't create them so far...i'll do so when i have more time. What part are you having trouble with? if you post it here i'll answer your question.

    Rene

  • avatar
    ebalmon

    Ok, I don`t understand what to mean when you say "The virtual mac address should be 111:2222:3333." Can you explain me how it's work?. I never had read anything about this address.

    To do this: "Newjersey should be the Active router, when it fails L.A. should take over", I guess that I must configure the maximum priority in NewJersey (200) and another low in L.A. (190) Right?

    To do this: "Make sure the router with highest priority will always be the active router" I think that I need the "preemt" command but I`m not sure.


    I don`t know how to do this: "When the HSRP active router's F1/0 interface goes down, make sure it's no longer the active HSRP router". What't the point?

    Thanks for your help. I apologize for my English :(

  • avatar
    ReneMolenaar

    No worries Emilio.

    HSRP uses a virtual IP address for the 'virtual gateway' that the clients will use. It makes sense that if you have a virtual IP it'll also use a virtual mac address. You can change this if you want.

    You are correct about the priority.

    You are also correct about preempt. Preempt means that the higher priority router will always take over. If you don't configure this then you need to reset HSRP to make the highest priority router take over again.

    HSRP supports 'interface tracking'. This is very cool...when an interface goes down the router gets a penalty and the priority becomes worse. When this happens the router with the next best priority will take over 8)

    Good luck!

  • avatar
    ebalmon

    I`m going to test it and will comment the results. I hope no problems with the OSPF configuration....

    Thanks

  • avatar
    ebalmon

    Ok, I think I got the goals. When interface f1/0 in NewJersey router is down, L.A. router becomes the Active router. If f1/0 interface in L.A. router is also down, NewYork router is the Active. Add the configs. Tell me if you think is working right. Thanks

  • avatar
    ebalmon

    hostname NewJersey
    interface FastEthernet0/0
    ip address 192.168.1.2 255.255.255.0
    duplex auto
    speed auto
    standby 1 ip 192.168.1.254
    standby 1 timers 7 21
    standby 1 priority 110
    standby 1 preempt
    standby 1 authentication vault
    standby 1 track FastEthernet1/0 25
    !
    interface FastEthernet1/0
    ip address 192.168.2.2 255.255.255.0
    duplex auto
    speed auto
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.1.0 0.0.0.255 area 0
    network 192.168.2.0 0.0.0.255 area 0

    -----------------------------------------------------
    hostname L.A.
    interface FastEthernet0/0
    ip address 192.168.1.3 255.255.255.0
    duplex auto
    speed auto
    standby 1 ip 192.168.1.254
    standby 1 timers 7 21
    standby 1 preempt
    standby 1 authentication vault
    standby 1 track FastEthernet1/0 15
    !
    interface FastEthernet1/0
    ip address 192.168.2.3 255.255.255.0
    duplex auto
    speed auto
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.1.0 0.0.0.255 area 0
    network 192.168.2.0 0.0.0.255 area 0

    ----------------------------------------------------------------------

    hostname NewYork
    interface FastEthernet0/0
    ip address 192.168.1.1 255.255.255.0
    duplex auto
    speed auto
    standby 1 ip 192.168.1.254
    standby 1 timers 7 21
    standby 1 priority 90
    standby 1 preempt
    standby 1 authentication vault
    standby 1 track FastEthernet1/0
    !
    interface FastEthernet1/0
    ip address 192.168.2.1 255.255.255.0
    duplex auto
    speed auto
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.1.0 0.0.0.255 area 0
    network 192.168.2.0 0.0.0.255 area 0