Overview of High Availability:
With the rapid popularization and application of the network, a variety of value-added services in the network has been widely deployed, network bandwidth is exponential growth, the network short time interruption may affect a large number of business, resulting in significant losses. As the base network of the business bearer, high availability (AVAILABLITY,HA) is becoming the focus of attention. So how do you measure the availability of a network? First of all, a high availability network can not frequent failure, as long as the failure, even a very short time interruption, will affect business operations, especially in the current timely strong, packet loss and delay-sensitive business. Second, a highly available network, even if it fails, should be able to recover quickly.
Case one: High availability of links using a floating static route (Cisco emulator).
Due to limited equipment, two routers are used to simulate the host, namely PC-1 and PC-2
Topology Scenario:
Configuration:
PC-1:
PC-1 (config) #interface Ethernet 0/0
PC-1 (config-if) #ip add 192.168.1.1 255.255.255.0
PC-1 (config-if) #no shut
PC-1 (config) #ip Route 0.0.0.0 0.0.0.0 192.168.1.2 #静态路由, pointing to the gateway
PC-2:
PC-2 (config) #interface Ethernet 0/0
PC-2 (config-if) #ip add 192.168.4.1 255.255.255.0
PC-2 (config-if) #no shut
PC-2 (config) #ip Route 0.0.0.0 0.0.0.0 192.168.4.2 #静态路由, pointing to the gateway
R1:
R1 (config) #interface Ethernet 1/0
R1 (config-if) #ip add 192.168.1.2 255.255.255.0
R1 (config-if) #no shut
R1 (config) #interface s0/0
R1 (config-if) #ip add 192.168.2.1 255.255.255.0
R1 (config-if) #no shut
R1 (config) #interface S0/1
R1 (config-if) #ip add 192.168.3.1 255.255.255.0
R1 (config-if) #no shut
R1 (config) #router OSPF 100
R1 (config-router) #network 192.168.1.0 0.0.0.255 area 0 #通告ospf网络
R1 (config-router) #network 192.168.2.0 0.0.0.255 area 0 #通告ospf网络
R1 (config) #ip Route 0.0.0.0 0.0.0.0 192.168.3.2 #下面链路使用静态路由, as a backup