// failure domains, not just more ports
A production enterprise lab stops behaving like a laboratory when real services depend on it. My racks were hosting Proxmox virtual machines, validator workloads, storage and management systems. The Server ReRACK project therefore had two jobs: relocate and reorganise the physical estate, and reduce the number of routine switching changes that could interrupt several services at once. The old switching arrangement had served its purpose, but it did not give me the operational separation I wanted during a staged migration.
The target was a pair of Cisco Nexus 3548-X top-of-rack (TOR) switches, with selected hypervisors attached to both. I used virtual port channels (vPC) to let a host-facing LACP bond span the two switches, and HSRP to provide a virtual default gateway on the relevant VLAN interfaces. Those technologies solve different problems. vPC addresses how Ethernet links attach to the switching pair; HSRP addresses which routed first hop answers for a gateway address. Neither alone guarantees that the firewall, upstream route or application will survive every failure.
I treated that distinction as a design constraint from the beginning. A healthy peer-link is not proof of northbound reachability, and an active HSRP gateway is not proof of a working WAN route. This fabric piece covers the switching and first-hop foundation; the separate static-to-OSPF migration and later failover case study cover the other layers.
That separation shaped the way I planned the move. Physical server relocation, trunk preparation and management reachability had to be sequenced so that an individual host could be reconnected and checked before the next one moved. I was not building a greenfield fabric and then powering on workloads; I was changing the transport underneath running systems. For that reason, this piece focuses on decisions visible in the as-built configurations rather than presenting a theoretical maximum-availability topology.
// the as-built fabric
Figure 1. Simplified as-built logical fabric. Keepalive and vPC peer-link are distinct paths. The routed edge is contextual, not a failover claim.
The Nexus pair was configured as vPC domain 10. Its peer-link was port-channel 10, built from two Ethernet interfaces using LACP active mode. That peer-link is not a server uplink: it carries the inter-switch traffic and state needed for the vPC pair to operate. I also configured a separate peer-keepalive mechanism on a routed interface in a dedicated VPC-KEEPALIVE VRF. The two functions were deliberately not drawn as the same cable or protocol path.
vrf context VPC-KEEPALIVE vpc domain 10 peer-keepalive destination <PEER_IP> source <LOCAL_IP> vrf VPC-KEEPALIVE interface EthernetX/AA no switchport vrf member VPC-KEEPALIVE ip address <KEEPALIVE_INTERFACE_IP>/30 Representative excerpt from the recorded configuration; angle-bracketed fields are editorial redactions, not commands to paste.
The separate keepalive matters operationally. Its job is to help the switches distinguish a peer that is still alive from one that has disappeared when the peer-link is impaired. It does not replace the peer-link or make split-brain scenarios impossible. The important implementation detail is the dependency boundary: the keepalive was assigned its own routed interface and VRF instead of being represented as traffic carried by Po10.
There is a second design boundary in the peer-link itself. Po10 is a vPC infrastructure link, not a host attachment point or a substitute for correctly configured server-facing vPCs; it can carry data traffic in specific forwarding and failure conditions. The server-facing vPCs have their own identifiers and member interfaces. Keeping those objects separate in the configuration and in the documentation made it easier to distinguish a peer health issue from a single host-facing link issue during validation. I also retained a dedicated management segment so operational access did not depend on guessing which application VLAN a host happened to use.
interface port-channel10 switchport mode trunk spanning-tree port type network vpc peer-link interface EthernetX/YY switchport mode trunk channel-group 10 mode active interface EthernetX/ZZ switchport mode trunk channel-group 10 mode active Representative excerpt from the recorded configuration; angle-bracketed fields are editorial redactions, not commands to paste.
// verify the host bond, not just the switch label
The recorded server-facing vPC inventory included several server-facing port-channels, each corresponding to a hypervisor. On the switch side, each selected host-facing port-channel was a trunk with an explicit VLAN allow-list and a matching vPC identifier. The allowed VLANs were kept narrow enough to match the workloads assigned to each host, rather than relying on an unrestricted trunk as a permanent operating model.
interface port-channelXXX description <HOST_A>_LACP switchport mode trunk switchport trunk allowed vlan <APPROVED_VLAN_LIST> spanning-tree port type edge trunk vpc XXX interface port-channelYYY description <HOST_B>_LACP switchport mode trunk switchport trunk allowed vlan <APPROVED_VLAN_LIST> spanning-tree port type edge trunk vpc YYY Representative excerpt from the recorded configuration; angle-bracketed fields are editorial redactions, not commands to paste.
The corresponding Proxmox configuration is equally important. In the recorded example from one hypervisor, bond0 used IEEE 802.3ad with two physical interfaces, link monitoring and a layer3+4 transmit hash policy. A VLAN-aware Linux bridge then exposed the tagged networks to the virtual machines. The bridge was not an alternative to the bond; it was the next layer above it. That relationship is easy to obscure when a diagram shows only two blue lines from a server to two switches.
auto bond0 iface bond0 inet manual bond-slaves ens3fXnpX ens3fYnpY bond-miimon 100 bond-mode 802.3ad bond-xmit-hash-policy layer3+4 auto vmbr0 iface vmbr0 inet manual bridge-ports bond0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids <APPROVED_VLAN_LIST> Representative excerpt from the recorded configuration; angle-bracketed fields are editorial redactions, not commands to paste.
There was an important exception. The retained host inventory shows one hypervisor using an active-backup bond, not 802.3ad. It would be wrong to describe every hypervisor as a dual-switch LACP member merely because the wider fabric supports vPC. The lesson is practical: verify the bond mode on the host and the port-channel state on both switches before using a common topology label. Design patterns are not evidence of an individual host configuration.
The migration checks therefore had to run in both directions. A switch configuration showing a vPC identifier is only one side of the evidence; the hypervisor must show the intended slaves, bond mode and bridge mapping. Conversely, a host bond reporting two 10GbE links does not by itself prove that the peer switches agree on the port-channel and VLAN list. I used the recorded host and switch outputs as complementary observations, not interchangeable substitutes. That is also why this piece shows the actual Proxmox bridge configuration rather than reducing the server side to an unlabeled dual cable.
// the gateway migration was a separate change
My management network illustrates why the L2 and L3 decisions had to be kept apart. The project introduced a dedicated management VLAN, with a routed SVI on each TOR and an HSRP virtual IP ending in .2. TOR A was configured with an HSRP group matching the management VLAN, priority 110 and preempt. The .2 convention was intentional: the staged transition had to avoid colliding with legacy gateway addresses ending in .1 while systems were being migrated and their default gateways changed.
interface VlanXX description MANAGEMENT_GATEWAY no shutdown no ip redirects ip address <TOR_A_MANAGEMENT_IP>/24 hsrp XX preempt priority 110 ip <MANAGEMENT_VIP_ENDING_DOT_2> Representative excerpt from the recorded configuration; angle-bracketed fields are editorial redactions, not commands to paste.
HSRP is not a feature of the vPC port-channel. It has its own active/standby state for the virtual gateway. In the October operational snapshot, TOR A was HSRP Active for the management VLAN, even though its vPC output described a configured primary role and an operational secondary role. Those are separate state machines, and their labels should never be combined into a single assertion that "TOR A is primary for everything".
The staged gateway choice also constrained rollback. Preserving the old gateway during migration meant I could move hosts and VLAN interfaces deliberately rather than relying on a one-time all-or-nothing switch. This piece does not claim that every legacy .1 interface was simultaneously present on the final TOR pair; the evidence for that coexistence comes from the migration plan and sequence, not from the later HSRP snapshot alone.
// what the captures actually validated
The retained operational outputs are useful precisely because they are specific. Both Nexus snapshots showed the vPC peer adjacency formed, peer keepalive alive, configuration-consistency checks successful and Po10 up. The sampled production vPCs were up on both displayed switches. The HSRP brief output showed TOR A Active for the management VLAN. Taken together, those observations establish a functioning vPC and first-hop configuration at the time the commands were captured.
They do not establish a measured link-failure convergence time or prove that a firewall outage would be invisible to a tenant workload. I reserved those claims for the later bidirectional failover case study, where the test method and failure boundary can be described explicitly. It is better to state the evidence boundary than to turn an "up" status into an invented availability percentage.
A useful validation record answers three questions: what was checked, from which device, and at what point in the migration. For the fabric, those checks included the vPC peer state, the keepalive state, consistency results, peer-link status, selected member vPCs and HSRP brief output. A different set of tests is needed to establish whether an application session remains usable after a specific link, switch or routed transit fails. I deliberately keep those two evidence sets apart so this piece remains reproducible without claiming more than the captured commands demonstrate.
The captures also showed why a simple "all green" summary would have been misleading. One sampled vPC appeared UP on TOR B but DOWN* on TOR A. In the NX-OS legend, the asterisk indicates that the local vPC is down and forwarding is through the peer-link. The available records do not establish the cause, duration or user impact of that difference. A temporary test port-channel was also shown down in the same period. Neither should be counted as a healthy final production member, and neither justifies a fabricated outage story.
// what I'd make instinctive
Five things from this.
Keep control paths distinct. The two-member peer-link, the separate keepalive on its own interface and VRF, and the host-facing vPCs serve different purposes. They should be documented and validated independently, even when they belong to one logical fabric.
Confirm the actual hypervisor bonding mode and VLAN presentation. The active-backup exception on one hypervisor was not a design failure; it was a reminder that the installed estate was heterogeneous. Design patterns are not evidence of an individual host configuration.
A virtual gateway migration deserves its own change plan. HSRP let me establish a new default-gateway address without treating the old .1 addresses as disposable on day one. The L2 fabric change and the L3 gateway change were kept as separate conversations with separate rollback paths.
Timestamp operational evidence and retain awkward observations. One vPC's different states across the two TORs is more useful as an unresolved fact than as a story polished into a certainty. Capture the asterisk; let it stand.
Availability is layered. Switching redundancy, first-hop redundancy and routed/firewall failover each need their own verification. None of them substitutes for the others, and the captures that prove one layer do not prove any of the others.
The outcome of this phase was a dual-TOR switching foundation with documented vPC peer health, selected dual-attached hypervisors and an HSRP management gateway. That is a meaningful architectural improvement, but it is not the end of the availability story. The subsequent static-to-OSPF migration and failure testing built on this fabric and supplied the missing evidence for the routed paths. In a production enterprise lab, the engineering win is not the number of cables installed. It is being able to say exactly which failure domain each cable, protocol and validation result addresses.




