cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
254
Views
0
Helpful
3
Replies

Drop Interface Automatically - HSRP

lxcollin1
Level 1
Level 1

Hello,

I was wondering if there is anyway to automatically drop a router interface if another interface fails. I'm trying to tune HSRP, but it will not work properly if I cannot disable my WAN interface if my LAN interface fails. Any ideas?

Thanks!!

Lee

3 Replies 3

mheusinger
Level 10
Level 10

Hello,

you might want to have a look at interface tracking capabilities in HSRP.

The command "standby [group-number] track type number [interface-priority]" will lower the priority of the HSRP router in case an interface goes down. You can achieve that the HSRP active router is standby in case a tracked interface goes down.

There is no possibility within IOS to shutdown an interface in case another interface goes down.

The usual behaviour is, that each WAN router tracks his WAN interface and lowers it´s HSRP priority by a value, that the former standby router becomes active. Therefore only a router with an active WAN link will be the gateway for your LAN.

A sample config could look like this:

interface Serial0

ip address ...

interface Ethernet0

ip address 10.1.1.2 255.255.255.0

interface Ethernet0/0

standby 1 preempt

standby 1 priority 110

standby 1 track interface serial0 20

standby 1 ip 10.1.1.1

Hope this helps! Please rate all posts.

Regards, Martin

Hi,

Martins explanation will definitly solve your problem. one more thing is there if your WAN interface goes down HSRP interface tracking will make your standby router gateway to your LAN.and if your LAN interface goes down than also your standby router will become master router.

Thanks Martin,

I understand how HSRP works, but the problem is that my ISP will still be routing traffic to my router since the outside interface is still up. HSRP will only resolve my inside traffic going out, but is there there any way to disable the outside interface to have my ISP stop forwarding traffic? Any method outside of HSRP???

Thanks,

Lee