/etc/sysconfig/dhcpd:
Code:
# Command line options here
DHCPDARGS=eth1
Ifconfig output:
Code:
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:12.252.xxx.xx Bcast:255.255.255.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1439138 errors:0 dropped:0 overruns:0 frame:0
TX packets:325110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:125663579 (119.8 Mb) TX bytes:68413628 (65.2 Mb)
Interrupt:11 Base address:0xa800
eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:365415 errors:0 dropped:0 overruns:0 frame:2
TX packets:506286 errors:4 dropped:0 overruns:0 carrier:0
collisions:66856 txqueuelen:100
RX bytes:68056372 (64.9 Mb) TX bytes:225896830 (215.4 Mb)
Interrupt:9
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:104554 errors:0 dropped:0 overruns:0 frame:0
TX packets:104554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52453591 (50.0 Mb) TX bytes:52453591 (50.0 Mb)
/etc/dhcpd.conf: (I've been playing with different order, positioning, etc, so serveral lines are commented out at the moment)
[CODE]
ddns-update-style ad-hoc;
ddns-domainname "mshome.net";
ddns-rev-domainname "in-addr.arpa";
#interim;
default-lease-time 64800;
max-lease-time 64800;
option domain-name "mshome.net";
option domain-name-servers 192.168.0.1;
option subnet-mask 255.255.255.0;
subnet 192.168.0.0 netmask 255.255.255.0
{
#not authoritative;
#option subnet-mask 255.255.255.0;
#option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
#option nis-domain "mshome.net";
#option domain-name "mshome.net";
range 192.168.0.3 192.168.0.10;
}
host andrew
{
ddns-hostname andrew;
fixed-address 192.168.0.2;
hardware ethernet xx:xx:xx:xx:xx:xx;
}