Network Configuration 
DGX-2 System User Guide
   37 
 
 
1 
2 
3 
2.  Edit the network configuration yaml file. 
$ sudo vi /etc/netplan/01-netcfg.yaml 
 
network: 
 version: 2 
 renderer: networkd 
 ethernets: 
 <port-designation>: 
 dhcp4: no 
 dhcp6: no 
 addresses: 10.10.10.2/24 
 gateway4: 10.10.10.1 
 nameservers: 
 search: [<mydomain>, <other-domain>] 
 addresses: [10.10.10.1, 1.1.1.1] 
 
Consult your network administrator for the appropriate information for the items in 
bold, such as network, gateway, and nameserver addresses, and use the port 
designations that you determined in step 1. 
3.  When finished with your edits, press ESC to switch to command mode, then save 
the file to the disk and exit the editor. 
4.  Apply the changes. 
 
$ sudo netplan apply