DHCP Server, dynamic & static address

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

 



Hi,
I want to setup a dhcp server and the documentation is a bit unclear about
the following situation:
I have a subnet, let's say 192.168.254.0/24 where the dhcp server is
192.168.254.1 and I want to give fixed ip addresses to the users in that
subnet, by MAC addr., but I also need that a couple of workstations remain
with the ip setup normally ( they don't need to get ips from dhcp, they
should use preconfigured ips already setup on those machines). I have a
squid server, a mail server and my computer that I don't want to depend on
dhcp.

Question: what will be the behaviour of the dhcp server in this situation
and if necessary what option should I put in the config file for this
scenario to work?

My current dhcpd.conf :
ignore client-updates;
subnet 192.168.254.0 netmask 255.255.255.0 {
        option routers 192.168.254.1;
        option domain-name "lglink.ro";
        option domain-name-servers 192.168.254.1, 192.168.254.125;
        option broadcast-address 192.168.254.255;
        deny unknown-clients;
        default-lease-time 43200;
        max-lease-time 86400;
        # client1
        host gelu {
                hardware ethernet 00:02:44:70:0D:80;
                fixed-address 192.168.254.11;
                }
...and so on...



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux