Article title: configure a large number of IP addresses in RedhatLinux. 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.
If you want to set hundreds or even thousands of ip addresses in linux, it will be very cumbersome to follow the old example.
For redhat linux, you can use the following action: bt4 to crack the wireless network.
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 = 0Linux authentication
GATEWAY = 10.0.0.1
NETMASK = 00000000000
NO_ALIASROUTING = yes
File:/etc/sysconfig/network-scripts/ifcfg-eth0-range1
Content Linux system management
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 set to eth0.