For example:
# cd /etc/sysconfig/ifcfg-enp3s0
# cat ifcfg-enp3s0
TYPE=Ethernet
BOOTPROTO=static
IPADDR=192.168.1.22
NETMASK=255.255.255.0
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=enp3s0
UUID=22912295-f542-452b-a7b2-70a324161d8d
DEVICE=enp3s0
ONBOOT=yes
PEERDNS=yes # <<<<<<< ----------------------------------------this option you must set to NO !
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
Cenots 7 Configure static IP
相關文章
- raspberry pi bookworm setting static ipWorm
- Oracle Linux 7 Configure DNSOracleLinuxDNS
- 【Autofs】How to Configure Autofs on CentOS 7?CentOS
- How to Install and Configure VNC Server in CentOS 7VNCServerCentOS
- 7、IP隧道
- IP基礎--7.IP封包
- (7)ram ip使用
- IP基礎--7.IP封包(轉)
- Centos 7 檢視本機IP 編輯IP 修改ipCentOS
- static
- centos7 配置固定ipCentOS
- centos7IP地址問題CentOS
- centos 7 設定靜態ipCentOS
- rman configure
- java static 與 static靜態程式碼塊Java
- CentOS7配置靜態IP地址CentOS
- C語言中的 static變數、static函式C語言變數函式
- php static dynamicPHP
- C#staticC#
- Java之StaticJava
- static變數變數
- 解析static!(轉)
- 理解static(轉)
- Interface中加Static
- set autotrace on [configure]
- ./configure 幫助
- Java中static、final、static final的區別Java
- linux centos7新增ip黑名單禁止某個ip訪問LinuxCentOS
- RHEL7多種方式配置ip地址
- PTA 7-18 IP地址轉換(JAVA)Java
- Centos 7 新增ip地址和閘道器CentOS
- java中的Static、final、Static final各種用法Java
- docker install and configureDocker
- configure shared serverServer
- mysql configure 引數MySql
- rman:configure exclude for tablespace ...
- configure net card in Solaris
- Xenomai-2.6.0-configureAI