dhcpd in vmware

Kevin Wilcox kevin.wilcox at gmail.com
Tue Apr 5 12:50:01 UTC 2011


On Tue, Apr 5, 2011 at 08:29, xinyou yan <yxy.716 at 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  /usr/local/etc/isc-dhcpd start
>
> it shows :
>   Please do not under any circumstances send requests for
>   failed to start dhcpd

Does it give any other errors?

kmw


More information about the freebsd-questions mailing list