Monday, June 13, 2011

How to install and configure DHCP server on fedora

$ yum install dhcp*

$ chkconfig dhcpd on

Copy dhcp ‘s sample file and configure dhcp server

usr/share/doc/dhcp*/dhcpd.conf.sample

$ cp /usr/share/doc/dhcp/dhcpd.conf.sample /etc/dhcpd.conf

$ vim /etc/dhcpd.conf

ddns-update-style interim;
ignore client-updates;

subnet 192.168.10.0 netmask 255.255.255.0 {

# --- default gateway
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;

#option nis-domain "abc.com";
#option domain-name "abc.com";
option domain-name-servers 192.168.10.1;

option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
option netbios-name-servers 192.168.10.1;
# --- Selects point-to-point node (default is hybrid). Don't change this
unless
# -- you understand Netbios very well
# option netbios-node-type 2;

*#** range dynamic-bootp 192.168.1.100 192.168.1.100;*
default-lease-time 21600;
max-lease-time 43200;


#If you want to release IP for only your registered MAC address in your configuration

# we want the nameserver to appear at a fixed address

host COMPUTERNAME {
hardware ethernet 00:1A:64:A2:BB:88;
fixed-address 192.168.10.3;
}

host COMPUTERNAME2 {
hardware ethernet 00:1C:90:25:92:G1;
fixed-address 192.168.10.4;
}

5 comments:

Anonymous said...

Eхcellent blog you've got here.. It's difficult to fіnd high-qualіty writіng like yours noωaԁays.
I hоnеstly аpprecіate
peоple liκe you! Taκe caгe!
!

Feel free to visit my weblοg - AmericasCardRoom Promotions

Anonymous said...

Thanks , I've recently been looking for information about this subject for a while and yours is the greatest I have found out till now. However, what about the bottom line? Are you positive in regards to the supply?

My weblog :: christian dating site

Anonymous said...

Ӏ'm not sure where you are getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for wonderful info I was looking for this information for my mission.

my homepage hcg diet injections

Anonymous said...

I like the helpful information you provide on your articles.

I will bookmark your weblog and check once more right here regularly.
I am quite certain I'll learn plenty of new stuff right right here! Best of luck for the next!

Check out my website; hotmail email

Anonymous said...

Α pеrson necеssaгily hеlp
to maκe criticаlly posts I might state.

That is the first tіme I frеquеnted yοur website pаge and up to nоw?

I аmazeԁ wіth the resеaгсh you
mаde to creatе thіs actual put uρ аmazіng.
Fаntastic ρrоceѕs!

My weblоg ... BlackChipPoker Bonus