Re: [PacketFence-users] DNS networks.conf

2015-06-03 Thread Dima Ermakov
I don't know very much about kernel config. Now I rebuild my kernel with max ip_sets = 2048 (It is much more, that i need:) ). It works now good with about 310 ipsets. Thank you!!! On 2 June 2015 at 20:21, Fabrice Durand fdur...@inverse.ca wrote: It is supposed to be dynamic. Also you can

[PacketFence-users] DNS networks.conf

2015-06-02 Thread Dima Ermakov
Good day! This is part of my networks.conf file. Can I add second DNS server to this network definition? [10.0.0.0] dns=10.0.20.1 next_hop=10.0.1.10 gateway=10.0.0.1 dhcp_start=10.0.0.11 domain-name=inlinel3.mydomain.com nat_enabled=0 named=enabled dhcp_max_lease_time=21600 dhcpd=enabled

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Durand fabrice
Hi Dima, really simple, just do that: dns=10.0.20.1,10.0.20.2,10.0.20.3 and pfcmd service dhcpd restart Regards Fabrice Le 2015-06-02 07:10, Dima Ermakov a écrit : Good day! This is part of my networks.conf file. Can I add second DNS server to this network definition? [10.0.0.0]

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Dima Ermakov
It is my logs. On 2 June 2015 at 15:45, Durand fabrice fdur...@inverse.ca wrote: In fact i m just able to replicate with an inline l2 interface not with inline layer 3. Can you send me what you have in httpd.admin.log and httpd.admin.catalyst ? Regards Fabrice Le 2015-06-02 08:30,

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Durand fabrice
Nothing really interesting in the log. Try that, i did a patch for inline layer 2. https://github.com/inverse-inc/packetfence/commit/c3cf7ea6976ec802bf119e640ecc42dfe9b070f7 Le 2015-06-02 08:53, Dima Ermakov a écrit : It is my logs. On 2 June 2015 at 15:45, Durand fabrice fdur...@inverse.ca

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Dima Ermakov
Thank you! It works good. But if I try add network from web interface and write in DNS this string (10.0.20.1,10.0.20.2,10.0.36.1) I have Should match the IP of a registration interface or the production DNS server if the network is Inline L3 error. May be it is bug? I use PF 5.0.0 now. On 2

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Durand fabrice
In fact i m just able to replicate with an inline l2 interface not with inline layer 3. Can you send me what you have in httpd.admin.log and httpd.admin.catalyst ? Regards Fabrice Le 2015-06-02 08:30, Durand fabrice a écrit : You are true, there is a bug. Let me check the code and i will

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Dima Ermakov
Thank you for your patch. Now I have another problem: kernel ipset limit. I will recompile my kernel with maximum ipset = 1024 (now is 256). After this, I wii try your patch. On 2 June 2015 at 16:10, Durand fabrice fdur...@inverse.ca wrote: Nothing really interesting in the log. Try that, i

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Durand fabrice
Check in /sys/module/ip_set/parameters/max_sets Regards Fabrice Le 2015-06-02 13:02, Dima Ermakov a écrit : Thank you for your patch. Now I have another problem: kernel ipset limit. I will recompile my kernel with maximum ipset = 1024 (now is 256). After this, I wii try your patch. On 2 June

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Dima Ermakov
Now cat max_sets returns 0 On 2 June 2015 at 20:07, Durand fabrice fdur...@inverse.ca wrote: Check in /sys/module/ip_set/parameters/max_sets Regards Fabrice Le 2015-06-02 13:02, Dima Ermakov a écrit : Thank you for your patch. Now I have another problem: kernel ipset limit. I

Re: [PacketFence-users] DNS networks.conf

2015-06-02 Thread Fabrice Durand
It is supposed to be dynamic. Also you can change this value by adding a kernel option parameter. Le 2 juin 2015 13:12:36 GMT-04:00, Dima Ermakov demoni...@gmail.com a écrit : Now cat max_sets returns 0 On 2 June 2015 at 20:07, Durand fabrice fdur...@inverse.ca wrote: Check in