Re: dhcpd in vmware

2011-04-06 Thread Kevin Wilcox
On Wed, Apr 6, 2011 at 04:12,   wrote:

> Kevin Wilcox  wrote:
>
>> 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
>
> Shouldn't that be netmask 255.255.255.128?

That's what I thought at first as well.

Then I saw the router at 192.168.4.1, so it looks like they're using
the entire /24 but only assigning addresses via DHCPd to the top half.

kmw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: dhcpd in vmware

2011-04-06 Thread perryh
Kevin Wilcox  wrote:

> 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

Shouldn't that be netmask 255.255.255.128?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: dhcpd in vmware

2011-04-05 Thread Kevin Wilcox
On Tue, Apr 5, 2011 at 08:29, xinyou yan  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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


dhcpd in vmware

2011-04-05 Thread xinyou yan
the dhcpd can't start in vmware :

Here is my /usr/local/etc/hpcdd.conf

option domain-name "ikfb.org";
option domain-name-servers 192.168.4.100;
option subnet-mask 255.255.255.0;
default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;

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;
}

host ikfb3.org{
   hardware ethernet 00:0C:29:1B:E2:82;
   fixed-address 192.168.4.128;
}




ifkb3.org  ikfb4.org   in  one vmware team .
They both connect to lan1 in the team.

when i use  /usr/local/etc/isc-dhcpd start

it shows :
   Please do not under any circumstances send requests for
   failed to start dhcpd


How can i offer the dhcp to the ikfb3.org.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"