controll:eth0   192.168.2.211         comput:  etho   192.168.2.212

           eth1                                               eth1 

1、网络设置

controll

eth0:

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
HWADDR=00:E0:81:D8:43:BE
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.2.211
NETMASK=255.255.255.0
GATEWAY=192.168.2.1
DNS1=8.8.8.8
View Code

相关文章: