Centos7网络配置
来源:互联网 发布:hadoop ssh端口配置 编辑:程序博客网 时间:2024/06/07 05:28
1 nmcli connection show
eno1 :代表由主板 BIOS 內建的网卡
ens1 :代表由主板 BIOS 內建的 PCI-E 界面的网卡
enp2s0 :代表 PCI-E 界面的独立网卡,可能有多个网卡接口,因此会有 s0, s1... 的编号
eth0 :如果上述的名称都不适用,就回到原本的预设网卡编号
nmcli connection modify enp0s3 \
> connection.autoconnect yes \
> ipv4.method manual \
> ipv4.address192.168.2.121/24 \
> ipv4.gateway192.168.2.121 \
> ipv4.dns192.168.2.121
这个命令分别修改了 /etc/sysconfig/newwork-scriptes/ifcfg-enp0s*. /etc/resolv.conf
systemctl restart network //重启网络服务
阅读全文
0 0
- Centos7网络配置
- vmware网络配置,centos7
- centOS7网络配置
- CentOS7网络配置
- CentOS7 网络配置问题
- CentOS7 网络配置
- vmware配置centos7网络
- CentOS7 网络配置
- centos7.2配置网络
- CentOS7 DHCP网络配置
- centos7.mini 网络配置
- Centos7网络配置
- centos7虚拟机网络配置
- centos7 界面配置网络
- Centos7网络配置
- centos7 电脑网络配置
- Centos7下配置网络
- Centos7网络配置
- Redis 概览
- poj 2186 Popular Cows(Tarjan,强连通分量缩点)
- Win2008 Server 搭建JAVA环境
- N!二进制中1首次出现的位置
- [Python] wxPython 编辑框组件学习总结 (原创)
- Centos7网络配置
- hdu6152Friend-Graph(网络赛暴力+拉姆齐定理)
- SPI标准
- js中一系列的兼容---惰性载入优化
- poj1125 Stockbroker Grapevine 最短路 Floyd 思考
- 微服务:配置中心
- nodejs23
- iOS NSCache内存优化
- sliksvn下载与安装