Under Linux, it is usually eth0 to configure multiple IPs.0.. Eth0.1 .. eth0.x and so on, then if you want to configure a large number of IP, so configuration is also possible, but cumbersome, although this situation is very small. For the addition of a large number of IP, there are certain provisions, RHCE/The CentOS system provides a fast way to bind an IP range so that we no longer need to create a large number of files to save time. such as: # VIM/etc/sysconfig/network-scripts/ifcfg-eth0-Range0ipaddr_start=10.1.0.100Ipaddr_end=10.1.0.200Clonenum_start=0NETMASK=255.255.255.0Ipaddr_start is the first IP, Ipaddr_end is the last IP. Clonenum_start is the start number of the interface that will be assigned to a series of interfaces (the instance is starting from eth0:0). Activating the NIC: # ifdown eth0&& ifup eth0
Storage location of IP under Linux