IP Static Floating Route Floating Static Route

Source: Internet
Author: User

This article mainly introduces how to set up the IP floating static route of the router, and provides a schematic diagram and specific command line configuration. The following article will give you a detailed introduction.

Intention: Floating Static Route is used to interconnect the entire network. Normally, R1 sends packets to R3.

From e0/0192.168.12.0), when e0/0 is disconnected, R1 will automatically switch to e0/11942521.0), when e0/0

When it is enabled, R1 automatically switches to the floating static route e0/0 port.


(R1 Configuration :)
!
!
Interface Loopback0
Ip address 1.1.1.1 255.255.255.255
!
Interface Ethernet0/0
Ip address 192.168.12.1 255.255.255.0
Shutdown
Half-duplex
!
Interface Ethernet0/1
Ip address 192.168.21.1 255.255.255.0
Half-duplex
!
Ip route 3.3.3.3 255.255.255.255.255 192.168.12.2
Ip route 3.3.3.3 255.255.255.255.255 192.168.21.2 50
Ip route 192.168.23.0 255.255.255.0 192.168.12.2
Ip route 192.168.23.0 255.255.255.0 192.168.21.2 50
!
!

(R2 Configuration :)
!
Interface Ethernet0/0
Ip address 192.168.12.2 255.255.255.0
Half-duplex
!
Interface Ethernet0/1
Ip address 192.168.21.2 255.255.255.0
Half-duplex
!
Interface Ethernet0/2
Ip address 192.168.23.2 255.255.255.0
Half-duplex
!
Ip route 3.3.3.3 255.255.255.255 192.168.23.3
!
!

(R3 Configuration :)
!
Interface Loopback0
Ip address 3.3.3.3 255.255.255.255
!
Interface Ethernet0/2
Ip address 192.168.23.3 255.255.255.0
Half-duplex
!
Ip route 192.168.12.0 255.255.255.0 192.168.23.2
Ip route 192.168.21.0 255.255.255.0 192.168.23.2
!
!
--------------------------------
(Inspect R1 :)
R1 #
R1 # traceroute 3.3.3.3
Type escape sequence to abort.
Tracing the route to 3.3.3.3

1 192.168.12.2 124 msec 12 msec 48 msec
2 192.168.23.3 112 msec * 160 msec
R1 #
Disable shutdown ethernet 0/0 port for e0/0)
R1 #
R1 (config) # int e0/0
R1 (config-if) # shutdown
R1 #
R1 # traceroute 3.3.3.3

Type escape sequence to abort.
Tracing the route to 3.3.3.3

1 192.168.21.2 144 msec 72 msec 20 msec
2 192.168.23.3 80 msec * 96 msec
R1 #

Re-enable reopen ethernet 0/0 port on port e0/0)
R1 #
R1 # config t
R1 (config) # int e0/0
R1 (config-if) # no shutdown
R1 #
R1 # traceroute 3.3.3.3

Type escape sequence to abort.
Tracing the route to 3.3.3.3

1 *
192.168.12.2 76 msec 76 msec
2 192.168.23.3 88 msec * 120 msec
R1 #

Notice: ip route 3.3.3.3 255.255.255.255 192.168.21.2 50 (the following 50 indicates the management distance from It
Represents "Distance metric for this route ")

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.