Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: dhclient and custom Linux routing tables (VRF) (Mateusz Viste)


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Jun 2019 14:00:57 +0200
From: Mateusz Viste <mate...@viste.fr>
To: dhcp-users@lists.isc.org
Subject: Re: dhclient and custom Linux routing tables (VRF)
Message-ID: <368d44c7-af27-293d-f6c9-4433b01f4...@viste.fr>
Content-Type: text/plain; charset=utf-8; format=flowed

Hello Tony & Thomas,

Thank you both for your kind replies. It makes perfect sense for 
dhclient not to fiddle with OS-dependent configurations, this is the 
major thing I missed. And indeed, I do see now that there is a bash 
/sbin/dhclient-script file on my distro. I will have to hack it, or 
replace it entirely so it matches my exact need.

Thanks for the pointers!

Mateusz





On 07/06/2019 13:48, Tony Finch wrote:
> Mateusz Viste <mate...@viste.fr> wrote:
>>
>> I have read dhclient's documentation, and did not find any mention of either
>> VRFs or custom routing tables... Have I missed some obvious trick here?
> 
> Network configuration changes from DHCP are handled by the
> dhclient-script, which is probably supplied by your Linux distribution.
> 
> You might find you have to re-do most of the dhclient-script logic to
> support VRFs, so you might be better off providing a complete replacement
> script rather than using the hooks.
> 
> [ One awkward thing I have noticed is that Debian's dhclient-script always
> continues after running the enter hooks, whereas the ISC versions exit
> early if the enter hooks exit with a non-zero ststus, so the enter hooks
> might or might not allow you to completely override parts of the
> dhclient-script. ]
> 
> Tony.
> 


------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 128, Issue 2
******************************************

Reply via email to