On the ESG/PSG, press Utility >GPIB/RS-232/LAN > LAN Setup. The hostname is listed at the top of the softkey menu.

On the N5162A MXG ATE and N5182A MXG: press Utility > I/O Config > LAN Setup.

For the MXG ATE, use the web interface.