RE: Two elementary questions on LANs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
[mailto:users-bounces@xxxxxxxxxxxxxxxxxxxxxxx] 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@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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux