{"id":3640,"date":"2014-11-04T17:01:25","date_gmt":"2014-11-04T17:01:25","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=3640"},"modified":"2016-04-10T09:40:38","modified_gmt":"2016-04-10T09:40:38","slug":"add-ip-range-in-centos-server","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/add-ip-range-in-centos-server\/","title":{"rendered":"Add IP range in CentOS Server"},"content":{"rendered":"<p>Many time we want to add bulk ip&#8217;s to server because of clients and applications requirement and we don&#8217;t want to waste time to bind ip&#8217;s one by one to server, at that time we can select the ip range and bind it to server using the following commands, but make sure that you have logged in as a root user.<\/p>\n<p>Login into the server as a root user and execute the commands one by one<\/p>\n<p>create the new file \/etc\/sysconfig\/network-scripts\/<strong>ifcfg-eth0-range0<\/strong><\/p>\n<blockquote><p>IPADDR_START=192.168.1<strong>.210<\/strong><br \/>\nIPADDR_END=192.168.1<strong>.211<\/strong><br \/>\nCLONENUM_START=1<\/p><\/blockquote>\n<p>In above example , we have added 2 ip&#8217;s to the server , if you want more ips, than adjust the parameter mentioned in the BOLD.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Many time we want to add bulk ip&#8217;s to server because of clients and applications requirement and we don&#8217;t want to waste time to bind <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/add-ip-range-in-centos-server\/\" title=\"Add IP range in CentOS Server\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":4011,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-3640","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-server"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3640"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=3640"}],"version-history":[{"count":3,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3640\/revisions"}],"predecessor-version":[{"id":3643,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3640\/revisions\/3643"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/4011"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=3640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=3640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=3640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}