ubuntu 16.04 网卡配置要点 和查看有几块网卡的命令
2016-09-04 12:12
387 查看
查看系统有几块网卡
或者用
重启网络命令,使用最新的systemctl
编辑网卡配置文件
lspci |grep -i Eth
或者用
ip link
重启网络命令,使用最新的systemctl
systemctl restart networking
编辑网卡配置文件
vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto enp0s3 iface enp0s3 inet dhcp auto enp0s8 iface enp0s8 inet static address 1.1.1.2 mask 255.255.255.0
相关文章推荐
- linux ifconfig命令参数及用法详解--linux查看配置网卡命令
- RHEL7查看网卡配置命令ip addr show
- 查看Ubuntu系统硬件配置命令
- ubuntu 设置网卡为混杂模式 以及网络配置命令
- Ubuntu 16.04 LTS (Debian) 手工配置新增网卡
- NanoPi NEO core/ Ubuntu16.04单网卡配置3个IP地址(2个静态,1个动态)
- Linux网络配置之虚拟网卡的配置(ubuntu 16.04)案例
- linux ifconfig命令参数及用法详解--linux查看配置网卡命令
- Linux网络配置之虚拟网卡的配置(ubuntu 16.04)
- 查看硬件配置命令(ubuntu示例)
- linux ifconfig命令参数及用法详解--linux查看配置网卡命令
- linux下如何用命令配置网卡、dns、网关、如何查看网卡状态、如何查看网卡信息。
- 四条命令快速在Ubuntu16.04上配置DNS服务器
- Linux网络配置之虚拟网卡的配置(ubuntu 16.04)
- Ubuntu 16.04通过网络配置工具NetworkManager设置IP、网关、DNS和查看IP、网关、DNS
- linux下如何用命令配置网卡、dns、网关、如何查看网卡状态、如何查看网卡信息。
- 查看硬件配置命令(ubuntu示例)
- ubuntu 设置网卡为混杂模式 以及网络配置命令