{"id":3075,"date":"2026-10-08T12:09:20","date_gmt":"2026-10-08T12:09:20","guid":{"rendered":"https:\/\/www.examtopics.biz\/blog\/comptia-n10-009-vxlan-layer-2-overlays\/"},"modified":"2026-10-17T09:40:28","modified_gmt":"2026-10-17T09:40:28","slug":"comptia-n10-009-vxlan-layer-2-overlays","status":"publish","type":"post","link":"https:\/\/www.examtopics.biz\/blog\/comptia-n10-009-vxlan-layer-2-overlays\/","title":{"rendered":"CompTIA N10-009: VXLAN for Layer 2 Overlays"},"content":{"rendered":"<p>Traditional VLANs were designed for Layer 2 segmentation inside relatively bounded switched networks.<\/p>\n<p>Modern data centers often need much larger logical networks that span Layer 3 infrastructure.<\/p>\n<p>VXLAN solves that problem by building a <strong>Layer 2 overlay on top of a Layer 3 underlay<\/strong>.<\/p>\n<p>A VXLAN tunnel can be configured correctly while traffic still fails because the routed underlay cannot reach a remote VTEP; conversely, the underlay may be healthy while overlay mapping or endpoint policy prevents delivery. When interpreting <a href=\"https:\/\/www.examtopics.biz\/n10-009\">N10-009 network-architecture practice<\/a> evidence, check underlay reachability and MTU separately from tunnel membership and controller policy. A successful ping to a VTEP proves neither that the intended MAC\/IP endpoint was learned nor that the application flow is permitted.<\/p>\n<h2>The underlay provides IP reachability<\/h2>\n<p>A VXLAN fabric still needs a working routed network underneath it.<\/p>\n<p>That routed network is the <strong>underlay<\/strong>.<\/p>\n<p>The underlay&#8217;s job is to provide IP connectivity between VXLAN tunnel endpoints.<\/p>\n<p>It can use ordinary routing technologies and redundant data-center design.<\/p>\n<p>The underlay does not need to know every tenant MAC address.<\/p>\n<p>It needs to know how to route IP packets between the devices that participate in the overlay.<\/p>\n<p>If the underlay is unstable, the VXLAN overlay will be unstable too.<\/p>\n<p>Troubleshoot underlay reachability before blaming encapsulation.<\/p>\n<h2>The overlay carries Layer 2 segments<\/h2>\n<p>VXLAN creates logical Layer 2 networks over that IP underlay.<\/p>\n<p>A frame from a tenant or application network is encapsulated for transport across the routed fabric.<\/p>\n<p>At the remote endpoint, the encapsulation is removed and the original Layer 2 frame is delivered into the correct logical segment.<\/p>\n<p>This lets workloads in different racks or routed portions of a data center participate in the same overlay network without extending one physical Layer 2 switching domain everywhere.<\/p>\n<p>The overlay therefore separates the logical tenant topology from the physical routed topology.<\/p>\n<h2>VTEPs perform VXLAN encapsulation<\/h2>\n<p>A VXLAN Tunnel Endpoint, or VTEP, is responsible for encapsulating and decapsulating VXLAN traffic.<\/p>\n<p>A VTEP can be implemented in:<\/p>\n<ul>\n<li>physical switch<\/li>\n<li>virtual switch<\/li>\n<li>hypervisor<\/li>\n<li>network appliance<\/li>\n<li>other supported data-plane endpoint<\/li>\n<\/ul>\n<p>The VTEP has an IP presence in the underlay.<\/p>\n<p>When it needs to send an Ethernet frame across the VXLAN network, it encapsulates that frame in VXLAN over UDP\/IP and sends it toward another VTEP.<\/p>\n<p>RFC 7348 defines UDP port <strong>4789<\/strong> as the default VXLAN destination port.<\/p>\n<p><strong>The VNI identifies the logical overlay segment<\/strong><\/p>\n<p>A VXLAN Network Identifier, or VNI, identifies a VXLAN segment.<\/p>\n<p>The VNI is 24 bits.<\/p>\n<p>That creates a far larger logical segmentation space than the 12-bit VLAN ID field used by traditional 802.1Q VLANs.<\/p>\n<p>This is one of the reasons VXLAN became attractive in multi-tenant data centers.<\/p>\n<p>The architect can create many logical overlay segments without being limited to the traditional VLAN-ID scale.<\/p>\n<p>A VNI is not the same thing as a VLAN ID.<\/p>\n<p>VLAN-to-VNI mapping can exist at the edge, but the identifiers belong to different encapsulation systems.<\/p>\n<h2>Encapsulation keeps tenant Ethernet separate from the routed underlay<\/h2>\n<p>Conceptually, VXLAN carries:<\/p>\n<p><strong>outer Ethernet \u2192 outer IP \u2192 UDP \u2192 VXLAN header \u2192 original Ethernet frame<\/strong><\/p>\n<p>The outer IP header belongs to the underlay.<\/p>\n<p>The original Ethernet frame belongs to the overlay tenant segment.<\/p>\n<p>This separation is the core architectural idea.<\/p>\n<p>The routed network transports the VXLAN packet.<\/p>\n<p>The tenant&#8217;s Layer 2 frame remains inside the encapsulation until it reaches the remote VTEP.<\/p>\n<p><strong>Overlays reduce the need for one large physical spanning-tree domain<\/strong><\/p>\n<p>Traditional Layer 2 extension across a data center can create large broadcast and spanning-tree domains.<\/p>\n<p>VXLAN allows the physical fabric to remain routed.<\/p>\n<p>That provides benefits such as:<\/p>\n<ul>\n<li>equal-cost paths<\/li>\n<li>scalable routing<\/li>\n<li>smaller Layer 2 failure domains<\/li>\n<li>better use of redundant links<\/li>\n<\/ul>\n<p>The overlay still presents Layer 2 semantics where applications need them.<\/p>\n<p>This is why VXLAN commonly appears with leaf-spine routed fabrics.<\/p>\n<p>The physical topology is optimized for IP routing.<\/p>\n<p>The virtual topology is optimized for workload segmentation.<\/p>\n<h2>Control-plane learning matters<\/h2>\n<p>Early VXLAN designs could rely heavily on flood-and-learn behavior.<\/p>\n<p>Modern data-center fabrics commonly use a control plane such as EVPN to distribute MAC and IP reachability information between VTEPs.<\/p>\n<p>That reduces the need for flooding and improves scale.<\/p>\n<p>Network+ may not require the depth of a data-center specialist exam, but understanding this distinction helps:<\/p>\n<ul>\n<li><strong>VXLAN defines the overlay data-plane encapsulation.<\/strong><\/li>\n<li><strong>EVPN can provide the control plane that tells VTEPs where endpoints live.<\/strong><\/li>\n<\/ul>\n<p>Do not treat VXLAN and EVPN as synonyms.<\/p>\n<p>Modern VXLAN fabrics often use EVPN as the control plane because the data plane alone does not tell every VTEP where remote endpoints live. With BGP EVPN, reachability information can be advertised between VTEPs instead of relying only on flood-and-learn behavior. That lets the fabric scale better and gives the operator a control-plane table to inspect when an endpoint exists locally but is not reachable remotely.<\/p>\n<p>Broadcast, unknown-unicast, and multicast traffic still need handling inside an overlay. Depending on the design, the fabric can use multicast in the underlay or ingress replication to deliver BUM traffic to the VTEPs that participate in a segment. A failure in that mechanism can create symptoms that look inconsistent: known unicast might work while ARP, Neighbor Discovery, or other broadcast-dependent behavior fails.<\/p>\n<p>The underlay also has performance responsibilities. Equal-cost multipath is common in leaf-spine fabrics, so multiple routed paths may carry VXLAN packets between VTEPs. If one path has MTU, loss, or routing problems, failures can appear intermittent because different flows hash across different underlay links. That is another reason to test VTEP-to-VTEP reachability and path health before editing VLAN or VNI mappings.<\/p>\n<p>Operationally, separate three identities during troubleshooting: the endpoint VLAN or local segment, the VNI that identifies the overlay segment, and the VTEP IP address used by the underlay. A mistake at any one of those layers can break communication, but the evidence will be different. Local MAC learning can be correct while the remote EVPN route is missing; the EVPN route can be correct while the underlay cannot reach the remote VTEP; and the underlay can be healthy while a VLAN maps to the wrong VNI.<\/p>\n<h2>MTU must account for encapsulation<\/h2>\n<p>VXLAN adds headers.<\/p>\n<p>That increases the packet size carried by the underlay.<\/p>\n<p>If the underlay MTU is too small, the network may experience:<\/p>\n<ul>\n<li>fragmentation<\/li>\n<li>drops<\/li>\n<li>application failures<\/li>\n<li>inconsistent large-packet behavior<\/li>\n<\/ul>\n<p>Data-center VXLAN designs commonly use a larger underlay MTU to account for encapsulation overhead.<\/p>\n<p>When small pings succeed but larger application traffic fails, MTU is a useful troubleshooting candidate.<\/p>\n<h2>VNI mismatch can look like a VLAN problem<\/h2>\n<p>If two endpoints should share one logical overlay but are placed in different VNIs, they will not share the expected Layer 2 segment.<\/p>\n<p>Symptoms can include:<\/p>\n<ul>\n<li>host cannot reach peer<\/li>\n<li>ARP\/neighbor discovery fails across overlay<\/li>\n<li>broadcast does not reach expected endpoint<\/li>\n<li>one rack works while another does not<\/li>\n<\/ul>\n<p>Check:<\/p>\n<ul>\n<li>VLAN-to-VNI mapping<\/li>\n<li>VTEP configuration<\/li>\n<li>endpoint learning<\/li>\n<li>remote VTEP reachability<\/li>\n<li>control-plane state<\/li>\n<\/ul>\n<p>Do not troubleshoot only the access VLAN when the segmentation error may be in the overlay identifier.<\/p>\n<h2>VXLAN can participate in SDN fabrics without being SDN itself<\/h2>\n<p>VXLAN is a network encapsulation technology.<\/p>\n<p>VXLAN uses encapsulation to carry an overlay segment across an IP underlay. A configured VNI is not proof that remote endpoints can exchange frames: compare VTEP reachability, the advertised endpoint mapping and the route taken by the outer packet. The encapsulation adds a transport dependency, so a perfectly configured local VLAN can still fail when the routed fabric cannot carry the tunneled traffic.<\/p>\n<p>VXLAN can be part of an SDN solution.<\/p>\n<p>It can also exist in designs where the important concept is simply an overlay carried over a routed fabric.<\/p>\n<p>In <a href=\"https:\/\/www.examtopics.biz\/blog\/what-is-sdn-understanding-software-defined-networking-in-modern-it\/\">software-defined networking<\/a>, centralized policy decisions can coexist with distributed packet forwarding. An overlay still depends on underlay reachability, so the first useful troubleshooting question is whether a failure belongs to policy selection or actual packet transport.<\/p>\n<p><a href=\"https:\/\/www.examtopics.biz\/blog\/cisco-aci-explained-how-it-transforms-modern-data-center-networking\/\">Cisco ACI<\/a> illustrates how a data-center network can separate an IP-routed underlay from an overlay that applies endpoint and application policy. A reachable underlay does not prove the endpoint group has a permitted contract, while correct policy cannot compensate for an unreachable tunnel endpoint. For Network+ architecture questions, keep transport, overlay encapsulation and centralized intent as separate failure domains.<\/p>\n<p>Troubleshooting should also distinguish endpoint learning from forwarding. A VTEP can know that a remote MAC or IP exists while the actual data path is broken by MTU, ACL, routing, or tunnel reachability. The reverse can also happen: the underlay can pass UDP 4789 perfectly while the control plane never advertises the endpoint into the correct VNI. Compare the control-plane entry, VTEP next hop, and actual encapsulated traffic instead of assuming one successful check proves the whole fabric.<\/p>\n<p>Because VXLAN is usually deployed in redundant fabrics, test more than one path when symptoms are intermittent. Equal-cost routing can hash different flows across different spine links or underlay paths. A single bad optic, MTU mismatch, or routing adjacency can therefore affect only some conversations. Consistent underlay telemetry and interface counters help identify that asymmetry.<\/p>\n<p>Finally, remember that VXLAN extends a logical broadcast domain; it does not remove ordinary Layer 2 responsibilities at the edge. ARP, IPv6 Neighbor Discovery, MAC learning, gateway placement, and endpoint VLAN membership still matter. The overlay changes how those frames travel between VTEPs, not what an endpoint expects from its local Ethernet segment.<\/p>\n<h2>Troubleshoot underlay and overlay as different fault domains<\/h2>\n<p>When VXLAN connectivity fails:<\/p>\n<ol>\n<li>Verify endpoint VLAN and local access configuration.<\/li>\n<li>Verify VLAN-to-VNI mapping.<\/li>\n<li>Verify VTEP state.<\/li>\n<li>Verify underlay IP reachability between VTEPs.<\/li>\n<li>Verify UDP 4789 is not being blocked.<\/li>\n<li>Check MTU.<\/li>\n<li>Check remote endpoint learning.<\/li>\n<li>Check control-plane advertisements if EVPN is used.<\/li>\n<li>Check that both endpoints belong to the intended VNI.<\/li>\n<li>Compare overlay and underlay evidence separately.<\/li>\n<\/ol>\n<p>VXLAN works because a routed IP fabric carries encapsulated Ethernet between VTEPs. Keep the underlay, overlay control plane, and local VLAN\/VNI mapping separate in your mental model, then troubleshoot the layer whose evidence is actually wrong. Document the expected VNI and remote VTEP before changing the fabric.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Traditional VLANs were designed for Layer 2 segmentation inside relatively bounded switched networks. Modern data centers often need much larger logical networks that span Layer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,49,106,32],"tags":[],"class_list":["post-3075","post","type-post","status-publish","format-standard","hentry","category-certifications","category-comptia-certifications","category-exam-n10-009","category-networking"],"_links":{"self":[{"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/posts\/3075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/comments?post=3075"}],"version-history":[{"count":3,"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/posts\/3075\/revisions"}],"predecessor-version":[{"id":4715,"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/posts\/3075\/revisions\/4715"}],"wp:attachment":[{"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/media?parent=3075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/categories?post=3075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examtopics.biz\/blog\/wp-json\/wp\/v2\/tags?post=3075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}