{"id":72,"date":"2018-03-02T14:01:27","date_gmt":"2018-03-02T20:01:27","guid":{"rendered":"https:\/\/blog.mctechnologies.net\/?p=72"},"modified":"2018-03-02T14:47:29","modified_gmt":"2018-03-02T20:47:29","slug":"virtualized-pfsense-instance-fails-to-get-ip-address-from-cable-modem","status":"publish","type":"post","link":"https:\/\/blog.mctechnologies.net\/?p=72","title":{"rendered":"Virtualized PFSense Instance Fails to get IP Address from Cable Modem"},"content":{"rendered":"<p>I recently upgraded my home cable speed from 300Mbps to 400Mbps.\u00a0 The cable modem Spectrum gave me a while back when I upgraded to 300 didn&#8217;t quite do 400Mbps, so they gave me a new modem.\u00a0 Shortly after installation, my PFSense router would not get an IP from the modem.<\/p>\n<p>I noticed that I previously was getting three IP&#8217;s from the cable modem, and when I virtualized, I could only get two.\u00a0 When I looked at the settings for the cable modem I noticed that my MAX_CPE was now set to 1 instead of the previous 3. That told me that the modem was somehow getting not only the MAC address from the router, but from something else.<\/p>\n<p>So, to start at the VERY beginning.\u00a0 I have a three node ESXi cluster set up.\u00a0 The cable modem is plugged into a switch on a particular VLAN.\u00a0 That VLAN is trunked to each host and attached to a PFSense instance through a distributed switch. So, one of those devices are screwing everything up.<\/p>\n<p>The solution: On the switch port the cable modem is connected to, disable Spanning Tree Protocol (STP).\u00a0 You don&#8217;t need to disable it on the whole switch, just the port the modem is connected to.\u00a0 On a Dell PowerConnect 5500 series, open the admin web page, Switching-&gt;Spanning Tree -&gt; STP Port Settings -&gt; Edit<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-73\" src=\"https:\/\/blog.mctechnologies.net\/wp-content\/uploads\/2018\/03\/5500-STP-300x242.jpg\" alt=\"\" width=\"300\" height=\"242\" srcset=\"https:\/\/blog.mctechnologies.net\/wp-content\/uploads\/2018\/03\/5500-STP-300x242.jpg 300w, https:\/\/blog.mctechnologies.net\/wp-content\/uploads\/2018\/03\/5500-STP-768x620.jpg 768w, https:\/\/blog.mctechnologies.net\/wp-content\/uploads\/2018\/03\/5500-STP-80x65.jpg 80w, https:\/\/blog.mctechnologies.net\/wp-content\/uploads\/2018\/03\/5500-STP.jpg 782w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently upgraded my home cable speed from 300Mbps to 400Mbps.\u00a0 The cable modem Spectrum gave me a while back when I upgraded to 300 didn&#8217;t quite do 400Mbps, so they gave me a new modem.\u00a0 Shortly after&#8230; <\/p>\n","protected":false},"author":1,"featured_media":73,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-homelab","category-networking"],"_links":{"self":[{"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=72"}],"version-history":[{"count":1,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":74,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/posts\/72\/revisions\/74"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=\/wp\/v2\/media\/73"}],"wp:attachment":[{"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mctechnologies.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}