查看网卡状态 ip addr
设置 cd /etc/sysconfig/network-script ll
vim 活动网卡
添加 IPADDR = 10.25.24.10 NETMASK = 255.255.255.0 gateway = 10.25.24.11
重启网络服务 systemctl restart network
查看网卡状态 ip link
netstat
route命令 route print查看路由信息
查看网卡状态 ip addr
设置 cd /etc/sysconfig/network-script ll
vim 活动网卡
添加 IPADDR = 10.25.24.10 NETMASK = 255.255.255.0 gateway = 10.25.24.11
重启网络服务 systemctl restart network
查看网卡状态 ip link
netstat
route命令 route print查看路由信息
晨枫