Results 1 to 2 of 2

Thread: Odd DHCP request

  1. #1

    Odd DHCP request

    Need to setup a dhcp server. I have a redhat box eth0 ip 192.168.5.36 255.255.255.0 and i want to assign a range of ip's from 172.16.32.10 to 172.16.47.255. I believe that is a subnet mask of 255.255.240.0. The gateway for the dhcp will be 172.16.32.1 and the gateway for the redhat box is 192.168.5.1. I would also like to exclude computers by their mac address. I dont even have a clue where to start. i am using redhat 8.0. Any help would be greatly appreciated. i may even send you a christmas card if this gets worked out. thanks again everyone...
    newbie rudy

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear rude20,
    Salam,

    Edit /etc/dhcpd.conf

    # vi /etc/dhcpd.conf

    Code:
    server-identifier SERVERNAME subnet 172.16.32.1 netmask 255.255.255.0 { 
          range 172.16.32.10  172.16.47.254;
          default-lease-time 72000;
          max-lease-time 144000;
          option subnet-mask 255.255.240.0;
          option broadcast-address 172.16.32.255;
          option routers 192.168.5.1
          option domain-name-servers 172.16.32.1 172.16.32.2;
          option domain-name "SERVERNAME";
          option time-offset 39600;
          option netbios-name-servers 172.16.32.1;
          option netbios-dd-server 172.16.32.1;
          option netbios-node-type 8;
    }
    Best Regards.
    Frrkh hmd

Similar Threads

  1. Disable Wireless Router DHCP and Use Linux DHCP Server?
    By omnivore in forum Linux - General Topics
    Replies: 0
    Last Post: 01-19-2005, 04:18 PM
  2. request
    By in forum Linux Distros
    Replies: 2
    Last Post: 05-23-2003, 03:15 AM
  3. Odd request
    By in forum General Chat
    Replies: 12
    Last Post: 05-29-2002, 07:03 PM
  4. Another odd request..
    By in forum General Chat
    Replies: 9
    Last Post: 03-12-2002, 03:55 PM
  5. Odd request
    By in forum General Chat
    Replies: 18
    Last Post: 11-30-2001, 11:15 PM

Bookmarks

Posting Permissions

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