Date: Wed, 20 Apr 2005 08:15:20 +0800 (CST) From: liu jiachang <ljc020930@yahoo.com.cn> To: freebsd-questions@freebsd.org Subject: how to set fixed address problem at dhcpd.conf Message-ID: <20050420001520.97770.qmail@web15803.mail.cnb.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, everyone: I installed isc-dhcp3-server on my freebsd 5.3(also it is a gateway which have double NIC), and it can work at our net. example, dhcpd can assign dhcp client internal address from 'A slightly different configuration for an internal subnet' at my dhcpd.conf. But now I want to assign some of dhcp client fixed address. if I haved my dhcpd.conf as this, does it work? # A slightly different configuration for an internal subnet. subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.2 192.168.0.7; option domain-name-servers domain.org, domain2.org; option domain-name "test.org"; option routers 192.168.0.1; option broadcast-address 192.168.0.255; default-lease-time 6400; max-lease-time 59200; } # Fixed IP addresses can also be specified for hosts. These addresses # should not also be listed as being available for dynamic assignment. # Hosts for which fixed IP addresses have been specified can boot using # BOOTP or DHCP. Hosts for which no fixed address is specified can only # be booted with DHCP, unless there is an address range on the subnet # to which a BOOTP client is connected which has the dynamic-bootp flag # set. host client { hardware ethernet 00:e0:4c:a7:ca:de; fixed-address 192.168.0.6; } and another problem is still some words from dhcpd, as these: dhcpd: unable to create icmp socket: operation not permitled dhcpd: can't open /var/db/dhcpd.leases for append Thank you for your reply Nectar _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050420001520.97770.qmail>