vim /etc/sysconfig/network-scripts/ifcfg-eth0


DEVICE=eth0
HWADDR=00:0C:29:6D:68:88
TYPE=Ethernet
UUID=7acde5dc-f90e-4afd-97d3-9fed24ebeb8f
ONBOOT=yes
MM_CONTROLLED=yes
BOOTPROTO=static

IPADDR=146.175.139.13
GATEWAY=146.175.139.255
NETMASK=255.255.255.0
DNS1=8.8.8.8

posted @ 2020-11-01 15:59  风中灵叶  阅读(573)  评论(0编辑  收藏  举报