VNA Master™ User Guide Model MS20xxC Vector Network Analyzer with Spectrum Analyzer : More About DHCP : Using DHCP
 
Using DHCP
When using DHCP, no setup is required to lease and use a dynamic IP address. In a dynamic IP operation, the assigned IP address may change from use to use. The DHCP server assigns IP addresses on a time rotation basis. As soon as the device is disconnected from the network, the IP address that it was using becomes available to lease to the next unit requesting an IP address. Normally, some amount of lag time occurs on the DHCP server end, so if the device is connected again reasonably soon, it may receive the same address.
Note 
The VNA Master must be connected to the network before it is turned on in order to allow DHCP to work. Key elements of the DHCP lease are performed only during the instrument startup operations or when switching from manual to DHCP.
Static IP Address
When a DHCP server is not available, a Static IP address can be used. A Static IP address is a fixed address. After being set, it will always remain the same, and care must be taken to avoid conflict with other equipment on the network.
When using a static IP address on an established network, always request a Static IP address from the network administrator. Randomly choosing a Static IP address on an established network may result in duplicate IP addresses or other conflicts.
Three parameters must be set prior to using a Static IP address:
IP Address
This is the Static IP address on the network.
Default Gateway
Often when a static IP address is assigned, a default gateway is also identified. If the default gateway is unknown, then type in the Static IP address so that the Static IP address and Default Gateway are the same number.
Subnet Mask
This parameter is usually extracted from the Static IP address based upon the class of the address. It determines the destination of any broadcast messages that might be sent from the instrument. It can be customized if necessary. The subnet mask may also be provided with the Static IP address.
Example 1
In this example, a Static IP address has been chosen because no network is available. The instrument is connected to the network port on the PC with a crossover Ethernet cable (not included). This is also referred to as Direct Connect:
IP Address: 10.0.0.2
Default Gateway: 10.0.0.2
Subnet Mask: 255.255.0.0
Example 2
In this example, the Static IP address has been assigned with an associated gateway and subnet mask:
IP Address: 153.56.100.42
Default Gateway: 153.56.100.1
Subnet Mask: 255.255.252.0
Operating System Tools
A few tools that are built into the Microsoft Windows operating system can assist in making some determinations about the network that the PC is plugged into.
Ipconfig Tool
Typing ipconfig at a command prompt will display information about the in-use parameters of the PC and its network connection. Below is an example of the typical results expected.
Note 
The ipconfig display does not report if the information is from a DHCP server or a Static IP setup
Y:\>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : us.anritsu.com
Link-Local IPv6 Address . . . . : fe80::2980::797d::3383::360d%11
IPv4 Address . . . . . . . . . . : 172.26.202.162
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 172.26.200.1
Ping Tool
Another tool that can find out if a selected IP address is already on the network is ping. Ping is a harmless way to determine if an address is found on the network and, if it is found, for it to reply. Greatly simplified, ping sends out a request to a specific address to determine if it is there. If the specific address is found, then it will respond by sending back the same message that was received. If it is not found, then the response will be “request timed out.” This means that no reply was received from that IP address.
Y:\>ping 172.26.202.172
Pinging 172.26.202.172 with 32 bytes of data:
Reply from 172.26.202.172: bytes=32 time<10ms TTL=128
Reply from 172.26.202.172: bytes=32 time<10ms TTL=128
Reply from 172.26.202.172: bytes=32 time<10ms TTL=128
Reply from 172.26.202.172: bytes=32 time<10ms TTL=128
Ping statistics for 172.26.202.172:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milliseconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms