Package: dhcp3-client Version: 3.1.1-1 Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu ubuntu-patch intrepid
In https://launchpad.net/bugs/33382 (and a duplicate), users reported a failure of dhclient on point-to-point network connections, which get a /32 netmask (255.255.255.255). In this case it seems to be necessary to explicitly add a host route, so that the peer actually becomes reachable. This has been applied to the Ubuntu package a while ago, and got no negative feedback. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--- dhcp3-3.1.1/debian/dhclient-script.linux
+++ dhcp3-3.1.1/debian/dhclient-script.linux
@@ -177,6 +201,13 @@
done
fi
+ # point to point
+ if [ "$new_subnet_mask" == "255.255.255.255" ]; then
+ for router in $new_routers; do
+ route add -host $router dev $interface
+ done
+ fi
+
for router in $new_routers; do
route add default dev $interface gw $router $metric_arg
done
signature.asc
Description: Digital signature

