Chapter 12: Network Management 117
The Net Command
Change an Interface Transfer Unit Size
To change the maximum transfer unit size for an Ethernet interface, use the net config
interface mtu
operation. Supported values are from 256 to 9180. For 100 Base-T networks,
1500 is standard. For gigabit networks, 9180 is standard. The default is 1500. The
default
option returns the setting to the default value. Administrative users only.
net config interface mtu {size | default}
For example, to set a maximum transfer unit size of 9180 for the interface eth2:
# net config eth2 mtu 9180
Add or Change DNS servers
To add or change DNS servers for the restorer to use in resolving addresses, use the net set
dns ipaddr
operation to give DNS server IP addresses. The operation writes over the current list
of DNS servers. Only the servers given in the latest command are available to a restorer. The list
can be comma-separated, space-separated, or both. Changes take effect only after a system reboot.
Administrative users only.
Note To activate a DNS change, the restorer must be rebooted.
net set dns ipaddr1[,ipaddr2[,ipaddr3]]
For example, to allow a restorer to use a DNS server with an IP address of 123.234.78.92:
# net set dns 123.234.78.92
To check the operation, use the net ping host-name command.
Ping a Host
To check that a restorer can communicate with a remote host, use the net ping operation with a
hostname or IP address.
net ping hostname [broadcast] [count n] [interface ifname]
broadcast Allows pinging a broadcast address.
count Gives the number of pings to issue.
interface Gives the interface to use: eth0 through eth3.
For example, to check that communication is possible with the host srvr24:
# net ping srvr24