Date: Tue, 5 Apr 2011 08:50:00 -0400 From: Kevin Wilcox <kevin.wilcox@gmail.com> To: xinyou yan <yxy.716@gmail.com> Cc: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: dhcpd in vmware Message-ID: <BANLkTinhTRXtfmj64mjgoZobOWPX8ozj2Q@mail.gmail.com> In-Reply-To: <BANLkTimJoK0EDFs8F8CWikwhfiF7KkP6Yg@mail.gmail.com> References: <BANLkTimJoK0EDFs8F8CWikwhfiF7KkP6Yg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 5, 2011 at 08:29, xinyou yan <yxy.716@gmail.com> wrote:
> the dhcpd can't start in vmware :
>
> Here is my /usr/local/etc/hpcdd.conf
Is the file named hpcdd.conf or is that a typo?
> subnet 192.168.0.0 netmask 255.255.255.0 {
> range 192.168.4.129 192.168.4.254;
> option routers 192.168.4.1;
> }
That *should* throw an error due to the netmask. If you're just using
the 192.168.4.129 - 254 addresses I would change it to
subnet 192.168.4.0 netmask 255.255.255.0
Otherwise the netmask of 255.255.255.0 will lead dhcpd to think it
should be offering for 192.168.0.1 - 192.168.0.254.
> when i use =C2=A0/usr/local/etc/isc-dhcpd start
>
> it shows :
> =C2=A0 Please do not under any circumstances send requests for
> =C2=A0 failed to start dhcpd
Does it give any other errors?
kmw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinhTRXtfmj64mjgoZobOWPX8ozj2Q>
