Since our lab will be running NSX, we’ll need to deploy the NSX Manager and do some configuration. Then we’ll deploy one NSX Edge, and test connectivity to a segment.
Download the ISO file from VMware, should see a file like this: nsx-unified-appliance-3.2.1.0.0.19801963.ova
Deploy the NSX-T Manager OVA
Standard process for deploying an ova. I deployed this directly on my physical ESXi host.
Once the VM deploys, you can power it on. It takes about 5-10 minutes for the system processes to load, but eventually you can hit the UI: https://nsx-mgr.home.lab/
Configure NSX-T Manager
Add License
Deploy a Compute Manager
A compute manager allows us to connect into vCenter and manage VMs, networks, etc.
Create a Tep IP Address Pool
Tunnel Endpoint (TEP) allows the nested esxi hosts to talk to each other. We’re going to create a pool of IP addresses for them to use for the overlay network.
Create a Transport Node Profile
From VMW: A transport node profile is a template to define configuration that is applied to a cluster. It is not applied to prepare standalone hosts. Prepare vCenter Server cluster hosts as transport nodes by applying a transport node profile. Transport node profiles define transport zones, member hosts, N-VDS switch configuration including uplink profile, IP assignment, mapping of physical NICs to uplink virtual interfaces and so on.
From Me: Profile that gets applied to all the TEPs (nested esxi hosts) and tells them how to communicate with each other and what NICs to use.
Create an Edge Transport Node
The edge is a vm that is deployed in our vCenter that handles most of the NSX-T networking.
Configure the Edge Cluster
The edge cluster is a grouping of all the edges. We only have 1 edge in the lab, but still we need a cluster.
Configure NSX on the Host Transport Nodes
This process usually takes a few minutes, give everything 5-10 minutes to create and settle down.
Configure NSX-T Routing
Now we get to the fun part, actually setting up the routing for NSX. It’s also the final test to make sure everything is configured correctly from above.
Create the Uplink Segment
The uplink segment allows NSX to bridge into our home network. We’re going to do this via BGP using a vyos router.
Create a Tier-0 Gateway
T0 gateway routes between your home network 192.168.3.0/24 and any nested networks that we will create.
Create a Tier-1 Gateway
Tier-1 gateways connect to the T0 and down to the actual subnets (called segments)
Create a Segment
Segments allow us to create isolated subnets. These will auto create portgroups in vCenter and can be assigned to VMs.
Finish BGP and Test
Add the uplink portgroup to the vyos router.
Now that NSX-T is configured, and the Tier-0 router is ready for BGP, we need to add the uplink segment to the vyos router.
Verify BGP
You can verify this 2 ways
8 thoughts on “Home Lab – Deploy NSX-T Manager and Edge”
Hi Matt,
FWIW, what you’ve set up in this demo is ebgp, aka “BGP”. For your purposes here the effective differences are negligible, but when the local AS and remote AS are different numbers it’s exterior gateway routing.
good to know! Thank you sir. I’ll correct that.
Sure thing – still working my way through you guides here š
I’m basically a NOC monkey trying to “learn vmware” for a position I was recruited for. I figured, sure, some virts, route/switch/firewall, storage, etc – not all that much to it, right? Uh, yeah. I’m working with a great team but I feel like I’m about 3 fork-fulls into eating an elephant…
FWIW, looking forward to your Lab 3 info. I need to wrap my head around VCF – that was pretty much the end goal of this lab. We’ve had some “opportunities” with our VCF environment. We seem to expose a lot of bugs. Exposing bugs is almost universally met with “upgrade to the current version.” With VCF. :-/
Thank you! I’m just getting started with my own vcf lab, and will have the blogs out soon. Within the next month, that’s the goal. It’s definitely a different beast, lots of requirements š
Hi Matt,
I was going back through a few of the blogs I used to kickstart my own home lab (yours especially – thanks a bunch :-)) and I noticed that you’re using an overlay segment for your uplink here rather than a VLAN uplink. Was there a specific reason for this or was it more of a simplicity thing? Based on the docs, I’ve been using VLAN segments for uplinks, but I’m always interested to learn why folks do things differently.
Thanks!
Great question, and I don’t know the answer š
Most likely because the blog or doc I used to setup my own overlay used both overlay and vlan, and so I just added both as well. It seemed to work, but now that NSX 4.x is out I really need to do a new series on upgrading.
I have followed the steps mentioned in the blog and deployed vyos 1.5 along with NSX-T 4.2.0.1, but my T0 router status is down, its states BGP and routing down, has somebody managed to deploy with the above mentioned version and get the setup working
Hi Matt,
FWIW, what you’ve set up in this demo is ebgp, aka “BGP”. For your purposes here the effective differences are negligible, but when the local AS and remote AS are different numbers it’s exterior gateway routing.
good to know! Thank you sir. I’ll correct that.
Sure thing – still working my way through you guides here š
I’m basically a NOC monkey trying to “learn vmware” for a position I was recruited for. I figured, sure, some virts, route/switch/firewall, storage, etc – not all that much to it, right? Uh, yeah. I’m working with a great team but I feel like I’m about 3 fork-fulls into eating an elephant…
FWIW, looking forward to your Lab 3 info. I need to wrap my head around VCF – that was pretty much the end goal of this lab. We’ve had some “opportunities” with our VCF environment. We seem to expose a lot of bugs. Exposing bugs is almost universally met with “upgrade to the current version.” With VCF. :-/
Thank you! I’m just getting started with my own vcf lab, and will have the blogs out soon. Within the next month, that’s the goal. It’s definitely a different beast, lots of requirements š
Hi Matt,
I was going back through a few of the blogs I used to kickstart my own home lab (yours especially – thanks a bunch :-)) and I noticed that you’re using an overlay segment for your uplink here rather than a VLAN uplink. Was there a specific reason for this or was it more of a simplicity thing? Based on the docs, I’ve been using VLAN segments for uplinks, but I’m always interested to learn why folks do things differently.
Thanks!
Great question, and I don’t know the answer š
Most likely because the blog or doc I used to setup my own overlay used both overlay and vlan, and so I just added both as well. It seemed to work, but now that NSX 4.x is out I really need to do a new series on upgrading.
I have followed the steps mentioned in the blog and deployed vyos 1.5 along with NSX-T 4.2.0.1, but my T0 router status is down, its states BGP and routing down, has somebody managed to deploy with the above mentioned version and get the setup working