centos8实现开机修改网关
    文章作者:恒爱云[恒爱网络] 阅读次数:2109 发布时间:2022-3-10

    vi /etc/rc.local

     nmcli connection modify eth0 ipv4.gateway 221.11.21.x 

     nmcli c up eth0