cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3206
Views
0
Helpful
16
Replies

HSRP/tracking configuration problem

Tracey Foster
Level 1
Level 1

I am trying to set up HSRP on 3 routers (see attached drawing).  At one point I had it running on one side, but then ran in to a static route problem on the other side.  I have added a switch to hand the static route/IP addressing on interfaces part, but now I can seem to get anythign to work together.

The desired end result is if either port G0/0.12 or G0/1 goes down on R1, R2 takes over.

Please take a look at my current configs and the attached drawing, currently R1 G0/0 is unpluggedR1 sh standby and tracking, don't seem to want to see that G0/0 is down and do what they are configured to do, unless I have something wrong...

Any help you can provide is greatly appreicated....

Tracey

R1:
track 100 interface GigabitEthernet0/0.12 ip routing
!
track 101 interface GigabitEthernet0/0.12 line-protocol
!
track 112 interface GigabitEthernet0/1 ip routing

interface GigabitEthernet0/0.12
encapsulation dot1Q 12
ip vrf forwarding VLAN12
ip address 192.168.26.99 255.255.255.0
ip nat inside
ip virtual-reassembly in
standby 0 ip 192.168.26.100
standby 0 priority 120
standby 0 preempt

interface GigabitEthernet0/1
ip address 172.16.1.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
standby 1 ip 172.16.1.1
standby 1 priority 120
standby 1 preempt
standby 1 track 101 decrement 11
duplex auto
speed auto

ip nat inside source static network 192.168.26.0 172.16.12.0 /24 vrf VLAN12
ip route 10.0.0.0 255.0.0.0 172.16.1.3
ip route vrf VLAN12 0.0.0.0 0.0.0.0 172.16.1.3 global


R1#sh track
Track 100
  Interface GigabitEthernet0/0.12 ip routing
  IP routing is Down (hw down)
    5 changes, last change 00:48:33
Track 101
  Interface GigabitEthernet0/0.12 line-protocol
  Line protocol is Down (hw down)
    1 change, last change 00:33:13
  Tracked by:
    HSRP GigabitEthernet0/1 1
Track 112
  Interface GigabitEthernet0/1 ip routing
  IP routing is Up
    11 changes, last change 00:49:10

R1#sh stand
GigabitEthernet0/0.12 - Group 0
  State is Init (interface down)
    15 state changes, last state change 00:47:50
  Virtual IP address is 192.168.26.100
  Active virtual MAC address is unknown
    Local virtual MAC address is 0000.0c07.ac00 (v1 default)
  Hello time 3 sec, hold time 10 sec
  Preemption enabled
  Active router is unknown
  Standby router is unknown
  Priority 120 (configured 120)
  Group name is "hsrp-Gi0/0.12-0" (default)
GigabitEthernet0/1 - Group 1
  State is Active
    23 state changes, last state change 00:48:25
  Virtual IP address is 172.16.1.1
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.272 secs
  Preemption enabled
  Active router is local
  Standby router is 172.16.1.4, priority 110 (expires in 8.944 sec)
  Priority 109 (configured 120)
    Track object 101 state Down decrement 11
  Group name is "hsrp-Gi0/1-1" (default)


R2:
track 100 interface GigabitEthernet0/2.12 ip routing
!
track 101 interface GigabitEthernet0/2.12 line-protocol
!
track 112 interface GigabitEthernet0/1 ip routing

interface GigabitEthernet0/1
ip address 172.16.1.4 255.255.255.0
ip nat outside
ip virtual-reassembly in
standby 1 ip 172.16.1.1
standby 1 priority 110
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/2.12
encapsulation dot1Q 12
ip vrf forwarding VLAN12
ip address 192.168.26.98 255.255.255.0
ip nat inside
ip virtual-reassembly in
standby 0 ip 192.168.26.100
standby 0 priority 110
!
ip nat inside source static network 192.168.26.0 172.16.12.0 /24 vrf VLAN12
ip route 10.0.0.0 255.0.0.0 172.16.1.3
ip route vrf VLAN12 0.0.0.0 0.0.0.0 172.16.1.3 global

R2#sh track
Track 100
  Interface GigabitEthernet0/2.12 ip routing
  IP routing is Up
    2 changes, last change 03:16:17
Track 101
  Interface GigabitEthernet0/2.12 line-protocol
  Line protocol is Up
    1 change, last change 00:43:52
Track 112
  Interface GigabitEthernet0/1 ip routing
  IP routing is Up
    3 changes, last change 02:36:57

R2#sh stan
GigabitEthernet0/1 - Group 1
  State is Standby
    28 state changes, last state change 00:49:30
  Virtual IP address is 172.16.1.1
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.512 secs
  Preemption disabled
  Active router is 172.16.1.2, priority 109 (expires in 7.984 sec)
  Standby router is local
  Priority 110 (configured 110)
  Group name is "hsrp-Gi0/1-1" (default)
GigabitEthernet0/2.12 - Group 0
  State is Active
    28 state changes, last state change 00:48:59
  Virtual IP address is 192.168.26.100
  Active virtual MAC address is 0000.0c07.ac00
    Local virtual MAC address is 0000.0c07.ac00 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.888 secs
  Preemption disabled
  Active router is local
  Standby router is unknown
  Priority 110 (configured 110)
  Group name is "hsrp-Gi0/2.12-0" (default)

R3:
interface GigabitEthernet0/0
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.16.1.3 255.255.255.0
duplex auto
speed auto
!
ip route 172.16.10.0 255.255.255.0 172.16.1.1
ip route 172.16.11.0 255.255.255.0 172.16.1.1
ip route 172.16.12.0 255.255.255.0 172.16.1.1
ip route 172.16.13.0 255.255.255.0 172.16.1.1

16 Replies 16

Tracey Foster
Level 1
Level 1

Dan,

Thank you very much for seeing this trough with me!  I know that I had all of those config setting in there at one point as I have the configs for it, so that makes me ask, is there an order in which the commands need to be placed?

I am the only network person on the team, so I don't have a second set of fresh eyes to see things when there is a problem.  Today you were my second set of eys and I thank you very much!  I just hope that someday I will be able to return the favor to you and others!

Sincerely,

Tracey

My pleasure Tracey.

This ss the main utility of this forum. Interconnect technical people around the world in order to solve technical issues using a global knowledge.

Regards

Dan

Review Cisco Networking products for a $25 gift card