[[email protected] network-scripts]# cat ifcfg-enp3s0
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=enp3s0
UUID=90a46ce2-a14e-4d07-a7f1-2b36d19b996a
DEVICE=enp3s0
ONBOOT=yes
IPADDR=192.168.80.ddd
PREFIX=24
GATEWAY=192.168.80.tttt
DNS1=202.96.134.133
DNS2=202.96.128.86
[[email protected] network-scripts]# cat ifcfg-enp3s0:01
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=enp3s0:01
UUID=90a46ce2-a14e-4d07-a7f1-2b36d19b996a
DEVICE=enp3s0:01
ONBOOT=yes
IPADDR=172.16.3.xxx
PREFIX=24
GATEWAY=172.16.3.yyy
DNS1=202.96.134.133
DNS2=202.96.128.86
原文地址:https://www.cnblogs.com/walkersss/p/12558041.html
时间: 2024-11-13 09:52:18