이건 꼭 잃어 보세요...
https://nayoungs.tistory.com/entry/Linux-%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC-%EC%84%A4%EC%A0%95-nmcli-hostname
==========1번 node setting=================
nmcli con add con-name ens160 ifname ens160 type ethernet ip4 192.168.10.147/24 gw4 192.168.10.2
nmcli con add con-name ens192 ifname ens192 type ethernet ip4 192.168.24.1/24 gw4 0.0.0.0
nmcli con add con-name ens224 ifname ens224 type ethernet ip4 192.168.10.31/24 gw4 0.0.0.0
nmcli con add con-name ens256 ifname ens254 type ethernet autoconnect yes
================================== 2번 node
nmcli con add con-name ens160 ifname ens160 type ethernet ip4 192.168.10.148/24 gw4 192.168.10.2
nmcli con add con-name ens192 ifname ens192 type ethernet ip4 192.168.24.2/24 gw4 0.0.0.0
nmcli con add con-name ens224 ifname ens224 type ethernet ip4 192.168.10.32/24 gw4 0.0.0.0
nmcli con add con-name ens256 ifname ens254 type ethernet autoconnect yes
휴 힘드네 ======================================================================
# Public
192.168.24.1 dbwr1.localdomain dbwr1
192.168.24.2 dbwr2.localdomain dbwr2
# Private
192.168.10.147 dbwr1-priv.localdomain dbwr1-priv
192.168.10.148 dbwr2-priv.localdomain dbwr2-priv
# Virtual
192.168.24.31 dbwr1-vip.localdomain dbwr1-vip
192.168.24.32 dbwr2-vip.localdomain dbwr2-vip
# SCAN
192.168.24.41 dbwr-scan.localdomain dbwr-scan
192.168.24.42 dbwr-scan.localdomain dbwr-scan
192.168.24.43 dbwr-scan.localdomain dbwr-scan
1번 node setting
1.nmcli con add con-name ether-enp0s3 ifname enp0s3 type ethernet ip4 192.168.24.1/24 gw4 0.0.0.0
2.nmcli con add con-name ether-enp0s8 ifname enp0s8 type ethernet ip4 192.168.10.1/24 gw4 0.0.0.0
3. nmcli con add con-name dhcp ifname enp0s9 type ethernet autoconnect yes
2번 node setting
1.nmcli con add con-name ether-enp0s3 ifname enp0s3 type ethernet ip4 192.168.24.2/24 gw4 0.0.0.0
2.nmcli con add con-name ether-enp0s8 ifname enp0s8 type ethernet ip4 192.168.10.2/24 gw4 0.0.0.0
3. nmcli con add con-name dhcp ifname enp0s9 type ethernet autoconnect yes