4. 업로드된 ping_2_nds.sh 파일을 실행해 3대의 CentOS(192.168.101~103)와 통신하는 데 문제가 없는지 확인합니다.
[vagrant@m-k8s ~]$ ./ping_2_nds.sh
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.
64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=0.750 ms
64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=0.606 ms
64 bytes from 192.168.1.101: icmp_seq=3 ttl=64 time=0.770 ms
--- 192.168.1.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 0.606/0.708/0.770/0.079 ms
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=4.42 ms
64 bytes from 192.168.1.102: icmp_seq=2 ttl=64 time=0.792 ms
64 bytes from 192.168.1.102: icmp_seq=3 ttl=64 time=0.812 ms
--- 192.168.1.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.792/2.008/4.422/1.707 ms
PING 192.168.1.103 (192.168.1.103) 56(84) bytes of data.
64 bytes from 192.168.1.103: icmp_seq=1 ttl=64 time=3.64 ms
64 bytes from 192.168.1.103: icmp_seq=2 ttl=64 time=0.684 ms
64 bytes from 192.168.1.103: icmp_seq=3 ttl=64 time=0.834 ms
--- 192.168.1.103 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.684/1.720/3.643/1.361 ms
5. 4대 모두 이상 없음이 확인됐으니 exit 명령으로 가상 머신 접속을 종료합니다.
[vagrant@m-k8s ~]$ exit
logout