| author | stevenmatthew |
|---|---|
| ms.service | azure-databox |
| ms.topic | include |
| ms.date | 10/15/2020 |
| ms.author | shaas |
If you boot up in a non-DHCP environment, follow these steps to deploy the virtual machine for your Data Box Gateway.
-
Use the
Get-HcsIpAddresscmdlet to list the network interfaces enabled on your virtual device. If your device has a single network interface enabled, the default name assigned to this interface isEthernet.The following example shows the usage of this cmdlet:
[10.100.10.10]: PS>Get-HcsIpAddress OperationalStatus : Up Name : Ethernet UseDhcp : True IpAddress : 10.100.10.10 Gateway : 10.100.10.1 -
Use the
Set-HcsIpAddresscmdlet to configure the network. See the following example:Set-HcsIpAddress –Name Ethernet –IpAddress 10.161.22.90 –Netmask 255.255.255.0 –Gateway 10.161.22.1