nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

DHCP server

This is a discussion on DHCP server within the Linux software forums, part of the Linux Getting Started category; I want my dhcp server to assign static ip to a pxe enabled dell box.So this client (pxe enabled dell ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 09-13-2005, 07:11 PM
Junior Member
 
Join Date: Sep 2005
Posts: 1
Rep Power: 0
aindusekhar
Default DHCP server

I want my dhcp server to assign static ip to a pxe enabled dell box.So this client (pxe enabled dell box) has to get ip while booting only.
how should my dhcpd.conf look under this scenario.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-13-2005, 07:29 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

You can assign specific IP addresses/static based on clients ethernet address (MAC addres e.g. add following line to your dhcpd.conf file (/etc/dhcpd.conf):

Code:
host dellbox {
   hardware ethernet 08:ac:2b:dc:51:11;
   fixed-address 192.168.1.22;
}
This will assign IP address 192.168.1.22 to a client with ethernet address 08:ac:2b:dc:51:11.

This way dellbox getting "static" IP addresse. Next restart dhcpd and you are done. Boot dellbox. If you have a more question reply back.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
single DHCP server with multiple VLAN's frank Computer Networking and Internet/broadband 2 12-07-2007 01:38 PM
connecting to a DHCP network ricc Linux software 2 04-24-2006 01:46 PM
Dynamic DNS , should get updates automatically from DHCP sonaikar Linux software 1 03-28-2005 01:14 PM
How to update DNS through DHCP automatically sonaikar Shell scripting 1 03-16-2005 07:42 PM


All times are GMT +5.5. The time now is 09:41 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36