Saturday, May 17, 2008

RHEL5 DHCP Configuration file

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

subnet 172.24.0.0 netmask 255.255.0.0 {

# --- default gateway
option routers 172.24.0.1;
option subnet-mask 255.255.0.0;

option nis-domain "domain.org";
option domain-name "prasanna.org";
option domain-name-servers 172.24.0.1;

option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.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 172.24.0.10 172.24.0.20;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 207.175.42.254;
}
}

1 Comment:

Unknown said...

hello sir...........you have done a great job....really it is helping lots of people including me.....can you please give the steps for ldap and nis configuration in RHEL5