Network related commands - a must for beginners

Network related knowledge

Network related commands and introduction

insert image description here

Network related commands - detailed introduction

IP commands

启动网卡:ip link set  eth3 up
查看网络设备信息:ip addr show
查看指定网卡信息:ip link show dev ens33
关闭、启动网卡:ip link set ens33 down
修改网卡MAC:ip  link set ens33 address 0:0c.....
显示网卡信息:ip a  或者ip addr show
为指定网卡添加IP:ip addr add 192.168.1.1/24  d

おすすめ

転載: blog.csdn.net/sunrj_niu/article/details/129537658