配置网络适配器
vi /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.3.149
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
保存退出。
重启网络:service network restart
微信扫一扫
配置网络适配器
vi /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.3.149
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
保存退出。
重启网络:service network restart
相关推荐