Incorrect implementation of rfc3442 in RHEL6
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 thedhcp
daemon in the environment variablenew_classless_static_routes
. It is however passed in the variablenew_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.