Cisco's Hot Backup Routing protocol (HSRP) can provide a backup router when workstation A does have a provincial gateway failure, HSRP can create a virtual router with a virtual MAC address and virtual IP address.
Suppose there are two routers bluestudy A and Bluestudy B, two points to the router Bluestudy C:
For Bluestudy A, assume that e0/0 's IP address is 192.168.1.1/24 corresponding to the internal network is 192.168.1.0/24 s0/0 IP address for 192.168.2.1/24 the corresponding external network is 192.168.2.0/24.
For Bluestudy B, assume that e0/0 's IP address is 192.169.1.2/24 corresponding to the internal network is 192.168.1.0/24 s0/0 IP address 192.168.3.1/24 corresponding to the external network is 192.168.3.0/24.
Virtual IP address is 192.168.1.3/24
For Bluestudy C, because with this experiment is not too much contact, temporarily do not explain.
The following is a configuration of two routers, where Bluestudy A is used as the primary router and Bluestudy B as the backup router. The priority for Bluestudy A is 120, and Bluestudy B takes the default priority of 100, which makes Bluestudy a the primary router.
Bluestudy A:
Interface ethernet0/0
Ip Address 192.168.1.1 255.255.255.0
No IP redirects
Standby 1 Priority 120
Standby 1 preempt
Standby 1 IP 192.168.1.3
!
Interface serial0/0
IP address 192.168.2.1 255.255.255.0
No shut
!
Router IGRP 100
Network 192.168.1.0
Network 192.168.2.0
Bluestudy B:
Interface ethernet0/0
Ip Address 192.168.1.2 255.255.255.0
Standby 1 preempt
Standby 1 IP 192.168.1.3
!
Interface serial0/0
IP address 192.168.3.1 255.255.255.0
No shut
!
Router IGRP 100
Network 192.168.1.0
Network 192.168.3.0
As long as the corresponding next to the host gateway set to 192.168.1.3 on it.
such as Cisco's dual-Machine hot backup configuration, if you have questions you can contact the webmaster to discuss.