Virtual TapeServer 6.04.04 for NonStop Servers Quick Start Guide
18 | Virtual TapeServer Quick Start Guide
C. To configure eth0 to use a static IP address, enter the following:
netconfig -f eth0 -m static -i ip_address -n netmask -g gateway
where ip_address is the management network interface address, netmask is the management
network interface netmask, and gateway is the IP address for the gateway.
You can skip this step if you plan to use DHCP.
D. Set the list of DNS servers, domain, and hostname:
1. To set the list of DNS servers, enter the following:
netconfig -d ip_address,ip_address,...
where ip_address is the IP address of a DNS server. You can specify up to three
addresses.
2. To set the domain to search for DNS servers, enter the following:
netconfig -o domain_name
3. To set the hostname of the server, enter the following:
netconfig -s hostname
where hostname is the fully qualified domain name.
4. To verify the configuration, enter the following:
netconfig
5. Verify that the hostname was added to /etc/hosts.
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
IPaddress hostname.domain_name hostname
E. Disconnect the serial cable, Ethernet cable attached to port 2, or the keyboard and monitor
from the server. If you want to use port 2 for Instant DR or AutoCopy traffic, be sure to plug
the Ethernet cable into the LAN or WAN switch. (Perform this step after the next procedure
if you need to configure network settings for eth1.)
To configure network settings for eth1
Note
If you want the default route to use the subnet connected to eth0, and eth0 is set to
DHCP, do not assign a gateway on eth1. If eth0 is set to a static IP address, assign a
gateway on eth0 only.
To set the IP, netmask, and gateway addresses, enter the following:
netconfig -f eth1 -m static -i ip_address -n netmask -g gateway
where ip_address is the management network interface address, netmask is the management
network interface netmask, and gateway is the IP address for the gateway.
Or, to configure eth1 to use DHCP, enter the following:
netconfig -f eth1 -m dhcp
If you are using an Ethernet connection to configure eth1 network settings, the connection is lost
at this point. Connect eth1 to a LAN switch. If you are using a serial cable or a console, you can
verify the configuration by entering the following:
netconfig