[root@ha1-cod ~]# hostname -f
ha1-cod.au.team
[root@ha1-cod ~]# ip -c -br -4 a
lo UNKNOWN 127.0.0.1/8
ens19 UP 172.16.0.1/23
[root@ha1-cod ~]# ip -c r
default via 172.16.1.254 dev ens19
172.16.0.0/23 dev ens19 proto kernel scope link src 172.16.0.1
[root@ha1-cod ~]# cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search au.team
nameserver 10.1.1.10
[root@ha1-cod ~]# ping -c3 77.88.8.8
PING 77.88.8.8 (77.88.8.8) 56(84) bytes of data.
64 bytes from 77.88.8.8: icmp_seq=1 ttl=54 time=93.8 ms
64 bytes from 77.88.8.8: icmp_seq=2 ttl=54 time=35.8 ms
64 bytes from 77.88.8.8: icmp_seq=3 ttl=54 time=36.1 ms
--- 77.88.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 35.767/55.234/93.823/27.286 ms
[root@ha1-cod ~]#
HA2-COD:
hostnamectl set-hostname ha2-cod.au.team; exec bash
echo "TYPE=eth" > /etc/net/ifaces/ens1/options
echo "172.16.0.2/23" > /etc/net/ifaces/ens1/ipv4address
echo "default via 172.16.1.254" > /etc/net/ifaces/ens1/ipv4route
echo "search au.team" > /etc/net/ifaces/ens1/resolv.conf
echo "nameserver 10.1.1.10" >> /etc/net/ifaces/ens1/resolv.conf
systemctl restart network
[root@ha2-cod ~]# hostname -f
ha2-cod.au.team
[root@ha2-cod ~]# ip -c -br -4 a
lo UNKNOWN 127.0.0.1/8
ens19 UP 172.16.0.2/23
[root@ha2-cod ~]# ip -c r
default via 172.16.1.254 dev ens19
172.16.0.0/23 dev ens19 proto kernel scope link src 172.16.0.2
[root@ha2-cod ~]# cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search au.team
nameserver 10.1.1.10
[root@ha2-cod ~]# ping -c3 77.88.8.8
PING 77.88.8.8 (77.88.8.8) 56(84) bytes of data.
64 bytes from 77.88.8.8: icmp_seq=1 ttl=54 time=44.0 ms
64 bytes from 77.88.8.8: icmp_seq=2 ttl=54 time=37.0 ms
64 bytes from 77.88.8.8: icmp_seq=3 ttl=54 time=36.5 ms
--- 77.88.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 36.463/39.181/44.044/3.446 ms
[root@ha2-cod ~]#
SRV1-COD:
hostnamectl set-hostname srv1-cod.au.team; exec bash
echo "TYPE=eth" > /etc/net/ifaces/ens1/options
echo "172.16.1.1/23" > /etc/net/ifaces/ens1/ipv4address
echo "default via 172.16.1.254" > /etc/net/ifaces/ens1/ipv4route
echo "search au.team" > /etc/net/ifaces/ens1/resolv.conf
echo "nameserver 10.1.1.10" >> /etc/net/ifaces/ens1/resolv.conf
systemctl restart network
[root@srv1-cod ~]# hostname -f
srv1-cod.au.team
[root@srv1-cod ~]# ip -c -br -4 a
lo UNKNOWN 127.0.0.1/8
ens19 UP 172.16.1.1/23
[root@srv1-cod ~]# ip -c r
default via 172.16.1.254 dev ens19
172.16.0.0/23 dev ens19 proto kernel scope link src 172.16.1.1
[root@srv1-cod ~]# cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search au.team
nameserver 10.1.1.10
[root@srv1-cod ~]# ping -c3 77.88.8.8
PING 77.88.8.8 (77.88.8.8) 56(84) bytes of data.
64 bytes from 77.88.8.8: icmp_seq=1 ttl=54 time=91.5 ms
64 bytes from 77.88.8.8: icmp_seq=2 ttl=54 time=82.1 ms
64 bytes from 77.88.8.8: icmp_seq=3 ttl=54 time=80.1 ms
--- 77.88.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 80.087/84.566/91.477/4.957 ms
[root@srv1-cod ~]#
SRV2-COD:
hostnamectl set-hostname srv2-cod.au.team; exec bash
echo "TYPE=eth" > /etc/net/ifaces/ens1/options
echo "172.16.1.2/23" > /etc/net/ifaces/ens1/ipv4address
echo "default via 172.16.1.254" > /etc/net/ifaces/ens1/ipv4route
echo "search au.team" > /etc/net/ifaces/ens1/resolv.conf
echo "nameserver 10.1.1.10" >> /etc/net/ifaces/ens1/resolv.conf
systemctl restart network
[root@srv2-cod ~]# hostname -f
srv2-cod.au.team
[root@srv2-cod ~]# ip -c -br -4 a
lo UNKNOWN 127.0.0.1/8
ens19 UP 172.16.1.2/23
[root@srv2-cod ~]# ip -c r
default via 172.16.1.254 dev ens19
172.16.0.0/23 dev ens19 proto kernel scope link src 172.16.1.2
[root@srv2-cod ~]# cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search au.team
nameserver 10.1.1.10
[root@srv2-cod ~]# ping -c3 77.88.8.8
PING 77.88.8.8 (77.88.8.8) 56(84) bytes of data.
64 bytes from 77.88.8.8: icmp_seq=1 ttl=54 time=45.3 ms
64 bytes from 77.88.8.8: icmp_seq=2 ttl=54 time=37.2 ms
64 bytes from 77.88.8.8: icmp_seq=3 ttl=54 time=36.6 ms
--- 77.88.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 36.627/39.718/45.290/3.947 ms
[root@srv2-cod ~]#
SRV3-COD:
hostnamectl set-hostname srv3-cod.au.team; exec bash
echo "TYPE=eth" > /etc/net/ifaces/ens1/options
echo "172.16.1.3/23" > /etc/net/ifaces/ens1/ipv4address
echo "default via 172.16.1.254" > /etc/net/ifaces/ens1/ipv4route
echo "search au.team" > /etc/net/ifaces/ens1/resolv.conf
echo "nameserver 10.1.1.10" >> /etc/net/ifaces/ens1/resolv.conf
systemctl restart network
[root@srv3-cod ~]# hostname -f
srv3-cod.au.team
[root@srv3-cod ~]# ip -c -br -4 a
lo UNKNOWN 127.0.0.1/8
ens19 UP 172.16.1.3/23
[root@srv3-cod ~]# ip -c r
default via 172.16.1.254 dev ens19
172.16.0.0/23 dev ens19 proto kernel scope link src 172.16.1.3
[root@srv3-cod ~]# cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search au.team
nameserver 10.1.1.10
[root@srv3-cod ~]# ping -c3 77.88.8.8
PING 77.88.8.8 (77.88.8.8) 56(84) bytes of data.
64 bytes from 77.88.8.8: icmp_seq=1 ttl=54 time=96.7 ms
64 bytes from 77.88.8.8: icmp_seq=2 ttl=54 time=62.9 ms
64 bytes from 77.88.8.8: icmp_seq=3 ttl=54 time=85.8 ms
--- 77.88.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 62.876/81.780/96.675/14.086 ms
[root@srv3-cod ~]#