【网络模块】静态ip配置

[root@hadoop001 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
HWADDR=08:00:27:5E:34:88
TYPE=Ethernet
UUID=1180ee48-51d5-4efe-8f0e-7b0098ec95a2
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.43.133
NETMASK=255.255.255.0
GATEWAY=192.168.43.1
DNS1=8.8.8.8
DNS2=114.114.114.114

猜你喜欢

转载自blog.csdn.net/u010412629/article/details/88075935