Re: Kickstart http parameters

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

 



On Wed, 2 Apr 2003, John wrote:
> > On Wed, 2 Apr 2003, Tony Nugent wrote:
> > But in the end, wouldn't it be much easier to have a dhcpd server
> > allocate static IPs based on the HW address, then have the
> > host-specific ks.cfg file available based on IP rather than HW
> > addresses?  (This is the more traditional approach).
>
> As I've already pointed out, you cannot rely on MAC addresses unless you
> have the knowledge that the server and client are on the same piece of
> wire.

We are using static IP addresses and we fill our dhcpd.conf file via
a script that does SNMP queries to the switch the client nodes are
connected to.

This script reads out the MAC address and the port the switch sees it on.
Because I know our cabeling, I know which IP address is supposed to be
assigned to a particular host (= switch port).

I am using this mechanism in real time for new machines:
Machined does DHCP broadcast during PXE -> initializes switch port ->
fills switch CAM table -> SNMP read -> fill dhcpd.conf -> kick dhcp server
-> serve IP address to PXE client.

Oh, before you ask: the script works for Cisco 6509s only.
See http://www.slac.stanford.edu/~alfw/PXE-Kickstart/ for more details.

-- Alf.

-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@xxxxxxxxxxxxxxxxx
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux