1.ip地址和子网掩码的配置: #ifconfig eth0 192.168.0.17 netmask 255.255.255.0 #ifconfig eth0:1 192.168.0.18 netmask 255.255.255.0