DHCP Server – Fedora 10

Configuration file: /etc/dhcpd.conf

#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see ‘man 5 dhcpd.conf’
#
#
ddns-update-style interim;
ignore client-updates;

subnet 192.168.100.0 netmask 255.255.255.0 {

# — default gateway
option routers            192.168.100.1;
option subnet-mask        255.255.255.0;

option domain-name        “milton.ca”;
option domain-name-servers    192.168.100.1;

#option ntp-servers        192.168.1.1;

range dynamic-bootp 192.168.100.10 192.168.100.20;
default-lease-time 7200;
max-lease-time 56800;
}

host freebsd2 {
hardware ethernet 08:00:27:9E:66:67;
fixed-address 192.168.100.252;
}

Set up the dhcpd for auto start on boot time

#chkconfig dhcpd on

You could also set up in which interface will dhcp server run in the file:

/etc/sysconfig/dhcpd

Advertisements

2 Responses to “DHCP Server – Fedora 10”

  1. BossaNesta Says:

    what r u doing 3am in the morning? shouldn’t u be studying SCR? ;-p

  2. kyawlin Says:

    the little ;;;;
    i wanna to know how to configure core10 dhcp server ip leases passing through routers and prepare ip address to another subnets

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: