Two elementary questions on LANs

Damian Kohlfeld damian at kohlfeld.com
Sun Jun 19 05:15:08 UTC 2011


Also, with linux clients on my dhcpd process, I get this line from linux
clients, and not from windows clients:
  client-hostname "hometux2";

Damian Kohlfeld


-----Original Message-----
From: users-bounces at lists.fedoraproject.org
[mailto:users-bounces at lists.fedoraproject.org] On Behalf Of Tim
Sent: Sunday, June 19, 2011 12:03 AM
To: Community support for Fedora users
Subject: Re: Two elementary questions on LANs

On Sun, 2011-06-19 at 09:59 +0800, Ed Greshko wrote:
> Since the MAC address is in the hardware I would venture to say that 
> the IP address being assigned to an interface is the same no matter if 
> you boot to Linux or Windows.

Depending on the DHCP server, it may use the MAC plus some other (UID)
information when assigning leases.  I found that with dual-booting, I did
get different IPs unless I hard configured my DHCP server to assign IPs to
specific MACs.  The default automatic configuration saw Linux just assigned
by MAC; and Windows supplying MAC, plus something else, got a different IP.

e.g. The last line in this /var/libs/dhcp/dhcpd.leases stanza (on the DHCP
server) is present in Windows clients leases, but absent with Linux clients.

lease 192.168.1.197 {
  starts 5 2008/08/22 11:36:29;
  ends 1 2008/08/25 14:20:43;
  tstp 1 2008/08/25 14:20:43;
  binding state free;
  hardware ethernet 00:1b:77:0a:65:e4;
  uid "\001\000\033w\012e\344";
}

> 
> Also, I don't know of any DHCP server that makes use of the supplied 
> host name to make its reservation decisions.

Me either, but I think you could probably use scripts with your own server,
or perhaps just some configuration, to make that kind of use of it if you
wanted.

I've seen servers use the supplied name in the current leases (e.g. on
routers showing the currently connected machines) and adding those hostnames
to local DNS servers (when they integrate DHCP and DNS serving).  The client
can ask for it and keep it, but I've not noticed it being a part of lease
reservation.

--
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I read
messages from the public lists.



--
users mailing list
users at lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



More information about the users mailing list