配置网络服务

首先
改虚拟机为仅主机模式, 配置net1 配置为同一个网络段
取消DHCP
配置网络服务
配置网络服务

配置网卡的4种方法:

1.Linux系统右上角电脑图标,设置地址和网络掩码等等。
配置网络服务

2.nmtui(旧版UI界面),重启网卡systemctl restart network
配置网络服务
配置网络服务
配置网络服务
3.编辑 /etc/sysconfig/network-scripts/ifcfg-网卡
配置网络服务
配置网络服务
配置网络服务
4.用nm-connection-editor
配置网络服务
配置网络服务
配置网络服务

相关文章: