How to bind multiple IP addresses to an SCO Nic

Source: Internet
Author: User
Article Title: how to bind multiple IP addresses to an SCO Nic. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
How to bind multiple IP addresses to an SCO Nic

In SCO Unix systems, multiple IP addresses are set through the alias address of the network interface.
The procedure is as follows: (for example, the IP address of the net0 Nic is 192.168.1.2 and the mask is 255.255.255.0)

1. edit the/etc/tcp file. Vi/etc/tcp
2. find the ifconfig command line that contains the Nic device file name net0.
3. add the ifconfig command line after the command line to set another IP address (the second IP address and the third IP address…) for the NIC ......). If you set the 2nd IP addresses of the network adapter to 192.168.1.3 and the mask to 255.255.255.0, you can add the following lines: ifconfig net0 alias 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255 perf 24576 24576 1
4. run the reboot command to restart the machine.
5. use netstat? The rn Command lists the address information.
6. run the ping command to test network connectivity.
When configuring IP addresses of different CIDR blocks, you need to modify the broadcast addresses and add routes to access different CIDR blocks.


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.