Switching and Routing Lab

Hi I am facing problem with questions #8 and #9. Can someone please suggest some step by step resolution how to do them.

Chek the answer of the 6:9 questions below:
check9
check7&8

@Ayman : It’s not working for me. I tried to use the hint but it failed with below error please advise

thor@jump_host ~$ ssh app01
ssh: connect to host app01 port 22: Connection refused
thor@jump_host ~$
thor@jump_host ~$ ssh app02
ssh: connect to host app02 port 22: Connection refused
thor@jump_host ~$
thor@jump_host ~$ ssh app03
ssh: connect to host app03 port 22: Connection refused
thor@jump_host ~$
thor@jump_host ~$ ssh app04
ssh: connect to host app04 port 22: Connection refused
thor@jump_host ~$
thor@jump_host ~$ ip route
default via 172.16.238.1 dev eth0
172.16.238.0/24 dev eth0 proto kernel scope link src 172.16.238.10
172.16.239.0/24 dev eth0 proto kernel scope link src 172.16.239.15
172.18.0.0/16 dev eth1 proto kernel scope link src 172.18.0.8
thor@jump_host ~$
thor@jump_host ~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 0 0 0 eth0
172.16.238.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.16.239.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
thor@jump_host ~$ ^C
thor@jump_host ~$ ^C

thor@jump_host ~$ cat /proc/sys/net/ipv4/ip_forward
1
thor@jump_host ~$
thor@jump_host ~$ sudo netstat -lntp | grep 22
thor@jump_host ~$
thor@jump_host ~$ sudo netstat -lntp | grep listen
thor@jump_host ~$
thor@jump_host ~$ sudo netstat -lntpu | grep listen
thor@jump_host ~$
thor@jump_host ~$ sudo netstat -lntpu | grep 22
thor@jump_host ~$
thor@jump_host ~$

1 Like

Could you try from another browser or network? as I checked it again and it works fine.

In question number 8 i am getting below error when i try to ssh -

@Piyushm , From the screenshot it seems that there is some mistake done. Please see the ip a result as shown in screenshot.

Hi,
In question number 9 i am getting below error while pinging from app01 to app03. Please check i have followed all procedures mentioned in the hint.

1 Like

@Ayman sorry but I have a doubt, the question in the lab, includes to delete the previous IP, it also mentioned that you need to be careful, because you can cause loose the communication.

You did not delete the old IPs in this reply, and I’m having some issues, when I do that for app03 and app04, since the new IPs belongs to another vlan, so the Jump box can’t reach vlan 239.

Can you complete that?

@Ayman The question 6 in this lab also asks to delete the existing IPs carefully so as not to break the setup. I have tried atleast 10 times but it does not work. Your solution has not included that part and hence I am unable to complete the lab. I tried to remove the exisitng IP but it always breaks the system. Can you please revisit this one.

@Ayman need complete steps on 6 8 9 steps pls

1 Like

Check the solution of 6&7&8 &9:
check7&8

check9

1 Like