{"id":3409,"date":"2020-06-03T13:00:27","date_gmt":"2020-06-03T18:00:27","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3409"},"modified":"2020-06-03T13:30:01","modified_gmt":"2020-06-03T18:30:01","slug":"whm-cpanel-works-from-some-networks-and-not-others","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/whm-cpanel-works-from-some-networks-and-not-others\/","title":{"rendered":"WHM\/cPanel &#8211; Works from some networks and not others."},"content":{"rendered":"\n<p>Had a problem with a WHM\/cPanel server where it was working fine from a couple different networks, but then would not work on others.  The server itself seemed fine and fully operational.<\/p>\n\n\n\n<p>Checked firewall rules on routers, server, checked IP routes, tried disabling cPHulk.  Ended up being there were a couple addresses added with the incorrect subnet mask which was keeping it from working.  Removed the IP&#8217;s with the wrong subnet and it started working on all networks.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# ifconfig\neth0: flags=4163 mtu 1500\n  inet 192.168.1.70 netmask 255.255.255.224 broadcast 192.168.1.95\n  inet6 7f80::4588:523f:a697:c311 prefixlen 64 scopeid 0x20\n  ether 4b:02:de:0d:cf:1a txqueuelen 1000 (Ethernet)\n  RX packets 171071 bytes 83556877 (79.6 MiB)\n  RX errors 0 dropped 0 overruns 0 frame 0\n  TX packets 163710 bytes 76482245 (72.9 MiB)\n  TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0:cp1: flags=4163 mtu 1500\n  inet 192.168.1.74 netmask 255.255.255.224 broadcast 192.168.1.95\n  ether 4b:02:de:0d:cf:1a txqueuelen 1000 (Ethernet)\n\neth0:cp6: flags=4163 mtu 1500\n  inet 192.168.1.75 netmask <strong>255.255.224.0<\/strong> broadcast 23.145.159.255\n  ether 4b:02:de:0d:cf:1a txqueuelen 1000 (Ethernet)\n\u2026\n\n[root@host ~]#<\/pre>\n\n\n\n<p>Under eth0:cp6 the IP has a 255.255.224.0 subnet which is incorrect.  Should have been a 255.255.255.224 (\/27) subnet.<\/p>\n\n\n\n<p>Removed the IP out of WHM and then readded with the correct subnet mask and it now works.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"525\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/06\/image-2.png\" alt=\"\" class=\"wp-image-3412\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/06\/image-2.png 818w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/06\/image-2-300x193.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/06\/image-2-768x493.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/06\/image-2-467x300.png 467w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><figcaption>Make sure you add and IP with the correct subnet<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Had a problem with a WHM\/cPanel server where it was working fine from a couple different networks, but then would not work on others. The server itself seemed fine and fully operational. Checked firewall rules on routers, server, checked IP &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/whm-cpanel-works-from-some-networks-and-not-others\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[195],"tags":[890,196,619,1043,1044,382],"class_list":["post-3409","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-address","tag-cpanel-2","tag-ip","tag-not-working","tag-subnet","tag-whm"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3409"}],"version-history":[{"count":6,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3409\/revisions"}],"predecessor-version":[{"id":3417,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3409\/revisions\/3417"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}