Re: how define network with mask 8 for dhcp server?

2013-08-11 Thread sthaug
> you're right Olivier, but you know i have a user interface for dhcp and i > should handle all the network and ranges which are inserted by user and > logically are true. network with mask 8, logically is true and having > million available ip address, too. > i just wanna know if there is any solu

Re: how define network with mask 8 for dhcp server?

2013-08-11 Thread s m
you're right Olivier, but you know i have a user interface for dhcp and i should handle all the network and ranges which are inserted by user and logically are true. network with mask 8, logically is true and having million available ip address, too. i just wanna know if there is any solution to im

Re: how calculate the number of ip addresses in a range?

2013-08-11 Thread Damien Fleuriot
Yup. Your available addresses are: (2 ^ (32 - netmask) ) - 2 Example for a 29: 2^3 - 2 Example for a /28: 2^4 - 2 On 11 Aug 2013, at 06:39, saeedeh motlagh wrote: > thank you all guys for your answers. > Peter, of course it's not my homework!! in fact, i have a program which > manages

Re: kern/181225: [infiniband] [patch] unloading ipoib crashes the kernel

2013-08-11 Thread linimon
Old Synopsis: unloading ipoib crashes the kernel New Synopsis: [infiniband] [patch] unloading ipoib crashes the kernel Responsible-Changed-From-To: freebsd-amd64->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sun Aug 11 13:40:22 UTC 2013 Responsible-Changed-Why: Over to ma

Re: how define network with mask 8 for dhcp server?

2013-08-11 Thread Olivier Nicole
Sam, > after understanding why dhcp server core dumps with a wide range (it causes > out of memory), if i limit my range it's ok. but some times user define a > wide range for example some million available ip addresses while there is > just some hundred client in the network. in this situation, d

Re: how define network with mask 8 for dhcp server?

2013-08-11 Thread s m
hello again guys after understanding why dhcp server core dumps with a wide range (it causes out of memory), if i limit my range it's ok. but some times user define a wide range for example some million available ip addresses while there is just some hundred client in the network. in this situatio

Re: BPF_MISC+BPF_COP and BPF_COPX

2013-08-11 Thread Darren Reed
On 10/08/2013 7:23 AM, Matt Thomas wrote: > ... > The possibility of the COP/COPX functions doing bad things is over wrought. > It makes the assumption of avoiding BPF and then coding everything is safer > than using BPF and COP/COPX functions. Depends on what you mean by "bad things." Thus fa