Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpd complaints [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eruditas
n00b
n00b


Joined: 02 Jul 2007
Posts: 52

PostPosted: Fri Sep 11, 2009 12:34 pm    Post subject: dhcpd complaints [solved] Reply with quote

Code:
Sep 11 15:25:18 darwin dhcpd: Dynamic and static leases present for 192.168.1.2.
Sep 11 15:25:18 darwin dhcpd: Remove host declaration mantas or remove 192.168.1.2
Sep 11 15:25:18 darwin dhcpd: from the dynamic address pool for 192.168.1/24
Sep 11 15:25:18 darwin dhcpd: DHCPREQUEST for 192.168.1.2 from 00:00:00:00:01:02 via wlan1
Sep 11 15:25:18 darwin dhcpd: DHCPACK on 192.168.1.2 to 00:00:00:00:01:02 via wlan1

Code:

cat /etc/dhcp/dhcpd.conf
authoritative;
ddns-update-style interim;


#################################
######## Wireless subnet ########
#################################

subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.2 192.168.1.4;
    default-lease-time 259200;
    max-lease-time 518400;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.1;
    option domain-name-servers 192.168.1.1;
    deny unknown-clients;
}


host mantas {
  hardware ethernet 00:00:00:00:01:02;
  fixed-address 192.168.1.2;
  option routers 192.168.1.1;
  option broadcast-address 192.168.1.255;
}



I don't see what's wrong with my dhcpd and why /var/log/messages complaints about it
_________________
Same shit, different asshole


Last edited by eruditas on Fri Sep 11, 2009 1:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 967
Location: Varberg, Sweden

PostPosted: Fri Sep 11, 2009 12:46 pm    Post subject: Reply with quote

It complains about the fact that you've set 192.168.0.2 to a static host but still has it in the range of leasable addresses. You've allocated a range of addresses and then allocated all addresses in that range via static host configuration.

You should set your ranges to not include the static hosts.
Back to top
View user's profile Send private message
eruditas
n00b
n00b


Joined: 02 Jul 2007
Posts: 52

PostPosted: Fri Sep 11, 2009 12:51 pm    Post subject: Reply with quote

Thanks for the answer. ;)
_________________
Same shit, different asshole
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum