Installing and Administering Internet Services

38 Chapter2
Installing and Configuring Internet Services
Configuring Internet Addresses
/etc/hosts file on the NIS master server, and issue the following
commands to regenerate the hosts database and push it out to the
NIS slave servers:
cd var/yp
/usr/ccs/bin/make hosts
If the host is on a network that uses NIS+, use the nistbladm (1)
command to change the host’s IP address in the NIS+ hosts table.
4. If the host is moving to a different subnet, change the
ROUTE_DESTINATION, ROUTE_GATEWAY, and BROADCAST_ADDRESS[
n
]
variables in /etc/rc.config.d/netconf.
If the host is moving to a network that uses a different subnet mask,
change the SUBNET_MASK[
n
] variable in
/etc/rc.config.d/netconf.
5. If the host is moving to a different network, you may have to
configure new routes for it. See “To Configure Routes” on page 36.
6. If the host is on a network that uses gated, change its IP address on
all the gated routers. See “Configuring gated” on page 319.
7. If the host is a BOOTP client, change its IP address in the
/etc/bootptab file on the BOOTP server. If the host is a BOOTP
server, and a BOOTP relay agent is configured to relay boot requests
to the host, change the host’s IP address in the /etc/bootptab file on
the BOOTP relay agent. See “Configuring TFTP and BOOTP Servers”
on page 217.
8. If the host is an NTP server, change its IP address in the
/etc/ntp.conf file on NTP clients. If the host is an NTP client and is
moving to another network, you might have to configure a different
NTP server in its /etc/ntp.conf file. See “Configuring the Network
Time Protocol (NTP)” on page 281.
9. Reboot the host.