Hey gang,
Between Digital Support and I, a resolution was found. The answer lies in
the proper configuration of the "/etc/rc.config" file. Here's the solution.
1. Make a backup copy of the "etc/rc.config" file.
2. Edit the "/etc/rc.config" file.
3. Find the entry "NUM_NETCONFIG=" and set the value to 1 + n, where "n" is
the number of Alias IP Addresses to host.
4. Find the entry "NETDEV_1", and beginning with this parameter, set the
value to the name of the network interface (i.e. "ln0" , "tu0".) For
additional Alias IP Addresses, set the value of the interface name into
each subsequent "NETDEV_n=" parameter. For instance if two Alias IP
Addresses are to be hosted then, "NETDEV_1=" and "NETDEV_2" would be given
the value of the interface name.
5. Find the entry "IFCONFIG_1=", and beginning with this parameter, set the
value to an Alias IP Address. Assignments into subsequent "IFCONFIG_n="
parameter(s) are made for each Alias IP Address to host.
6. Once all changes have been qualified and completed, save the file.
7. Ensure that you have removed all reference to "/sbin/rcx.d" startup
scripts.
8. After you have verified accuracy and are sure that all is correct,
restart the network with the command -> "/usr/sbin/rcinet restart".
9. Test the existence of the Alias IP Addresses by issuing the commands
* netstat -I <interface name>
10. If for some reason the Alias IP Addresses do not display, try
rebooting. If that fails, revert to the backup copy of the "/etc/rc.config"
file and perform step #8.
Below is an excerpt from a "/etc/rc.config" file showing a primary and two
IP Aliases in a class C network:
#
DISPLAYTYPE=
HOSTNAME="<hostname>.<domain name>"
NUM_NETCONFIG="3"
MAX_NETDEVS="24"
NETDEV_0="tu0"
NETDEV_1="tu0"
NETDEV_2="tu0"
NETDEV_3=
NETDEV_4=
NETDEV_5=
NETDEV_6=
NETDEV_7=
IFCONFIG_0="192.1.1.3 netmask 255.255.255.255"
IFCONFIG_1="192.1.1.4 netmask 255.255.255.255"
IFCONFIG_2="192.1.1.120 netmask 255.255.255.255"
IFCONFIG_3=
IFCONFIG_4=
Regards,
Robert Beazley
OCNS
Received on Wed May 07 1997 - 15:46:40 NZST