Linux network device configuration file stored at/etc/sysconfig/network-scripts inside, for the first Ethernet network device configuration file typically ifcfg-eth0 if you need to first network equipment more than one IP address bound to only need/etc/sysconfig/network-scripts directory named ifcfg-eth0: 0 file content example: DEVICE = "et0: 0"
IPADDR = "211.100.10.119" NETMASK = "255.255.255.0" ONBOOT = "yes" to the name of the DEVICE to device, IPADDR to this device's IP address, NETMASK is the subnet mask ONBOOT said at system startup to start automatically. If you need to bind more than one IP address, you only need to put the file name and file DEVICE eth0: in x plus one. LINUX can support up to 255 IP aliases.
No comments:
Post a Comment