I am a newbie to VMware NSX. Started learning and went through many videos of NSX VxLAN, but still not able to understand the mapping of VLAN with VxLAN.
VLAN > 12 bits > 4096 addresses
VxLAN > 24 bits > 16 M addresses
Taking an E.g.:
(1) 2 Clusters
> Cluster 1 - Edge & Management: Running NSX Manager, NSX Controllers,vCenter Server(vCSA), Distributed Router VM, NSX Edge VM
ESX_1
ESX_2
> Cluster 2 - Compute_1: Running VM_App, VM_Web, VM_DB
ESX_3
ESX_4
(2) 4 Logical Switches
> LS_App having VNI 5001
Running VM_App
> LS_Web having VNI 5002
Running VM_Web
> LS_DB having VNI 5003
Running VM_DB
> LS_Transit having VNI 5004
> This will create 4 dvPortGroups on dvSwitch
(3) For 3 VMs I want to give IP as below so that I can access it from Outside (Not Internet, but within Company domain, by RDP)
VM_App <> assign IP as 10.10.10.1 (from VLAN10 which is configured on Physical switch to which uplink is connected)
VM_Web <> assign IP as 10.10.20.1 (from VLAN20 which is configured on Physical switch to which uplink is connected)
VM_DB <> assign IP as 10.10.30.1 (from VLAN30 which is configured on Physical switch to which uplink is connected)
Obviously communication between these VMs will be through DLR
Question 1:
When we prepare host for VxLAN by selecting "configure" option, do we need to enter any VLAN ID, say suppose we want to use above IPs or leave it blank ?
Question 2: (With relation to above question 1)
If we were to use Private IP address, then its ok, as then VMs will be accessed from console.
But I am not getting the point that how VLAN/VXLAN will be configured if we were to use IPs from those above listed VLANs (i.e. any IPs that can be RDP, or ssh etc). And if VLAN <> VXLAN is 1:1 then what's the importance of VXLAN with 16 M addresses.
Question 3:
Here if VNI to VLAN mapping is 1:1, i.e. 5001 <> VLAN10, 5002 <> VLAN20 and so on, then still the maximum VNI that can be used is 4096 in total only which is equal to total VLAN ID 4096. I did not get this point
Thanks,