In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Task configuration of 1.staticrouter01
Networking requirements
The IP addresses and masks of the interfaces and hosts of the switch are shown in figure 1-2. Static routing is required so that between any two hosts in the figure
Can communicate with each other.
Configuration step
(1) configure the IP address of each interface (abbreviated)
(2) configure static rout
# configure the default route on Switch A.
System-view
[SwitchA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
# configure two static routes on Switch B.
System-view
[SwitchB] ip route-static 1.1.2.0 255.255.255.0 1.1.4.1
[SwitchB] ip route-static 1.1.3.0 255.255.255.0 1.1.5.6
# configure the default route on Switch C.
System-view
[SwitchC] ip route-static 0.0.0.0 0.0.0.0 1.1.5.5
(3) configure the host
The default gateway for configuring Host An is 1.1.2.3. The default gateway for host B is 1.1.6.1. The default gateway for host C is 1.1.3.1.
The specific configuration process is brief.
Check the ip address of hostA and test it
Task configuration of 2.staticrouter02
Networking requirements
Configure a static route on Switch A to reach the 120.1.1.0 Universe 24 network segment, and configure a static route on Switch B to reach
Up to 121.1.1.0 amp 24 network segments, and all enable BFD detection function.
Configure a static route on Switch C to reach the 120.1.1.0 Universe 24 network segment and the 121.1.1.0 Universe 24 network segment.
When the link that Switch An and Switch B communicate through L2 Switch fails, BFD can quickly sense and cut
Switch to Switch C for communication.
Device interface IP address device interface IP address
Switch A Vlan-int10 12.1.1.1/24 Vlan-int11 10.1.1.102/24
Switch B Vlan-int10 12.1.1.2/24 Vlan-int13 13.1.1.1/24
Switch C Vlan-int11 10.1.1.100/24 Vlan-int13 13.1.1.2/24
Configuration step
(1) configure the IP address of each interface (abbreviated)
(2) configure static routing and BFD
# configure static routes on Switch An and enable BFD detection, using two-way detection.
System-view
[SwitchA] interface vlan-interface 10
[SwitchA-vlan-interface10] bfd min-transmit-interval 500
[SwitchA-vlan-interface10] bfd min-receive-interval 500
[SwitchA-vlan-interface10] bfd detect-multiplier 9
[SwitchA-vlan-interface10] quit
[SwitchA] ip route-static 120.1.1.0 24 vlan-interface 10 12.1.1.2 bfd control-packet
[SwitchA] ip route-static 120.1.1.0 24 vlan-interface 11 10.1.1.100 preference 65
[SwitchA] quit
# configure static routes on Switch B and enable BFD detection, using two-way detection.
System-view
[SwitchB] interface vlan-interface 10
[SwitchB-vlan-interface10] bfd min-transmit-interval 500
[SwitchB-vlan-interface10] bfd min-receive-interval 500
[SwitchB-vlan-interface10] bfd detect-multiplier 9
[SwitchB-vlan-interface10] quit
[SwitchB] ip route-static 121.1.1.0 24 vlan-interface 10 12.1.1.1 bfd control-packet
[SwitchB] ip route-static 121.1.1.0 24 vlan-interface 13 13.1.1.2 preference 65
[SwitchB] quit
# configure static routes on Switch C.
System-view
[SwitchC] ip route-static 120.1.1.0 24 13.1.1.1
[SwitchC] ip route-static 121.1.1.0 24 10.1.1.102
Do a test first to see if you can communicate with ping
Before disconnecting the main switch, test the use of switch C to see if you can ping
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.