Re: [LUNI] funtime with dhcp

From: A. Khan (knura@yahoo.com)
Date: Mon Mar 19 2001 - 11:54:40 CST

  • Next message: Nero Wolfe: "[LUNI] Sound problems"

    --- Chris <dexter@dns.ci.columbia.mo.us> wrote:
    >
    > Hey all, I'm trying to ween my roomates off of static IPs and onto
    > dhcp. I
    > still want their machines to have the same IP everytime, but I want
    > dhcpd
    > to assign it to them. We're running a mixture of Macs, windows and
    > linux
    > boxes. I know I could key their IP to their NIC's MAC address, but
    > I'd
    > rather not do this since hardware gets shuffled around from time to
    > time
    > for one reason to another. So this leaves me soley with the
    > "hostname"
    > option that's so popular with the @Home service. Unfortunately I
    > haven't
    > been able to get this to work with the one windows ME machine I tried
    > to
    > move over to dhcp. I think my dhcpd.conf might be to blame.
    >
    > My IP scheme is as follows:
    > 172.22.10.1-172.22.10.99 "static" IPs assigned by dhcp
    > 172.22.10.100-172.22.10.254 dynamic IPs assigned by dhcp
    >
    > -----------------------------------/etc/dhcpd.conf-------------------
    >
    > subnet 172.22.10.0 netmask 255.255.255.0 {
    > default-lease-time 604800;
    > max-lease-time 604800;
    > range 172.22.10.100 172.22.10.254;
    > option subnet-mask 255.255.255.0;
    > option routers 172.22.10.1;
    > option domain-name-servers 172.22.10.1;
    > option domain-name "neokino.edu";
    > option broadcast-address 172.22.10.255;
    >
    > host Athena {
    > fixed-address 172.22.10.2;
    > }
    >
    > host JOHN {
    > fixed-address 172.22.10.15;
    > }
    > }

            use-host-decl-names on;
            host <hostname> {
            fixed-address <hostname>.<domain-name> ;
            }

    I use "use-host-decl..." (man dhcpd.conf) for nodes with fixed static
    addresses. The address is resolved by a DNS server. It worked with
    Caldera installation i.e. the FQDN was configured when I chose the DHCP
    option for the network params. No experience with Windows DHCP
    clients.

    HTH,

    --
    Arun K.
    

    __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -=- Linux Users Of Northern Illinois: General Discussion Mailing list. For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Mon Mar 19 2001 - 11:55:12 CST

  •