Hide Forgot
Description of problem: When configuring a system to use the ip= boot option the system will timeout after 60 seconds per interface when it can't find the provided gateway. dracut's ip= is using arping and waits 60 seconds for a gateway to respond. https://github.com/dracutdevs/dracut/blob/RHEL-7/modules.d/40network/net-lib.sh#L168 This setting should be something that's configurable via an additional boot option. When configuring multiple interfaces this way on a network less machine causes an excessive amount of waiting. 3+ minutes. Version-Release number of selected component (if applicable): RHEL 7.2 initrd Additional info: Upstream patch : https://github.com/dracutdevs/dracut/blob/RHEL-7/modules.d/40network/net-lib.sh#L168
Unfortunately the patch in upstream dracut uses arping2 which is not available in rhel7.
https://github.com/dracutdevs/dracut master uses arping2 however it does fall back to arping if arping2 isn't found. Is the patch you're referencing something else? https://github.com/dracutdevs/dracut/blob/master/modules.d/40network/net-lib.sh#L174 But the point is both are hard coded to wait 60 seconds (or arping2 60 counts). This 60 seconds wait should be a passable value and if not passed defaulted to 60 seconds. arping ... -w 60