Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:isc_dhcp_client_customizing [2010/01/08 02:40]
b
linux:isc_dhcp_client_customizing [2010/01/08 02:42] (current)
b
Line 2: Line 2:
  
 ===== Goal ===== ===== Goal =====
-Sometimes one is faced with a difficult task - a backup link that requires DHCP to configure the interface. In itself, the task does not seem hard. But the devil is in the detail. The backup link default route(s) should not be inserted into the default routing table, but rather into a separate table.+Sometimes one is faced with a difficult task - a backup link that requires DHCP to configure the interface. In itself, the task does not seem hard. The devil, however, is in the detail. The backup link default route(s) should not be inserted into the default routing table, but rather into a separate table.
  
 The goal is to modify dhclient to do what we want while still being able to upgrade the package with security updates without extra work. The goal is to modify dhclient to do what we want while still being able to upgrade the package with security updates without extra work.
Line 19: Line 19:
 {{:linux:dhclient-enter-hooks.txt|}} {{:linux:dhclient-enter-hooks.txt|}}
  
-Unfortunately, the script requires sipcalc to calculate the prefix length of the connected segment from numeric netmask which is received from dhclient.+Unfortunately, the script requires sipcalc to calculate the prefix length of the connected segment from numeric netmask which is received from dhclient. I would be more than happy to replace it if someone came up with a simple solution in shell :)
linux/isc_dhcp_client_customizing.1262914848.txt.gz ยท Last modified: 2010/01/08 02:40 by b
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready