Difficulties with the labs in the Networking section for the Devops Pre-requisite course

I cannot get through the 8th question in the Switching and Routing labs.

I have done all the necessary steps until Q7 but somehow not able to ssh into the other VMs in the network. Steps pasted below. Can you check please?

thor@jump_host ~$ ssh appo1
^C
thor@jump_host ~$ ssh app01
The authenticity of host ‘app01 (172.16.238.11)’ can’t be established.
ECDSA key fingerprint is SHA256:r+A5+5DenHkco9Wh1DlzG2oA1VTgDcQ1oDDKmJXcikE.
ECDSA key fingerprint is MD5:ca:5c:0f:52:91:f1:61:e0:a3:0f:fb:ce:df:a3:4d:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘app01,172.16.238.11’ (ECDSA) to the list of known hosts.
[thor@app01 ~]$ ssh app02
The authenticity of host ‘app02 (172.16.238.12)’ can’t be established.
ECDSA key fingerprint is SHA256:WBLf2jyIsj6edeCwuY2oZjCGke4yhPRq6zAOzLMymnQ.
ECDSA key fingerprint is MD5:0c:13:c3:75:22:35:ed:71:09:e9:51:78:1d:25:1b:67.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘app02,172.16.238.12’ (ECDSA) to the list of known hosts.
thor@app02’s password:
Permission denied, please try again.
thor@app02’s password:
Permission denied, please try again.
thor@app02’s password:

[thor@app01 ~]$ ssh jump_host
ssh: connect to host jump_host port 22: Connection refused
[thor@app01 ~]$ exit
logout
Connection to app01 closed.
thor@jump_host ~$ ssh app02
The authenticity of host ‘app02 (172.16.238.12)’ can’t be established.
ECDSA key fingerprint is SHA256:WBLf2jyIsj6edeCwuY2oZjCGke4yhPRq6zAOzLMymnQ.
ECDSA key fingerprint is MD5:0c:13:c3:75:22:35:ed:71:09:e9:51:78:1d:25:1b:67.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘app02,172.16.238.12’ (ECDSA) to the list of known hosts.
[thor@app02 ~]$ exit
logout
Connection to app02 closed.
thor@jump_host ~$ ssh app03
The authenticity of host ‘app03 (172.16.238.13)’ can’t be established.
ECDSA key fingerprint is SHA256:lArx2v6ppVsK7gRODzJv1xAItrYf6Zti+jFUsIM+SPI.
ECDSA key fingerprint is MD5:6d:b7:12:21:e8:5c:28:66:b5:8d:09:df:22:ce:94:fa.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘app03,172.16.238.13’ (ECDSA) to the list of known hosts.
[thor@app03 ~]$ exit
logout
Connection to app03 closed.
thor@jump_host ~$ ssh app04
The authenticity of host ‘app04 (172.16.238.14)’ can’t be established.
ECDSA key fingerprint is SHA256:qAcGnl+Wx7VTFGmv0inQtsj3vkbyALnh5H0RKbj/4Ps.
ECDSA key fingerprint is MD5:d0:4c:68:4a:55:24:ce:a2:91:d3:cd:94:04:b6:a6:05.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘app04,172.16.238.14’ (ECDSA) to the list of known hosts.
[thor@app04 ~]$ exit
logout
Connection to app04 closed.
thor@jump_host ~$ sudo ip addr add 172.16.238.15/24 dev eth0
thor@jump_host ~$ sudo ip addr add 172.16.238.16/24 dev eth0
thor@jump_host ~$ sudo ip addr add 172.16.239.15/24 dev eth0
thor@jump_host ~$ sudo ip addr add 172.16.239.16/24 dev eth0
thor@jump_host ~$ ssh app01
ssh: connect to host app01 port 22: Connection refused
thor@jump_host ~$ ssh app02
ssh: connect to host app02 port 22: Connection refused
thor@jump_host ~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
9: eth0@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:ac:10:ee:0a brd ff:ff:ff:ff:ff:ff link-netnsid 0
27: eth1@if28: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:ac:12:00:07 brd ff:ff:ff:ff:ff:ff link-netnsid 0
thor@jump_host ~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
9: eth0@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:10:ee:0a brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.16.238.10/24 brd 172.16.238.255 scope global eth0
valid_lft forever preferred_lft forever
inet 172.16.239.15/24 scope global eth0
valid_lft forever preferred_lft forever
inet 172.16.238.15/24 scope global secondary eth0
valid_lft forever preferred_lft forever
inet 172.16.238.16/24 scope global secondary eth0
valid_lft forever preferred_lft forever
inet 172.16.239.16/24 scope global secondary eth0
valid_lft forever preferred_lft forever
27: eth1@if28: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:12:00:07 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.18.0.7/16 brd 172.18.255.255 scope global eth1
valid_lft forever preferred_lft forever
thor@jump_host ~$ ping 172.16.238.15
ping: socket: Operation not permitted
thor@jump_host ~$ ping 172.16.238.15/24
ping: socket: Operation not permitted
thor@jump_host ~$ restart
-bash: restart: command not found
thor@jump_host ~$ systemctl restart
Too few arguments.
thor@jump_host ~$ systemctl restart jump_host
Failed to get D-Bus connection: Operation not permitted
thor@jump_host ~$ sudo ip addr add 172.16.239.10/24 dev jump_host
Cannot find device “jump_host”
thor@jump_host ~$ sudo ip addr add 172.16.239.10/24 dev eth0
thor@jump_host ~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
9: eth0@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:10:ee:0a brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.16.238.10/24 brd 172.16.238.255 scope global eth0
valid_lft forever preferred_lft forever
inet 172.16.239.15/24 scope global eth0
valid_lft forever preferred_lft forever
inet 172.16.238.15/24 scope global secondary eth0
valid_lft forever preferred_lft forever
inet 172.16.238.16/24 scope global secondary eth0
valid_lft forever preferred_lft forever
inet 172.16.239.16/24 scope global secondary eth0
valid_lft forever preferred_lft forever
inet 172.16.239.10/24 scope global secondary eth0
valid_lft forever preferred_lft forever
27: eth1@if28: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:12:00:07 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.18.0.7/16 brd 172.18.255.255 scope global eth1
valid_lft forever preferred_lft forever
thor@jump_host ~$ ssh app01
ssh: connect to host app01 port 22: Connection refused
thor@jump_host ~$ ssh app02
ssh: connect to host app02 port 22: Connection refused
thor@jump_host ~$ ssh app03
ssh: connect to host app03 port 22: Connection refused
thor@jump_host ~$ ssh app04
ssh: connect to host app04 port 22: Connection refused
thor@jump_host ~$ ^C
thor@jump_host ~$

Check the steps in the attached gif
app03

1 Like