Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
If you could post a sample dhcpd.conf file here, i'm sure other people may find some use for it, i will try and pick my way through it, and work ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790

    If you could post a sample dhcpd.conf file here, i'm sure other people may find some use for it, i will try and pick my way through it, and work it out.

    Thanks.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  2. #12
    Just Joined!
    Join Date
    Jun 2004
    Location
    Leiria - Portugal
    Posts
    72

    Just an example file

    Ok here it is an example configuration file:

    /etc/dhcpd.conf

    ddns-update-style interim;
    #Your subnet ip address and netmask
    subnet 192.168.0.0 netmask 255.255.255.0 {
    # default gateway
    option routers 192.168.0.1;
    option subnet-mask 255.255.255.0;

    #Your domain name
    option domain-name "domain.org";
    #Your domain name server(s), as server-name-1, server-name-2;
    option domain-name-servers ns1.domain.org, ns2.domain.org;
    #If you use NIS
    option nis-domain "domain.org";

    #Available ip addresses to dhcpd leases
    range dynamic-bootp 192.168.0.10 192.168.0.220;
    default-lease-time 21600;
    max-lease-time 43200;

    # we want the host "host1" to appear at a fixed address
    host host1 {
    #NIC layer 2 MAC address
    hardware ethernet 12:34:56:78:AB:CD;
    #Reserved subnet ip address
    fixed-address 207.175.42.83;
    }
    }

    Abviously it can be larger and complicated but those are the basic options.

    Hope it helps, feel free to post your questions, that's why we are here for.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •