Setting interface parameters
All network interface drivers, including the loopback interface,
require that their host addresses be defined at boot time.
This is done with
ifconfig(ADMN)
commands included in the /etc/tcp
shell script. These commands are initially set up based on information
you supply during the installation, or during configuration with
the Network Configuration Manager.
ifconfig(ADMN)
also sets the netmask, broadcast address, and IP address
at boot time. You can change any of this information:
Using the Network Configuration Manager, while intuitive, can take longer than
editing the file, especially when you are:
-
changing the netmask and broadcast address to make provisions for
a subnet.
-
changing the broadcast address scheme.
-
changing the IP address of the interface.
To edit /etc/tcp:
-
Log onto the system as root.
-
Make a backup of /etc/tcp:
cp /etc/tcp /etc/tcp.00
-
Edit /etc/tcp to include the desired information on lines beginning
with
ifconfig
.
-
Shut the system down and reboot it by using the
System Shutdown Manager
as described in the
SCO OpenServer Handbook.
Remember to select Reboot after shutdown when using the manager.
-
After the system reboots and returns to multiuser mode,
test TCP/IP by using
ping(ADMN)
to contact another host.
Next topic:
Creating subnets
Previous topic:
Looking up a name in the Internet domain name directory service
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003