Incorrect implementation of rfc3442 in RHEL6

Solution Verified - Updated -

Issue

  • The /sbin/dhclient-script in versions prior to dhcp-4.1.1-19.P1.el6 expect that rfc3442 classless static routes are passed by the dhcp daemon in the environment variable new_classless_static_routes. It is however passed in the variable new_rfc3442_classless_static_routes.
    Furthermore, a simple rename of the variable does not suffice to solve the problem because the script somehow expects a different syntax of the contents of the variable.
    An example of the syntax we expect (and is compliant with rfc3442) is:
    new_rfc3442_classless_static_routes='24 192 168 10 192 168 1 1 8 10 10 17 66 41'
    specifies the routes:
    192.168.10.0/24 via 192.168.1.1
    10.0.0.0/8 via 10.10.17.66.41

Environment

  • Red Hat Enterprise Linux 6.
  • dhcp that has been upgraded to at least dhcp-4.1.1-19.P1.el6 from a version prior

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content