标签:rest otp err header pre ns3 生效 add --
? root@xxxx-212-mysql ~ cat /etc/sysconfig/network-scripts/ifcfg-eno1
TYPE="Ethernet"
BOOTPROTO="static"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="eno1"
UUID="ab9d298e-7683-474b-beb4-1551cc7e26cd"
DEVICE="eno1"
HWADDR="44:37:e6:c9:da:24"
ONBOOT="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_PRIVACY="no"
IPADDR0=192.168.0.212
GATEWAY0=192.168.0.254
NEMASK=255.255.252.0
DNS1=192.168.0.212
DNS2=192.168.99.1
?
root@xxxx-212-mysql ~ cat /etc/sysconfig/network-scripts/ifcfg-eno1
TYPE="Ethernet"
BOOTPROTO="static"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="eno1"
UUID="ab9d298e-7683-474b-beb4-1551cc7e26cd"
DEVICE="eno1"
HWADDR="44:37:e6:c9:da:24"
ONBOOT="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_PRIVACY="no"
IPADDR0=192.168.0.212
GATEWAY0=192.168.0.254
NEMASK=255.255.252.0
DNS1=192.168.0.212
DNS2=192.168.99.1
DNS3=114.114.114.114
? root@xxxx-212-mysql ~ systemctl restart network
? root@xxxx-212-mysql ~ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.0.212
nameserver 192.168.99.1
标签:rest otp err header pre ns3 生效 add --
原文地址:https://www.cnblogs.com/securitybob/p/13614708.html