{"id":5999,"date":"2019-04-11T11:47:48","date_gmt":"2019-04-11T17:47:48","guid":{"rendered":"http:\/\/gregsowell.com\/?p=5999"},"modified":"2019-04-11T11:47:48","modified_gmt":"2019-04-11T17:47:48","slug":"bridging-all-vlans-into-through-a-vmware-esxi-vm","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=5999","title":{"rendered":"Bridging all VLANs Into\/Through A VMware ESXi VM"},"content":{"rendered":"<p>Recently I was assisting with a Preseem server configuration.  These boxes want to be bridged in the traffic path.  If you want to do this in an ESXi VM, this can be a little obtuse.<\/p>\n<p><figure id=\"attachment_6000\" aria-describedby=\"caption-attachment-6000\" style=\"width: 239px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm1.png\" alt=\"\" width=\"239\" height=\"240\" class=\"size-full wp-image-6000\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm1.png 239w, https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm1-150x150.png 150w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/a><figcaption id=\"caption-attachment-6000\" class=\"wp-caption-text\">First create two new virtual switches.<\/figcaption><\/figure><br \/>\n<figure id=\"attachment_6001\" aria-describedby=\"caption-attachment-6001\" style=\"width: 706px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm2.png\" alt=\"\" width=\"706\" height=\"449\" class=\"size-full wp-image-6001\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm2.png 706w, https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm2-300x191.png 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/a><figcaption id=\"caption-attachment-6001\" class=\"wp-caption-text\">Next add a single physical NIC to each virtual switch.<\/figcaption><\/figure><br \/>\n<figure id=\"attachment_6002\" aria-describedby=\"caption-attachment-6002\" style=\"width: 474px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm3.png\" alt=\"\" width=\"474\" height=\"384\" class=\"size-full wp-image-6002\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm3.png 474w, https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm3-300x243.png 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a><figcaption id=\"caption-attachment-6002\" class=\"wp-caption-text\">Edit each virtual switch and under security, enable all of the things.<\/figcaption><\/figure><br \/>\n<figure id=\"attachment_6003\" aria-describedby=\"caption-attachment-6003\" style=\"width: 246px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm4.png\" alt=\"\" width=\"246\" height=\"278\" class=\"size-full wp-image-6003\" \/><\/a><figcaption id=\"caption-attachment-6003\" class=\"wp-caption-text\">Next, add a port group to to each virtual switch.<\/figcaption><\/figure><br \/>\n<figure id=\"attachment_6004\" aria-describedby=\"caption-attachment-6004\" style=\"width: 527px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm5.png\" alt=\"\" width=\"527\" height=\"331\" class=\"size-full wp-image-6004\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm5.png 527w, https:\/\/gregsowell.com\/wp-content\/uploads\/2019\/04\/bvm5-300x188.png 300w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/a><figcaption id=\"caption-attachment-6004\" class=\"wp-caption-text\">Here&#8217;s the secret sauce.  Edit the port groups and set the VLAN to 4095!<\/figcaption><\/figure><\/p>\n<p>As per this <a href=\"https:\/\/kb.vmware.com\/s\/article\/1003806\">VMware link<\/a>, <strong>setting the VLAN to 4095<\/strong> will instruct the <strong>vswitch to pass all VLANs<\/strong> through unmolested.  Of course the switch or router ports on either end need to be trunking all vlans you want to move across your connection.<\/p>\n<p>Your VM server will need to configure a bridge interface, and the NICs added to it, thus the traffic will move through.<\/p>\n<p>Good luck, and happy bridging \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I was assisting with a Preseem server configuration. These boxes want to be bridged in the traffic path. If you want to do\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,13,40],"tags":[],"class_list":["post-5999","post","type-post","status-publish","format-standard","hentry","category-networking","category-server","category-vmware"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5999"}],"version-history":[{"count":1,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5999\/revisions"}],"predecessor-version":[{"id":6005,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5999\/revisions\/6005"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}