Zend certified PHP/Magento developer

ping – Destination Host Unreachable on my machine, but works on other machines

i am using debian, i used to ssh to a machine 172.21.128.61 inside my local network a few weeks ago, probably after the updates i cannot ssh into that machine again, ssh username@172.21.128.61 shows:

ssh: connect to host 172.21.128.61 port 22: No route to host

so i tried pinging the machine ping 172.21.128.61 shows:

PING 172.21.128.61 (172.21.128.61) 56(84) bytes of data.
From 172.21.0.1 icmp_seq=1 Destination Host Unreachable
From 172.21.0.1 icmp_seq=2 Destination Host Unreachable
From 172.21.0.1 icmp_seq=3 Destination Host Unreachable
^C
--- 172.21.128.61 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5128ms
pipe 4

Another windows machine in the same network is able to ssh into the machine 172.21.128.61 as well as getting the response on pinging.

i can ssh into demo@test.rebex.net which is a demo ssh server (ofc not local)

I think i may have messed up my ssh client for local networks.

Additional info

My machine’s local IP: 172.39.40.111/22

Default gateway: 172.39.40.1

ip addr returns:

2: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 14:f6:d8:f3:85:81 brd ff:ff:ff:ff:ff:ff
    inet 172.39.40.111/22 brd 172.39.43.255 scope global dynamic noprefixroute wlp0s20f3
       valid_lft 12379sec preferred_lft 12379sec
    inet6 fe80::2cfd:51da:c35:978b/64 scope link noprefixroute
       valid_lft forever preferred_lft forever