|
hai, i've trouble here, can someone tell what the wrong with my configure dhcp
My last dhcpd.conf :
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
INTERFACES = "eth0";
option nis-domain "nis.brandals";
option domain-name "brandals";
option domain-name-servers 192.168.1.4;
option time-offset -18000;
range dynamic-bootp 192.168.1.100 192.168.0.200;
default-lease-time 21600;
max-lease-time 43200;
here's my nic configuration :
eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.4
NETMASK=255.255.255.0
NETWORK=192.168.1.4
BROADCAST=255.255.255.0
ONBOOT=yes
HOSTNAME=brandals
GATEWAY=192.168.1.1
eth1
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.13
NETMASK=255.255.255.0
NETWORK=192.168.1.13
BROADCAST=255.255.255.0
ONBOOT=yes
GATEWAY=192.168.1.1
I've put on /etc/rc.d/init.d/dhcpd
daemon /usr/sbin/dhcpd eth0
#service dhcpd start [OK]
# dhcpd -f
Internet System Consortium DHCP Server V3.0.3-RedHat
Copyright 2004-2005 Internet System Consortium.
All rights reserved.
Wrote 0 deleted host decls to lease file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Multiple interfaces match the same subnet : eth0 eth1
Multiple interfaces match the same shared network : eth0 eth1
Listening on LPF/eth1/00:01:02:94:66:5e/192.168.1/24
Sending on LPF/eth1/00:01:02:94:66:5e/192.168.1/24
Listening on LPF/eth0/00:01:1c:f4:77:34/192.168.1/24
Sending on LPF/eth0/00:01:1c:f4:77:34/192.168.1/24
Sending on Socket/fallback/fallback-net
There's already a DHCP server running
Why the clients wont have an ip?
Any clue? Thanks in advance.
Oh, and if my aproch is wrong, please point me to the right direction. Thx.
I'm using fedora core 5
with 2 nic
thx bfr
|