Delen via


Set up logical networks in the VMM fabric

Read this article to learn how to create logical networks in System Center Virtual Machine Manager (VMM)

You have different types of networks in your organization, including corporate networks, management networks, and others. In VMM, each of these networks is defined as a logical network. Logical networks are logical objects that mirror your physicals networks.

When you create logical networks, you assign them properties that match your physical environment. You specify the type of network, the associated network sites associated, and the static address pools if you're not using DCHP to assign IP addresses to VMs you create in the network sites. You also specify whether networks are isolated physically or virtually, using network virtualization and virtual LANs (VLANs).

You use logical networks when you provision virtualization hosts in the VMM fabric. You associate physical adapters on hosts with logical networks.

VMM virtual machine (VM) networks are based on logical networks. VM networks provide an interface through which VMs connect to a logical network. A logical network can have a single or multiple VM networks mapped to it.

Before you start

Before you start, it's important to understand how logical networks work in VMM.

  • Automatic logical networks: By default, VMM creates logical networks automatically. When you provision a host in the VMM fabric and there's no VMM logical network associated with a physical network adapter on that host, VMM automatically creates a logical network and associates it with an adapter. By default, for the logical network VMM assigns the first DNS suffix label of the connection-specific DNS suffix. By default, VMM also creates a VM network configured with No isolation.

  • Manual logical networks: When you create a logical network manually, you specify:

  • Network type: You specify whether the network is isolated or not, and if it's how it's isolated. Then when you create VM networks based on the logical network, they'll be created with the type of network you specified.

    • No isolation: This is the simplest type of network model that specifies there's just a single network within which machines can connect to each other with no need to isolate these machines from each other. VM networks in VMM provide an interface through which VMs connect to a logical network, and in a no isolation model you'll have a single VM network mapped to a logical network.

    • Isolation: More often you'll want to isolate networks from each other. For example, you might want to isolate networks that have different purposes, or you might be a provider who wants to host workloads for multiple tenants on a single logical network, with isolation for each tenant. In this case, you'll have multiple VM networks mapped to a logical network. VM networks mapped to a logical network can be isolated using VLANs/private VLANs or network virtualization.

      Note

      • A typical setup might be an infrastructure network with no isolation or VLAN isolation, a load balancer backend and internet facing network with PVLAN, and tenant networks with isolation using network virtualization.
      • You can only use one type of isolation on a single logical network. If you do need this, you'll need multiple logical networks.
      • There's a practical limit of ~2000 tenants and ~4000 VM networks for a single VMM server.
  • Network sites: If your organization has different locations and datacenters, you can include information about those sites in your logical network settings. For example, you could specify a New York site with an IP subnet and/or VLAN settings and then a London site with different IP/VLAN settings. You can then assign IP addresses to VMs based on network, location, and VLAN settings.

    Note

    • You need to assign an IP subnet to a site if VMM is going to distribute static IP addresses to VMs in the site. If you're using DHCP, you don't need a subnet.
    • You need to configure a VLAN if one is used in your physical site. If you're not using VLANs and you're using DHCP, you don't need to define network sites in your logical network.

Create logical networks automatically

If you want VMM to automatically create logical networks (and VM networks), you can specify how VMM determines the logical network name.

  1. Select Settings > General. Double-click Network Settings.

  2. Configure the Logical network matching setting.

    Note

    • For Hyper-V hosts, you can use the entire DNS suffix label or the first one. For example, if the DNS suffix is corp.contoso.com the logical network will be corp-contoso.com or just corp. This isn't supported for VMware hosts.
    • For Hyper-V and VMware hosts, you can select the network connection name or the virtual network switch name (the name of the virtual network switch to which the physical adapter of the host is bound).
    • By default, VMware hosts use the virtual network switch option.
    • You can also specify a fallback option if the first logical matching fails.

If you don't want VMM to create logical and VM networks automatically, you can disable the global setting.

  1. Select Settings > General and double-click Network Settings.
  2. Clear Create logical networks automatically.

Create logical networks manually

  1. Fabric > Home > Show > Fabric Resources. In Fabric, expand Networking > Logical Networks > Home > Create > Create Logical Network.

  2. In Create Logical Network Wizard > Name, specify a name and description.

  3. Specify how you want to isolate VM networks associated with this logical network:

    • If you want to have multiple VM networks associated with the logical network and isolate them using network virtualization, select One connected network > Allow new VM networks created on this logical network to use network virtualization.
    • If you want to have multiple VM networks associated with the logical network and isolate them using a VLAN/PVLAN, select VLAN-based independent networks or Private VLAN (PVLAN) networks.
    • If you don't want to isolate networks in the logical network, select One connected network > Create a VM network with the same name to allow virtual machines to access this logical network directly. With this setting, you'll have a single VM network associated with your logical network.
    • If you've deployed a Microsoft Network Controller in the VMM fabric, you can select to have the logical network managed by the network controller.
  4. In Network Site, add network sites to the logical network. If you don't need to create network sites, select Next.

    • DHCP no VLAN: If you're using DHCP to allocate IP addresses and you don't have VLANs, you don't need a network site.

      Note

      VMM automatically suggests a site name. Any network name must not be longer than 64 characters.

    • Static IP: If you're using static IP addresses, create at least one network site and associate at least one IP subnet with it.

    • VLAN: If you're using VLANs with static IP addressing, create a corresponding network site for the VLAN and subnet pairs. If you're using DHCP, create corresponding network sites for VLAN information only.

    • Network virtualization: If you're using network virtualization, create at least one network site with an associated IP subnet so that the logical network has an IP address pool.

    • Load balancer: If the logical network will contain a load balancer, create at least one network site with an associated IP subnet.

  5. If you're using an external network managed by a vendor network management console or virtual switch extension manager outside VMM, you can configure settings in the vendor console and import them into VMM.

  6. In Host groups that can use this network site, select each host group to which you want to make the logical network available.

  7. In Associated VLANs and IP subnets, select Insert Row to specify the settings that you want to assign to the network site. If you're selecting PVLAN, you'll need to add a SecondaryVLAN for each VLAN. Ensure that the VLANs and subnets are available in your physical network. If you leave the VLAN field empty, VMM assigns a value of 0 to indicate that VLANs aren't used. In trunk mode, 0 indicates native VLAN.

  8. In Summary, review the settings and select Finish. When the job shows as Completed, verify the logical network in Logical Networks and IP Pools.

Next steps

If you created network sites and associated one or more IP subnets with them (you're not using DHCP), you can create static IP address pools from those subnets. Then VMM can automatically allocate IP addresses to VMs in the network site. Set up IP address pools.

Read this article to learn how to create logical networks in System Center Virtual Machine Manager (VMM)

Note

For information about logical networks in VMM 2019 UR1 and later, see Set up logical networks in the VMM 2019 UR1 and later fabric.

You have different types of networks in your organization, including corporate networks, management networks, and others. In VMM, each of these networks is defined as a logical network. Logical networks are logical objects that mirror your physicals networks.

When you create logical networks, you assign them properties that match your physical environment. You specify the type of network, the associated network sites associated, and the static address pools if you're not using DCHP to assign IP addresses to VMs you create in the network sites. You also specify whether networks are isolated physically or virtually, using network virtualization and virtual LANs (VLANs).

You use logical networks when you provision virtualization hosts in the VMM fabric. You associate physical adapters on hosts with logical networks.

VMM virtual machine (VM) networks are based on logical networks. VM networks provide an interface through which VMs connect to a logical network. A logical network can have a single or multiple VM networks mapped to it.

Before you start

Before you start, it's important to understand how logical networks work in VMM.

  • Automatic logical networks: By default, VMM creates logical networks automatically. When you provision a host in the VMM fabric and there's no VMM logical network associated with a physical network adapter on that host, VMM automatically creates a logical network and associates it with an adapter. By default, for the logical network VMM assigns the first DNS suffix label of the connection-specific DNS suffix. By default, VMM also creates a VM network configured with No isolation.

  • Manual logical networks: When you create a logical network manually, you specify:

  • Network type: You specify whether the network is isolated or not, and if it's how it's isolated. Then when you create VM networks based on the logical network, they'll be created with the type of network you specified.

    • No isolation: This is the simplest type of network model that specifies there's just a single network within which machines can connect to each other with no need to isolate these machines from each other. VM networks in VMM provide an interface through which VMs connect to a logical network, and in a no isolation model you'll have a single VM network mapped to a logical network.

    • Isolation: More often you'll want to isolate networks from each other. For example, you might want to isolate networks that have different purposes, or you might be a provider who wants to host workloads for multiple tenants on a single logical network, with isolation for each tenant. In this case, you'll have multiple VM networks mapped to a logical network. VM networks mapped to a logical network can be isolated using VLANs/private VLANs or network virtualization.

      Note

      • A typical setup might be an infrastructure network with no isolation or VLAN isolation, a load balancer backend and internet facing network with PVLAN, and tenant networks with isolation using network virtualization.
      • You can only use one type of isolation on a single logical network. If you do need this, you'll need multiple logical networks.
      • There's a practical limit of ~2000 tenants and ~4000 VM networks for a single VMM server.
  • Network sites: If your organization has different locations and datacenters, you can include information about those sites in your logical network settings. For example, you could specify a New York site with an IP subnet and/or VLAN settings and then a London site with different IP/VLAN settings. You can then assign IP addresses to VMs based on network, location, and VLAN settings.

    Note

    • You need to assign an IP subnet to a site if VMM is going to distribute static IP addresses to VMs in the site. If you're using DHCP, you don't need a subnet.
    • You need to configure a VLAN if one is used in your physical site. If you're not using VLANs and you're using DHCP, you don't need to define network sites in your logical network.

Create logical networks automatically

If you want VMM to automatically create logical networks (and VM networks), you can specify how VMM determines the logical network name.

  1. Select Settings > General. Double-click Network Settings.

  2. Configure the Logical network matching setting.

    Note

    • For Hyper-V hosts, you can use the entire DNS suffix label or the first one. For example, if the DNS suffix is corp.contoso.com the logical network will be corp-contoso.com or just corp. This isn't supported for VMware hosts.
    • For Hyper-V and VMware hosts, you can select the network connection name or the virtual network switch name (the name of the virtual network switch to which the physical adapter of the host is bound).
    • By default, VMware hosts use the virtual network switch option.
    • You can also specify a fallback option if the first logical matching fails.

If you don't want VMM to create logical and VM networks automatically, you can disable the global setting.

  1. Select Settings > General and double-click Network Settings.
  2. Clear Create logical networks automatically.

Create logical networks manually

  1. Fabric > Home > Show > Fabric Resources. In Fabric, expand Networking > Logical Networks > Home > Create > Create Logical Network.

  2. In Create Logical Network Wizard > Name, specify a name and description.

  3. Specify how you want to isolate VM networks associated with this logical network:

    • If you want to have multiple VM networks associated with the logical network and isolate them using network virtualization, select One connected network > Allow new VM networks created on this logical network to use network virtualization.
    • If you want to have multiple VM networks associated with the logical network and isolate them using a VLAN/PVLAN, select VLAN-based independent networks or Private VLAN (PVLAN) networks.
    • If you don't want to isolate networks in the logical network, select One connected network > Create a VM network with the same name to allow virtual machines to access this logical network directly. With this setting, you'll have a single VM network associated with your logical network.
    • If you've deployed a Microsoft Network Controller in the VMM fabric, you can select to have the logical network managed by the network controller.
  4. In Network Site, add network sites to the logical network. If you don't need to create network sites, select Next.

    • DHCP no VLAN: If you're using DHCP to allocate IP addresses and you don't have VLANs, you don't need a network site.

      Note

      VMM automatically suggests a site name. Any network name must not be longer than 64 characters.

    • Static IP: If you're using static IP addresses, create at least one network site and associate at least one IP subnet with it.

    • VLAN: If you're using VLANs with static IP addressing, create a corresponding network site for the VLAN and subnet pairs. If you're using DHCP, create corresponding network sites for VLAN information only.

    • Network virtualization: If you're using network virtualization, create at least one network site with an associated IP subnet so that the logical network has an IP address pool.

    • Load balancer: If the logical network will contain a load balancer, create at least one network site with an associated IP subnet.

  5. If you're using an external network managed by a vendor network management console or virtual switch extension manager outside VMM, you can configure settings in the vendor console and import them into VMM.

  6. In Host groups that can use this network site, select each host group to which you want to make the logical network available.

  7. In Associated VLANs and IP subnets, select Insert Row to specify the settings that you want to assign to the network site. If you're selecting PVLAN, you'll need to add a SecondaryVLAN for each VLAN. Ensure that the VLANs and subnets are available in your physical network. If you leave the VLAN field empty, VMM assigns a value of 0 to indicate that VLANs aren't used. In trunk mode, 0 indicates native VLAN.

  8. In Summary, review the settings and select Finish. When the job shows as Completed, verify the logical network in Logical Networks and IP Pools.

Next steps

If you created network sites and associated one or more IP subnets with them (you're not using DHCP), you can create static IP address pools from those subnets. Then VMM can automatically allocate IP addresses to VMs in the network site. Set up IP address pools.

This article describes how to create logical networks in System Center Virtual Machine Manager (VMM). VMM offers a simplified flow of logical network creation. It supports network types and illustrations in the product based on use cases.

You have different types of networks in your organization, such as corporate networks and management networks. In VMM, each of these networks is defined as a logical network. Logical networks are logical objects that mirror your physical networks.

When you create logical networks, you assign them properties that match your physical environment. You specify the type of logical network and the associated network sites. You specify static address pools if you don't use DHCP to assign IP addresses to VMs that you create in the network site. You also specify whether networks are isolated physically or virtually by using network virtualization and virtual LANs (VLANs).

You use logical networks when you provision virtualization hosts in the VMM fabric. You associate physical adapters on hosts with logical networks.

VMM virtual machine (VM) networks are based on logical networks. VM networks provide an interface through which VMs connect to a logical network. A logical network can have a single VM network or multiple VM networks mapped to it.

Before you start

Before you start, it's important to understand how logical networks work in VMM.

  • Automatic logical networks: By default, VMM creates logical networks automatically. When you provision a host in the VMM fabric and there's no VMM logical network associated with a physical network adapter on that host, VMM automatically creates a logical network and associates it with an adapter. By default, for the logical network, VMM assigns the first DNS suffix label of the connection-specific DNS suffix. By default, VMM also creates a connected VM network.

  • Manual logical networks: When you create a logical network manually, you specify:

    • Network type: Specify whether the network is a connected network or an independent network and the type of connected network. Then when you create VM networks based on the logical network, they're created with the type of network you specified.

      • Connected network: The VLAN and subnet pairs of the underlying physical networks are logically equivalent. A single VM network is created on top of this logical network, and this VM network provides access to all the underlying VLAN-subnet pairs. This network type was earlier known as One Connected Network.

        Illustration of Connected network.

        Example scenario: Enterprise Contoso needs a network to host their DevTest workloads. This network might have multiple VLANs or subnets. Contoso creates a logical network of the type Connected network. VMM is responsible for assigning the VLAN or subnet to the VMs based on the host group on which the VM is placed.

      • Independent network: Multiple VM networks can be created on top of this logical network. Each VM network created provides access to a specific VLAN-subnet pair. The VM networks are independent of each other.

        Illustration of an Independent network.

        There are two types of independent networks:

        • VLAN-based independent networks
        • PVLAN-based independent networks

        Example scenario: Woodgrove IT is a host. Woodgrove IT has Contoso and Fabrikam as its tenants. Both Contoso and Fabrikam need a DevTest network. Contoso's network must be isolated from that of Fabrikam. All VMs of Contoso must be connected to the Contoso-DevTest VM network. The VMs of Fabrikam must be connected to the Fabrikam-DevTest VM network.

        Woodgrove IT creates a logical network of the Independent network type and names it DevTest. This logical network has two VLAN-subnet pairs. Two VM networks are created on top of this logical network, and each VM network gets access to a specific VLAN-subnet. One VM network is named Contoso-DevTest and is provided for Contoso's use. The other VM network is named Fabrikam-DevTest and is provided for Fabrikam's use.

  • Virtualized network: This is the fabric network. Multiple virtualized VM networks can be created on top of this logical network. Each VM network has its own virtualized address space.

    Illustration of a Virtualized network.

    Note

    • A typical setup might be an infrastructure network with no isolation or VLAN isolation, a load balancer back end and internet-facing network with PVLAN, and tenant networks with isolation using network virtualization.
    • You can use only one type of isolation on a single logical network. If you do need isolation, you need multiple logical networks.
    • There's a practical limit of approximately 2,000 tenants and approximately 4,000 VM networks for a single VMM server.
  • Network sites: If your organization has different locations and datacenters, you can include information about those sites in your logical network settings. For example, you can specify a New York site with an IP subnet and VLAN settings. You can specify a London site with different IP or VLAN settings. You can then assign an IP address to VMs based on network, location, and VLAN settings.

    Note

    • Assign an IP subnet to a site if VMM is going to distribute static IP addresses to VMs in the site. If you use DHCP, you don't need a subnet.
    • Configure a VLAN if one is used in your physical site. If you don't use VLANs and you use DHCP, you don't need to define network sites in your logical network.

Create logical networks automatically

If you want VMM to automatically create logical networks (and VM networks), you can specify how VMM determines the logical network name.

  1. Select Settings > General. Double-click Network Settings.

  2. Configure the Logical network matching setting.

    Note

    • For Hyper-V hosts, you can use the entire DNS suffix label or the first one. For example, if the DNS suffix is corp.contoso.com, the logical network is corp-contoso.com or just corp. This capability isn't supported for VMware hosts.
    • For Hyper-V and VMware hosts, you can select the network connection name or the virtual network switch name. The switch name is the name of the virtual network switch to which the physical adapter of the host is bound.
    • By default, VMware hosts use the virtual network switch option.
    • You can also specify a fallback option if the first logical matching fails.

If you don't want VMM to create logical and VM networks automatically, you can disable the global setting.

  1. Select Settings > General. Double-click Network Settings.
  2. Clear Create logical networks automatically.

Create logical networks manually

  1. In VMM console, go to Fabric > Home > Show > Fabric Resources. In Fabric, expand Networking > Logical Networks > Home > Create > Create Logical Network.

  2. In the Create Logical Network Wizard, select Name, and specify a name and description.

  3. Specify how you want to isolate VM networks associated with this logical network.

    Screenshot of Create logical networks manually.

    To simplify logical network creation, descriptions and illustrations of the logical network types are available in VMM. Each type of logical network has an in-product description and an illustration that describes the use case.

    • If you want to create a single VM network that has access to all the underlying VLAN-subnet pairs, choose Connected network. Here, the VLAN and IP subnet pairs of the underlying physical network are logically equivalent.
      • To allow Microsoft Network Controller to manage the logical network, choose Managed by Microsoft Network controller.
      • If the logical network provides public IP addresses, choose IP address network.
    • To create multiple VM networks that are independent of each other, choose Independent Network. Each VM network will have access to a specific VLAN subnet pair or a PVLAN subnet pair.
    • To create a multiple virtualized VM network that has its own virtualized address space, choose Virtualized network.
  4. In Network Site, add network sites to the logical network. If you don't need to create network sites, select Next.

    IP pools can be created when you add network sites in the Create Logical Network Wizard.

    • DHCP no VLAN: If you use DHCP to allocate IP addresses and you don't have VLANs, you don't need a network site.

      Note

      VMM automatically suggests a site name. A network name is limited to a length of 64 characters.

    • Static IP: If you use static IP addresses, create at least one network site and associate at least one IP subnet with it.

    • VLAN: If you use VLANs with static IP addressing, create corresponding network sites for the VLAN and subnet pairs. If you use DHCP, create corresponding network sites for VLAN information only.

    • Network virtualization: If you use network virtualization, create at least one network site with an associated IP subnet so that the logical network has an IP address pool.

    • Load balancer: If the logical network will contain a load balancer, create at least one network site with an associated IP subnet.

  5. If you use an external network managed by a vendor network management console or virtual switch extension manager outside VMM, you can configure settings in the vendor console and import them into VMM.

  6. In Host groups that can use this network site, select each host group to which you want to make the logical network available.

  7. In Associated VLANs and IP subnets, select Insert Row to specify the settings that you want to assign to the network site. If you select PVLAN, you need to add a Secondary VLAN for each VLAN. Ensure that the VLANs and subnets are available in your physical network. If you leave the VLAN field empty, VMM assigns a value of 0 to indicate that VLANs aren't used. In trunk mode, 0 indicates a native VLAN.

  8. If you created network sites and associated one or more IP subnets with them (when you're not using DHCP), you can create static IP address pools from those subnets. Then VMM can automatically allocate IP addresses to VMs in the network site. IP pools can be created within the Create Logical Network Wizard.

To set up an IP address pool on a logical network, follow these steps.

Next steps

This article describes how to create logical networks in System Center Virtual Machine Manager (VMM). VMM offers a simplified flow of logical network creation. It supports network types and illustrations in the product based on use cases.

You have different types of networks in your organization, such as corporate networks and management networks. In VMM, each of these networks is defined as a logical network. Logical networks are logical objects that mirror your physical networks.

When you create logical networks, you assign them properties that match your physical environment. You specify the type of logical network and the associated network sites. You specify static address pools if you don't use DHCP to assign IP addresses to VMs that you create in the network site. You also specify whether networks are isolated physically or virtually by using network virtualization and virtual LANs (VLANs).

You use logical networks when you provision virtualization hosts in the VMM fabric. You associate physical adapters on hosts with logical networks.

VMM virtual machine (VM) networks are based on logical networks. VM networks provide an interface through which VMs connect to a logical network. A logical network can have a single VM network or multiple VM networks mapped to it.

Before you start

Before you start, it's important to understand how logical networks work in VMM.

  • Automatic logical networks: By default, VMM creates logical networks automatically. When you provision a host in the VMM fabric and there's no VMM logical network associated with a physical network adapter on that host, VMM automatically creates a logical network and associates it with an adapter. By default, for the logical network, VMM assigns the first DNS suffix label of the connection-specific DNS suffix. By default, VMM also creates a connected VM network.

  • Manual logical networks: When you create a logical network manually, you specify:

    • Network type: Specify whether the network is a connected network or an independent network and the type of connected network. Then when you create VM networks based on the logical network, they're created with the type of network you specified.

      • Connected network: The VLAN and subnet pairs of the underlying physical networks are logically equivalent. A single VM network is created on top of this logical network, and this VM network provides access to all the underlying VLAN-subnet pairs. This network type was earlier known as One Connected Network.

        Illustration of Connected network.

        Example scenario: Enterprise Contoso needs a network to host their DevTest workloads. This network might have multiple VLANs or subnets. Contoso creates a logical network of the type Connected network. VMM is responsible for assigning the VLAN or subnet to the VMs based on the host group on which the VM is placed.

      • Independent network: Multiple VM networks can be created on top of this logical network. Each VM network created provides access to a specific VLAN-subnet pair. The VM networks are independent of each other.

        Illustration of an Independent network.

        There are two types of independent networks:

        • VLAN-based independent networks
        • PVLAN-based independent networks

        Example scenario: Woodgrove IT is a host. Woodgrove IT has Contoso and Fabrikam as its tenants. Both Contoso and Fabrikam need a DevTest network. Contoso's network must be isolated from that of Fabrikam. All VMs of Contoso must be connected to the Contoso-DevTest VM network. The VMs of Fabrikam must be connected to the Fabrikam-DevTest VM network.

        Woodgrove IT creates a logical network of the Independent network type and names it DevTest. This logical network has two VLAN-subnet pairs. Two VM networks are created on top of this logical network, and each VM network gets access to a specific VLAN-subnet. One VM network is named Contoso-DevTest and is provided for Contoso's use. The other VM network is named Fabrikam-DevTest and is provided for Fabrikam's use.

  • Virtualized network: This is the fabric network. Multiple virtualized VM networks can be created on top of this logical network. Each VM network has its own virtualized address space.

    Illustration of a Virtualized network.

    Note

    • A typical setup might be an infrastructure network with no isolation or VLAN isolation, a load balancer back end and internet-facing network with PVLAN, and tenant networks with isolation using network virtualization.
    • You can use only one type of isolation on a single logical network. If you do need isolation, you need multiple logical networks.
    • There's a practical limit of approximately 2,000 tenants and approximately 4,000 VM networks for a single VMM server.
  • Network sites: If your organization has different locations and datacenters, you can include information about those sites in your logical network settings. For example, you can specify a New York site with an IP subnet and VLAN settings. You can specify a London site with different IP or VLAN settings. You can then assign an IP address to VMs based on network, location, and VLAN settings.

    Note

    • Assign an IP subnet to a site if VMM is going to distribute static IP addresses to VMs in the site. If you use DHCP, you don't need a subnet.
    • Configure a VLAN if one is used in your physical site. If you don't use VLANs and you use DHCP, you don't need to define network sites in your logical network.

Create logical networks automatically

If you want VMM to automatically create logical networks (and VM networks), you can specify how VMM determines the logical network name.

  1. Select Settings > General. Double-click Network Settings.

  2. Configure the Logical network matching setting.

    Note

    • For Hyper-V hosts, you can use the entire DNS suffix label or the first one. For example, if the DNS suffix is corp.contoso.com, the logical network is corp-contoso.com or just corp. This capability isn't supported for VMware hosts.
    • For Hyper-V and VMware hosts, you can select the network connection name or the virtual network switch name. The switch name is the name of the virtual network switch to which the physical adapter of the host is bound.
    • By default, VMware hosts use the virtual network switch option.
    • You can also specify a fallback option if the first logical matching fails.

If you don't want VMM to create logical and VM networks automatically, you can disable the global setting.

  1. Select Settings > General. Double-click Network Settings.
  2. Clear Create logical networks automatically.

Create logical networks manually

  1. In VMM console, go to Fabric > Home > Show > Fabric Resources. In Fabric, expand Networking > Logical Networks > Home > Create > Create Logical Network.

  2. In the Create Logical Network Wizard, select Name, and specify a name and description.

  3. Specify how you want to isolate VM networks associated with this logical network.

    Screenshot of Create logical networks manually.

    To simplify logical network creation, descriptions and illustrations of the logical network types are available in VMM. Each type of logical network has an in-product description and an illustration that describes the use case.

    • If you want to create a single VM network that has access to all the underlying VLAN-subnet pairs, choose Connected network. Here, the VLAN and IP subnet pairs of the underlying physical network are logically equivalent.
      • To allow Microsoft Network Controller to manage the logical network, choose Managed by Microsoft Network controller.
      • If the logical network provides public IP addresses, choose IP address network.
    • To create multiple VM networks that are independent of each other, choose Independent Network. Each VM network will have access to a specific VLAN subnet pair or a PVLAN subnet pair.
    • To create a multiple virtualized VM network that has its own virtualized address space, choose Virtualized network.
  4. In Network Site, add network sites to the logical network. If you don't need to create network sites, select Next.

    IP pools can be created when you add network sites in the Create Logical Network Wizard.

    • DHCP no VLAN: If you use DHCP to allocate IP addresses and you don't have VLANs, you don't need a network site.

      Note

      VMM automatically suggests a site name. A network name is limited to a length of 64 characters.

    • Static IP: If you use static IP addresses, create at least one network site and associate at least one IP subnet with it.

    • VLAN: If you use VLANs with static IP addressing, create corresponding network sites for the VLAN and subnet pairs. If you use DHCP, create corresponding network sites for VLAN information only.

    • Network virtualization: If you use network virtualization, create at least one network site with an associated IP subnet so that the logical network has an IP address pool.

    • Load balancer: If the logical network will contain a load balancer, create at least one network site with an associated IP subnet.

  5. If you use an external network managed by a vendor network management console or virtual switch extension manager outside VMM, you can configure settings in the vendor console and import them into VMM.

  6. In Host groups that can use this network site, select each host group to which you want to make the logical network available.

  7. In Associated VLANs and IP subnets, select Insert Row to specify the settings that you want to assign to the network site. If you select PVLAN, you need to add a Secondary VLAN for each VLAN. Ensure that the VLANs and subnets are available in your physical network. If you leave the VLAN field empty, VMM assigns a value of 0 to indicate that VLANs aren't used. In trunk mode, 0 indicates a native VLAN.

  8. If you created network sites and associated one or more IP subnets with them (when you're not using DHCP), you can create static IP address pools from those subnets. Then VMM can automatically allocate IP addresses to VMs in the network site. IP pools can be created within the Create Logical Network Wizard.

To set up an IP address pool on a logical network, follow these steps.

Next steps