Note: this document assumes you are migrating from a class B network setup with a 16-bit network mask (255.255.0.0) to a class C network with a 24-bit network mask (255.255.255.0). Our usual setup with a 24-bit network mask is a network with a base address of 128.192.subnet.0 and a gateway of 128.192.subnet.1. In some cases (such as a building with very few clients) we may assign a network with different parameters. In such a case, substitute the network parameters the NOC gives you for the netmask, base address and gateway when making your changes.
/etc/config/ifconfig-1.options that
contains the line:netmask
255.255.255.0(This assumes that you have one network device. Details may
vary. Check /etc/init.d/network for more details.
/etc/init.d/network.local to change your
default gateway from 128.192.1.1 to 128.192.subnet.1 in two
places (where subnet is the third number in your machine's
IP address):
case "$1" in
'start')
#Default route
/usr/etc/route add default 128.192.subnet.1 1
lines omitted...
'stop')
/usr/etc/route delete net default 128.192.subnet.1
server time1.uga.edu
server time2.uga.edu
fudge 127.127.1.0 stratum 100
If this file exists and contains any lines refering to
"broadcastclient" delete them or comment them out. Changing the
stratum for localhost to 100 means the local hardware clock will
only be used as a backup./etc/netmasks make sure you have the
following:128.192.subnet.0 255.255.255.0
/etc/defaultrouter make sure the following is
present:where subnet is the third number in your machine's IP address.
/etc/inet/ntp.conf include the following:If this file exists and contains any lines referring to "broadcastclient" delete them or comment them out. Note: changing the stratum for localhost to 100 means the local hardware clock will only be used as a backup.
Do "netstat -rn" and check the "default" line. It should look like "default 128.192.subnet.1".
If you don't see the desired results, you may as well reboot the box. This will force the new parameters to take effect.
Note: in the worst case, you can use the "sys-unconfig" command. This will tell your box to forget who it is and to shut down. When you boot it back up, it'll ask "who am I?", "what's my IP address?", etc., similarly to an initial install.
/etc/ntp.conf to include the
following:If this file exists and contains any lines referring to "broadcastclient" delete them or comment them out. Note: changing the stratum for localhost to 100 means the local hardware clock will only be used as a backup.
/etc/sysconfig/network and make sure
it has a gateway line:(Note: Replace subnet with the subnet YOU are using.)
/etc/sysconfig/network-scripts/ifcfg-eth0 (or
what-ever network device you are using) and make sure it has the
following lines:(Note: Replace subnet and your IP with the subnet and IP YOU are using.)
/etc/resolv.conf and make sure it has
the following lines:/etc/rc.d/init.d/network
restartYou can check on network settings by running:
/sbin/ifconfig -a