IP address a network adapter in SCO the method of binding multiple IP addresses above
The setting of multiple IP addresses in the SCO UNIX system is achieved through the alias address of the network interface.
The specific steps are as follows: (for example, the IP address of the NET0 network card is 192.168.1.2 mask is 255.255.255.0)
1. Edit the/etc/tcp file. Vi/etc/tcp
2. Locate the Ifconfig command line that contains the NIC device filename net0.
3. Set additional IP addresses (that is, second IP address, third IP address ...) for the NIC by adding the ifconfig command line after the command line. )。 If you set the 2nd IP address of this network card to 192.168.1.3 and the Mask is 255.255.255.0, you can add the following line: Ifconfig net0 alias 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255 perf 24576 24576 1
4. Execute the reboot command and reboot the machine.
5. Use the NETSTAT–RN command to enumerate the address information.
6. Test network connectivity with ping command.
To configure the address principle of different network segments, you need to change the broadcast to different broadcast addresses, and you need to add a way to access different network segments.