Dell S3048-ON EMC Solutions for Microsoft Azure Stack HCI Networking Guide - Page 49

Get-NetIPAddress, Get-NetRoute, Get-DnsClientServerAddress, View VLAN IDs

Page 49 highlights

10.3 Get-NetIPAddress Use the Get-NetIPAddress cmdlet to view IP addresses configured on the node. The output that follows is from Ready Node 1. PS> Get-NetIPAddress -AddressFamily IPv4 | Select InterfaceAlias, IPAddress InterfaceAlias IPAddress --------- vEthernet (Management) 172.16.11.1 SLOT 2 Port 1 172.16.13.1 SLOT 2 Port 2 172.16.14.1 Loopback Pseudo-Interface 1 127.0.0.1 10.4 Get-NetRoute The Get-NetRoute cmdlet is used to verify the default gateway configured on the Ready Node. The default gateway is configured in Section 9.3. PS> Get-NetRoute -AddressFamily IPv4 | Select InterfaceAlias, NextHop InterfaceAlias vEthernet (Management) NextHop ------172.16.11.254 10.5 Get-DnsClientServerAddress Use the Get-DnsClientServerAddress cmdlet to view the DNS server address used by the Ready Node. The DNS server IP address is configured in Section 9.3. PS> Get-DnsClientServerAddress -InterfaceAlias 'vEthernet (Management)' InterfaceAlias vEthernet (Management) vEthernet (Management) Interface Address ServerAddresses Index Family 23 IPv4 {172.16.11.5} 23 IPv6 {} 10.6 View VLAN IDs VLAN IDs configured on physical NICs can be viewed with the Get-NetAdapterAdvancedProperty cmdlet. VLANs are configured for storage in Section 9.4.1. PS> Get-NetAdapterAdvancedProperty -RegistryKeyword VlanID Name ---NIC1 NIC2 NIC4 NIC3 SLOT 2 Port 2 SLOT 2 Port 1 DisplayName ----------VLAN ID VLAN ID VLAN ID VLAN ID VLAN ID VLAN ID DisplayValue -----------0 0 0 0 1614 1613 RegistryKeyword RegistryValue VlanId {0} VlanId {0} VlanId {0} VlanId {0} VlanID {1614} VlanID {1613} 49 Dell EMC Solutions for Microsoft Azure Stack HCI Networking Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63

49
Dell EMC Solutions for Microsoft Azure Stack HCI Networking Guide
10.3
Get-NetIPAddress
Use the
Get-NetIPAddress
cmdlet to view IP addresses configured on the node. The output that follows is
from Ready Node 1.
PS>
Get-NetIPAddress -AddressFamily IPv4 | Select InterfaceAlias, IPAddress
InterfaceAlias
IPAddress
--------------
---------
vEthernet (Management)
172.16.11.1
SLOT 2 Port 1
172.16.13.1
SLOT 2 Port 2
172.16.14.1
Loopback Pseudo-Interface 1 127.0.0.1
10.4
Get-NetRoute
The
Get-NetRoute
cmdlet is used to verify the default gateway configured on the Ready Node. The default
gateway is configured in Section 9.3.
PS>
Get-NetRoute -AddressFamily IPv4 | Select InterfaceAlias, NextHop
InterfaceAlias
NextHop
--------------
-------
vEthernet (Management)
172.16.11.254
10.5
Get-DnsClientServerAddress
Use the
Get-DnsClientServerAddress
cmdlet to view the DNS server address used by the Ready Node.
The DNS server IP address is configured in Section 9.3.
PS>
Get-DnsClientServerAddress -
InterfaceAlias ‘vEthernet (Management)’
InterfaceAlias
Interface Address ServerAddresses
Index
Family
--------------
--------- ------- ---------------
vEthernet (Management)
23 IPv4
{172.16.11.5}
vEthernet (Management)
23 IPv6
{}
10.6
View VLAN IDs
VLAN IDs configured on physical NICs can be viewed with the
Get-NetAdapterAdvancedProperty
cmdlet. VLANs are configured for storage in Section 9.4.1.
PS>
Get-NetAdapterAdvancedProperty -RegistryKeyword VlanID
Name
DisplayName
DisplayValue
RegistryKeyword RegistryValue
----
-----------
------------
--------------- -------------
NIC1
VLAN ID
0
VlanId
{0}
NIC2
VLAN ID
0
VlanId
{0}
NIC4
VLAN ID
0
VlanId
{0}
NIC3
VLAN ID
0
VlanId
{0}
SLOT 2 Port 2
VLAN ID
1614
VlanID
{1614}
SLOT 2 Port 1
VLAN ID
1613
VlanID
{1613}