• [^] # Re: DHCP: il manque un truc

    Posté par . En réponse au message dhcp et route par client. Évalué à 1.

    Si je ne m'abuse, il me semble que la solution est décrite ici:
    http://www.debian-administration.org/articles/471


    There is a DHCP option, static-routes, to supply routing information. Unfortunately it's only useable with single hosts since it doesn't include a subnet mask. So although it is described in dhcp-options(5) it isn't implemented by the DHCP client.

    An improvement on this is described by RFC3442, "Classless Static Route Option for DHCPv4". This option does include a netmask (albeit in a slightly odd format) and is suitable for the problem we're solving here. Unfortunately there is no out-of-the-box support for it at all in any of the DHCP tools (as far as I can see - please correct me if I'm wrong). Luckily, however, the DHCP tools are all extensible, so we can add support just by editting a few files.


    Je vous laisse voir directement le liens pour les détails de l'implémentation.

    Bon courage,