"ARP conflict" Linux suppresses ARP notification

Source: Internet
Author: User

"ARP conflict" Linux suppresses ARP notification

When using LVS, it is usually necessary to use a virtual IP at the Lo port, where 2 places need to be adjusted:

Arp_ignore

Arp_announce

Because multiple IPs are used to a physical NIC, the Mac,arp will broadcast on the LAN saying:

"IP is 192.168.1.1 's MAC address", there will be more than one host response.

170.328160000elitegro_1f:10:5fbroadcastarp60who has 192.168.1.1? Tell 192.168.1.148


This is usually done by:

Echo 1 >/proc/sys/net/ipv4/conf/all/arp_ignoreecho 2 >/proc/sys/net/ipv4/conf/all/arp_announceecho 1 >/proc /sys/net/ipv4/conf/lo/arp_ignoreecho 2 >/proc/sys/net/ipv4/conf/lo/arp_announce


The question is:

Lo not included in all?

Personal understanding is:

The ARP behavior of all this global port is first suppressed, then the LO port is specified


For questions about LVS and ARP, you can refer to network articles here, for example:

Http://blog.chinaunix.net/uid-24960107-id-193084.html

"ARP conflict" Linux suppresses ARP notification

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.