一服务器

[[email protected] network-scripts]# cat ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth0
DEVICE=eth0
ONBOOT=yes
IPADDR=10.0.20.15
NETMASK=255.255.255.0
GATEWAY=10.0.20.1
DNS1=114.114.114.114





[[email protected] network-scripts]# cat ifcfg-eth0.bak 
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
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=eth0
UUID=bff55a1a-a127-4b34-98da-3f1bab30f7e0
DEVICE=eth0
ONBOOT=no





[[email protected] network-scripts]# cat ifcfg-eth1
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth1
DEVICE=eth1
ONBOOT=yes
IPADDR=172.17.2.15
NETMASK=255.255.255.0
GATEWAY=172.17.2.1
DNS1=114.114.114.114


[[email protected] network-scripts]# cat ifcfg-eth1.bak 
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth1
DEVICE=eth1
ONBOOT=yes
IPADDR=172.17.2.15
NETMASK=255.255.255.0
GATEWAY=172.17.2.1
DNS1=114.114.114.114





[[email protected] network-scripts]# cat ifcfg-eno1 
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
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=9b37261c-8ca6-438e-b937-bb0ff23fb17b
DEVICE=eno1
ONBOOT=no


二服务器

[[email protected] network-scripts]# cat ifcfg-eth0 
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth0
DEVICE=eth0
ONBOOT=yes
IPADDR=10.0.20.16
NETMASK=255.255.255.0
GATEWAY=10.0.20.1
DNS1=114.114.114.114











[[email protected] network-scripts]# cat ifcfg-eth1
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth1
DEVICE=eth1
ONBOOT=yes
IPADDR=172.17.2.16
NETMASK=255.255.255.0
GATEWAY=172.17.2.1
DNS1=114.114.114.114
[[email protected] network-scripts]# cat ifcfg-eth1.bak
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
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=eth1
UUID=7f8096b5-fedd-499e-98c7-dc4ca9dc3f4a
DEVICE=eth1
ONBOOT=no
[[email protected] network-scripts]# cat ifcfg-eth1.bak2
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth1
DEVICE=eth1
ONBOOT=yes
IPADDR=172.17.2.16
NETMASK=255.255.255.0
GATEWAY=172.17.2.1
DNS1=114.114.114.114













[[email protected] network-scripts]# cat ifcfg-eno1 
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
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=48b761e5-6882-450d-9202-f577fff885d5
DEVICE=eno1
ONBOOT=no
[[email protected] network-scripts]# cat ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=eth0
DEVICE=eth0
ONBOOT=yes
IPADDR=10.0.20.17
NETMASK=255.255.255.0
GATEWAY=10.0.20.1
DNS1=114.114.114.114
[[email protected] network-scripts]# cat ifcfg-eth0.bak 
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
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=eth0
UUID=ba9519ef-30ee-4a89-baa7-5cea26bd7e42
DEVICE=eth0
ONBOOT=no
[[email protected] network-scripts]# cat ifcfg-eth1
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=eth1
DEVICE=eth1
ONBOOT=yes
IPADDR=172.17.2.17
NETMASK=255.255.255.0
GATEWAY=172.17.2.1
DNS1=114.114.114.114
[[email protected] network-scripts]# cat ifcfg-eth1.bak 
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=eth1
DEVICE=eth1
ONBOOT=yes
IPADDR=172.17.2.17
NETMASK=255.255.255.0
GATEWAY=172.17.2.1
DNS1=114.114.114.114
[[email protected] network-scripts]#