Linux single Nic configuration multi IP 1, by copying a ifcfg-eth0: 1 configuration file implementation: cp/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-eth0: 1 www.2cto.com vi/etc/sysconfig/network-scripts/ifcfg-eth0: 1 # Intel Corporation 82566DC Gigabit Network ConnectionDEVICE = eth0BOOTPROTO = noneBROADCAST = protocol = 00: 19: d1: 34: 2d: b8IPADDR = 218.95.37.250NETMASK = 255.255.255.192NETWORK = 218.95.37.192ONBOOT = yesGATEWAY = 21 8.95.37.193TYPE = Ethernet ifconfig eht0: 1 up 2. Temporary mode (lost after restart): ifconfig eth0: 1 192.168.0.2 netmask 255.255.255.0 up www.2cto.com 3. Script implementation :#! /Bin/sh eth01 =/etc/sysconfig/network-scripts/ifcfg-eth0: 1 touch $ eth01 echo DEVICE = eth0: 1 >>>$ eth01echo BOOTPROTO = none >>$ eth01echo IPADDR = 192.168.40.76 >>$ eth01echo NETMASK = 255.255.255.0 >$ eth01echo ONBOOT = yes >>$ eth01/etc/init. d/network restart author wang7dao