In Linux, you can easily configure a large number of IP addresses.

Source: Internet
Author: User

When you learn about Redhat Linux, you may encounter IP Address Configuration problems. Here we will introduce how to solve the problem of configuring a large number of IP addresses in Redhat Linux. Here we will share with you.
If you want to configure a large number of IP addresses in Linux, it will be very cumbersome to configure them in the conventional way.
For redhat, you can use the following method:
File:/etc/sysconfig/network-scripts/ifcfg-eth0-range0
Content
DEVICE = eth0
ONBOOT = yes
BOOTPROTO = static
IPADDR_START = 10.0.0.111
IPADDR_END = 10.0.0.199
CLONENUM_START = 0
GATEWAY = 10.0.0.1
NETMASK = 00000000000
NO_ALIASROUTING = yes

File:/etc/sysconfig/network-scripts/ifcfg-eth0-range1
Content
DEVICE = eth0
ONBOOT = yes
BOOTPROTO = static
IPADDR_START = 10.0.0.200
IPADDR_END = 10.0.0.254
CLONENUM_START = 5
GATEWAY = 10.0.0.1
NETMASK = 00000000000
NO_ALIASROUTING = yes
Then the service network restart
10.0.111-254 is configured to eth0.
The preceding section describes how to solve the problem of configuring a large number of IP addresses in Redhat Linux. It is still very practical.

  1. Full explanation of USB flash disk mounting in linux File System
  2. Explanation of linux monitoring technology in the treasure chest
  3. Linux Server hacked knowledge points
  4. Explanation of how to build a linux FTP Server
  5. One-stop service: full introduction to linux FTP server security

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.