# Networks

Infrastructure  >  Network  >  Networks

## Overview

The Networks section is for configuring networks across all clouds in HPE Morpheus Enterprise. Existing networks from Clouds added in HPE Morpheus Enterprise will auto-populate in the Networks section.

Networks can be configured for DHCP or Static IP assignment, assigned IP pools, and configured for visibility and account assignment for multi-tenancy usage. Inactive Networks are unavailable for provisioning use. In addition, HPE Morpheus Enterprise allows administrators to restrict management of HPE Morpheus Enterprise-created Networks through Role permissions.

## Configuring Networks

### DHCP

#### About this task

To configure a network for DHCP:

#### Procedure

1. Navigate to Infrastructure  >  Network  >  Networks
2. Search for the target network
3. Edit the Network by either: 

   - Select Actions  >  Edit
   - Select the Network, then select Edit
4. In the Network Config modal, set the DHCP flag as Active (default)
5. Save Changes

#### Results

IMPORTANT

The DHCP flag tells HPE Morpheus Enterprise this network has a DHCP server assigning IP Addresses to hosts. HPE Morpheus Enterprise does not act as the DHCP server, and provisioning to a network that has the DHCP server flag active in HPE Morpheus Enterprise , but no DHCP server actually on the network will in most cases cause the instance to not receive an IP address.

NOTE

When selecting a network with DHCP enabled during provisioning, “DHCP” will populate to the right of the selected network:

### Static and IP Pools

#### About this task

To configure a network for Static IP Assignment:

#### Procedure

1. Navigate to Infrastructure  >  Network  >  Networks
2. Search for the target network
3. Edit the Network by either: 

   - Select Actions  >  Edit
   - Select the Network, then select Edit
4. In the Network Config modal, add the following: 

   - Gateway
   - DNS Primary
   - DNS Secondary
   - CIDR ex 10.10.10.0/22
   - VLAN ID (if necessary)
   - Network Pool \* Leave as “choose a pool” for entering a static IP while provisioning \* Select a Pool to use a pre-configured HPE Morpheus Enterprise or IPAM Integration IP Pool
   - The Permissions settings are used for Multi-Tenant resource configuration

     - Leave settings as default if used in a single-tenant environment (only one Tenant in your HPE Morpheus Enterprise appliance)
     - To share this network across all accounts in a multi-tenant environment, select the Master Tenant and set the Visibility to Public
     - To assign this network to be used by only one account in a multi-tenant environment, select the account and set visibility to Private
   - Active

     - Leave as enabled to use this network
     - Disable the active flag to remove this network from available network options
5. Save Changes

#### Results

NOTE

When selecting a network with DHCP disabled and no IP Pool assigned during provisioning, an IP entry field will populate to the right of the selected network(s):

NOTE

When selecting a network with an IP Pool assigned during provisioning, the name of the IP pool will populate to the right of the selected network(s). IP Pools override DHCP.

### Advanced Options (Search Domains)

Search domains are appended to DNS searches when a **non** fully qualified domain name (short name) is queried. Search domains can be entered as comma separated values, which will be added to DNS configurations, such as /etc/resolv.conf. These domains are injected through cloud-init or other method chosen for the virtual image.

### Group and Tenant Access

Networks can be configured to provide specific Group and Tenant access, if desired. **Group Access** controls which Groups at provision time will have access to the Network resource. Only workloads being provisioned to the selected Groups would have visibility into the Network. Workloads provisioned to other Groups would not see the Network as an available selection. **Tenant Permissions** control which Tenants may see the Network. Public visibility allows access to the Network for users in all Tenants (subject to additional RBAC controls) while Private visibility allows access only for selected Tenants. Select all that may apply.

### Guest Console SSH Tunnel

In some scenarios, instances that are segregated from the HPE Morpheus Enterprise appliance by port restrictions, or other mechanisms, can cause difficulties to access the guest console via the HPE Morpheus Enterprise web UI. Guest Console SSH Tunnel settings allow the administrator to configure a jump host’s settings that is dual-homed, accessible by HPE Morpheus Enterprise but also resides on the segregated network. When the guest console is configured with the SSH protocol, the traffic will be routed to the jump host, which will then relay to the target instance.

GUEST CONSOLE JUMP HOST
:   DNS hostname or IP of the jump host to relay the traffic

GUEST CONSOLE JUMP PORT
:   Port override, if different than 22 for SSH

GUEST CONSOLE JUMP USERNAME
:   Username used to authenticate to the jump host

GUEST CONSOLE JUMP PASSWORD
:   Password that is used with the username to autenticate to the jump host

GUEST CONSOLE KEYPAIR
:   Keypair saved in HPE Morpheus Enterprise to be used in lieu of, or in addition to, the password to the jump host, which is associated with the configured username Keypairs can be imported at: Infrastructure > Trust > Key Pairs

### Subnets

Subnet details can be viewed from the SUBNETS tab on the detail page of a specific network. From the SUBNETS tab, Morpheus allows the user to search and edit existing subnets.

In an Azure VNet, you can also create new subnets with the +ADD button.

![../../_images/create_subnet_421.png](https://support.hpe.com/hpesc/public/api/document/sd00007621en_us/GUID-DAD09131-AC63-418D-9EE5-811611F8FB08-high.png)
