author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
alkohli |
databox |
include |
10/15/2020 |
alkohli |
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-HcsIpAddress
cmdlet 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-HcsIpAddress
cmdlet 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