{"id":398,"date":"2014-09-08T21:58:42","date_gmt":"2014-09-08T19:58:42","guid":{"rendered":"http:\/\/www.dhcpserver.de\/cms\/?p=398"},"modified":"2020-03-17T09:45:35","modified_gmt":"2020-03-17T08:45:35","slug":"example-3","status":"publish","type":"post","link":"http:\/\/www.dhcpserver.de\/cms\/example\/example-3\/","title":{"rendered":"Example 3: The server has 2 or more NICs and manages clients on two subnets"},"content":{"rendered":"<p><a href=\"https:\/\/www.dhcpserver.de\/cms\/wp-content\/uploads\/2014\/09\/netpic4.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-415\" src=\"https:\/\/www.dhcpserver.de\/cms\/wp-content\/uploads\/2014\/09\/netpic4.gif\" alt=\"netpic4\" width=\"230\" height=\"200\" \/><\/a>The INI file looks like this:<\/p>\n<pre class=\"textbox\">[General]\r\nSUBNETMASK=255.255.255.0\r\nROUTER_1=192.168.10.1 \r\nDNS_1=192.168.10.1 \r\n[Settings]\r\nAssociateBindsToPools=1\r\nIPBIND_1=192.168.10.1\r\nIPBIND_2=192.168.11.1\r\nIPPOOL_1=192.168.10.2-49\r\nIPPOOL_2=192.168.11.2-49\r\n<\/pre>\n<p>This manages the IP addresses 192.168.10.2 until 192.168.10.49 for Ethernet 1 and 192.168.11.2 until 192.168.11.49 for Ethernet 2. Please note the line AssociateBindsToPools=1. This option associates the IP Pools with the corresponding IP Binds. Without that option the DHCP Server would view all IPPOOL_x as one big IP pool independent of the subnet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The INI file looks like this: [General] SUBNETMASK=255.255.255.0 ROUTER_1=192.168.10.1 DNS_1=192.168.10.1 [Settings] AssociateBindsToPools=1 IPBIND_1=192.168.10.1 IPBIND_2=192.168.11.1 IPPOOL_1=192.168.10.2-49 IPPOOL_2=192.168.11.2-49 This manages the IP addresses 192.168.10.2 until 192.168.10.49 for Ethernet 1 and 192.168.11.2 until 192.168.11.49 for Ethernet 2. Please note the line AssociateBindsToPools=1. This option associates the IP Pools with the corresponding IP Binds. Without that option the DHCP &hellip; <a href=\"http:\/\/www.dhcpserver.de\/cms\/example\/example-3\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Example 3: The server has 2 or more NICs and manages clients on two subnets<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-398","post","type-post","status-publish","format-standard","hentry","category-example"],"_links":{"self":[{"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":7,"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":703,"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/posts\/398\/revisions\/703"}],"wp:attachment":[{"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.dhcpserver.de\/cms\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}