其他分享
首页 > 其他分享> > rocky 8 如何重启网络服务

rocky 8 如何重启网络服务

作者:互联网

 

001、系统

[root@PC1 network-scripts]# cat /etc/redhat-release 
Rocky Linux release 8.6 (Green Obsidian)

 

002、

[root@PC1 network-scripts]# ifconfig | head
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:0c:29:46:aa:d2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
[root@PC1 network-scripts]# nmcli c reload       ## 重启网络服务
[root@PC1 network-scripts]# ifconfig | head
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.33  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::20c:29ff:fe46:aad2  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:46:aa:d2  txqueuelen 1000  (Ethernet)
        RX packets 16  bytes 5419 (5.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 44  bytes 5243 (5.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

 

标签:errors,rocky,TX,重启,packets,mtu,network,dropped,网络服务
来源: https://www.cnblogs.com/liujiaxin2018/p/16560411.html