A network adapter in SCO the method of binding multiple IP addresses above

Source: Internet
Author: User
Tags add command line
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.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.