We recently changed the default behavior in Fedora to send the client-id as the type+MAC, instead of just the MAC, i.e.:
send dhcp-client-identifier = hardware; in the ISC client. As I remember, it was because that was what the spec required... I won't repeat the entire reasoning here, but see: https://bugzilla.redhat.com/show_bug.cgi?id=560361 On 6/27/11 1:23 PM, Michael Heimpold wrote: > [Resent as v2 as former patch didn't apply anymore] > > Currently, the hostname is sent in a DHCP request only if configured > explicitely. > > Changing this behaviour so that the hostname is sent per default has the > advantage > that e.g. a Fritz!Box (acting as DHCP server) shows the device running OpenWRT > with it's hostname in the network overview. > > To prevent sending a hostname at all (and to be backwards compatible) the > configuration option can be set to "none". > > Signed-off-by: Michael Heimpold <[email protected]> > > Index: package/base-files/files/lib/network/config.sh > =================================================================== > --- package/base-files/files/lib/network/config.sh (revision 27292) > +++ package/base-files/files/lib/network/config.sh (working copy) > @@ -363,6 +363,11 @@ > [ -z "$ipaddr" ] || \ > $DEBUG ifconfig "$iface" "$ipaddr" > ${netmask:+netmask "$netmask"} > > + # send system's hostname to upstream by default if not > explicitly configured; > + # but suppress if special hostname 'none' is given > + [ -n "$hostname" ] || hostname=$(uci -q get > system.@system[0].hostname) > + [ "$hostname" = "none" ] && hostname="" > + > # additional request options > local opt dhcpopts > for opt in $reqopts; do _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
