Ethernet Port Position <port-designation>
Edit the network configuration yaml file.
2.
$ 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.
When finished with your edits, press ESC to switch to command mode, then save
3.
the file to the disk and exit the editor.
Apply the changes.
4.
$ sudo netplan apply
DGX-2 System User Guide
enp134s0f0
1
enp134s0f1
2
enp6s0
3
Network Configuration
37
Need help?
Do you have a question about the DGX-2 SYSTEM and is the answer not in the manual?
Questions and answers