dhclient-scripts fails on point-to-point network configurations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Debian) |
Fix Released
|
Unknown
|
|||
dhcp3 (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
it is perfectly legal to have a point to point network configuration.
in that case the netmask is /32 and the router cannot be reached
using netmask allone. therefore any route is added after setting
a route for the router to that interface.
windows does that already for quite some time :)
here is the patch for the script:
--- /etc/dhcp3/
+++ /etc/dhcp3/
@@ -195,6 +195,7 @@
for router in $new_routers; do
+ route add $router dev $interface
done
fi
@@ -254,6 +255,7 @@
fi
for router in $new_routers; do
+ route add $router dev $interface
done
Related branches
Changed in dhcp3: | |
status: | Unknown → Fix Released |
This patch would add superfluous routes in more typical configuration; can that be avoided?