With NSX Data Center for vSphere networking, you can create a flat, VLAN-based, port group-based, or VXLAN-based provider network.
Prerequisites
- If you want to create a VLAN-based network, define a VLAN for the provider network and record its ID.
- To use DHCP on a VLAN-based network with VM form-factor NSX Edge nodes, you must enable forged transmit and promiscuous mode on the port group containing the edge nodes. For instructions, see Configure the Security Policy for a Distributed Port Group or Distributed Port.
- If you want to create a port group-based network, create a port group for the provider network and record its managed object identifier (MOID).
Procedure
- Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
- Select the admin project from the drop-down menu in the title bar.
- Select .
- Click Create Network and configure the provider network.
Option Description Name Enter a name for the network.
Project Select the desired project from the drop-down menu.
Provider Network Type Select Flat, VLAN, Port Group, or VXLAN from the drop-down menu.
Physical Network - If you selected Flat or VLAN for the network type, enter the MOID of the distributed switch for the provider network.
- If you selected Port Group for the network type, enter the MOID of the port group for the provider network.
- If you selected VXLAN for the network type, this value is determined automatically.
Segmentation ID If you selected VLAN for the network type, enter the VLAN ID defined for the provider network.
- Select Enable Admin State and Create Subnet.
- If you want multiple projects to use the provider network, select Shared.
- Click Next and configure the subnet.
Option Description Subnet Name Enter a name for the subnet.
Network Address Enter the IP address range for the subnet in CIDR format (for example, 192.0.2.0/24).
IP Version Select IPv4 or IPv6.
Gateway IP Enter the gateway IP address. If you do not enter a value, the first IP address in the subnet is used. If you do not want a gateway on the subnet, select Disable Gateway.
- (Optional) Configure additional settings for the subnet.
- Under Allocation Pools, enter IP address pools from which to allocate the IP addresses of virtual machines created on the network. Enter pools as two IP addresses separated by a comma (for example, 192.0.2.10,192.0.2.15). If you do not specify any IP address pools, the entire subnet is available for allocation.
- Under DNS Name Servers, enter the IP address of one or more DNS servers to use on the subnet.
- Under Host Routes, enter additional routes to advertise to the hosts on the subnet. Enter routes as the destination IP address in CIDR format and the next hop separated by a comma (for example, 192.0.2.0/24,192.51.100.1).
- Click Create.