nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-09-2005, 06:11 PM
Junior Member
User
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 13-09-2005, 06:29 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
tom is on a distinguished road
Default

You can assign specific IP addresses/static based on clients ethernet address (MAC address) 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


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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 03:45 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38