[pkg-dhcp-devel] Bug#677985: Bug#677985: dhclient doesn't set subnet correct on kfreebsd

Christoph Egger christoph at debian.org
Tue Jun 26 11:10:56 UTC 2012


Hi!

Andrew Pollock <apollock at debian.org> writes:
> On Mon, Jun 18, 2012 at 02:54:06PM +0200, Christoph Egger wrote:
>> >   dhclient fails to correctly specify the netmask on kfreebsd
>> > resulting in a wrong routing for the local network. set -x from
>> > dhclient-script attached.
>> 
>> Note: as a result I get a /24 network set here while dhcp should set a /23
>> 
>
> Can you please tell me if doing
>
> perl -pi -e 's/new_netmask_arg/new_subnet_mask/' /sbin/dhclient-script

no, I need to write netmask right before the $new_subnet_mask. before
the broadcast part the `broadcast' keyword is probably necessary as well
if a extra broadcast address is needed

Regards

    Christoph





More information about the pkg-dhcp-devel mailing list