DHCP stuff
This afternoon I set up a DHCP server on wolfhead.
- Installed dhcpd from FC5 CD
- Edited /etc/sysconfig/dhcpd to DHCPDARGS=eth1
- Changed /etc/dhcpd.conf to:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 130.71.128.8;
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 192.168.0.128 192.168.0.252;
default-lease-time 21600;
max-lease-time 43200;
use-host-decl-names on;
host wolfhead {
hardware ethernet 00:03:47:9D:B2:76;
fixed-address 192.168.0.254;
}
host rockhead {
hardware ethernet 00:03:47:9D:B2:77;
fixed-address 192.168.0.253;
}
host wolf001 {
hardware ethernet 00:03:47:9B:93:82;
fixed-address 192.168.0.1;
}
host wolf002 {
hardware ethernet 00:03:47:9D:B2:7D;
fixed-address 192.168.0.2;
}
host wolf003 {
hardware ethernet 00:03:47:9C:99:59;
fixed-address 192.168.0.3;
}
host wolf004 {
hardware ethernet 00:03:47:9C:C2:E9;
fixed-address 192.168.0.4;
}
host wolf005 {
hardware ethernet 00:03:47:9C:AB:3B;
fixed-address 192.168.0.5;
}
}
- Set up some of the clients to use DHCP instead of static
0 Comments:
Post a Comment
<< Home