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)05/31 Report--
This article introduces how to configure the back-end RS in lvs-dr mode. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
1. Configure vip on lo
Ip addr add 192.168.50.246/32 dev lo label lo:0
two。 Suppress arp
Echo 1 > / proc/sys/net/ipv4/conf/lo/arp_ignore
Echo 1 > / proc/sys/net/ipv4/conf/all/arp_ignore
Echo 2 > / proc/sys/net/ipv4/conf/lo/arp_announce
Echo 2 > / proc/sys/net/ipv4/conf/all/arp_announce
Arp_ignore:
0 (default): responds to arp query requests for any local IP address on any network interface
1: only answer ARP query requests where the destination IP address is the local address of the visiting network interface
Arp_announce:
2: use the most appropriate local address for the query destination. In this mode, the source address of the IP packet is ignored and the local address that can communicate with that address is attempted. The first thing is to select the local address that contains the destination IP address in the outbound access subnet of all network interfaces. If no suitable address is found, the current sending network interface or other network interface that is likely to receive the ARP response will be selected for transmission, limiting the use of the local vip address as the priority network interface.
This is the end of how to configure the back-end RS in lvs-dr mode. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.
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.