Bug 72487
Summary: | RFE: Add support for disabling the duplicate IP check | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pekka Pietikäinen <pp> | ||||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | barryn, dgunchev, initscripts-maint-list, ipilcher, lnykryn, poelstra, riel, rvokal, smohan | ||||||
Target Milestone: | --- | Keywords: | FutureFeature, Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-03-13 09:48:13 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 133398 | ||||||||
Attachments: |
|
Description
Pekka Pietikäinen
2002-08-24 13:25:30 UTC
Solved this problem ages ago by getting another ethernet card, but the feature still could be useful so here's a patch that does the trick (a bit kludgy, I know, but my shell scripting is a bit rusty :-) ). Actually the check as it is now is somewhat useless depending on how fast the adapter gets the link up after a ifconfig ethX up, since the arping queries end up in /dev/null. (same problem as with DHCP, which is why there is a check_link_down before the dhcp client gets run). For static addresses the extra delay required probably isn't worth it and generally if the network is temporarily down and you have a static ip address, you'd want things to automatically work when it does come back up. You'd also want that users who don't know the difference between "IP address" and "Router/DNS server IP address" can't DoS your router/DNS server when it is booting (which is another scenario where the DUPLICATE_IP_CHECK=no option might be useful, although on such "hostile" networks switch port locking is the way to go ;) ). Created attachment 95489 [details]
Patch to allow disabiling the duplicate IP check and show offending MAC address
The patch makes sense. Bill, any objections to having this patch merged this bug week? There appears to be zero risk in applying the patch, since behaviour only changes if the system is configured for changed behaviour... a) magic config setting b) non-translatable output string Created attachment 109755 [details]
Updated version of the original patch
This still has a magic config setting, but this time it's documented and the
string is translatable.
ping I just ran across this while setting up LVS with "direct routing." Any chance of getting this, along with another option to disable the later call to arping, in? If so, I'll gladly work up a patch. Bill-what are your thoughts on this... patch is attached I think that this functionality is already included http://git.fedorahosted.org/cgit/initscripts.git/commit/?id=06cdd94e805e1c6d0faf3e9ece0dc71f301831ef http://git.fedorahosted.org/cgit/initscripts.git/commit/?id=814fac877b22577f4835afcfb2597677270f6a4c |