Article 4VBKT cannot ping from server to client but can ping from client to server.

cannot ping from server to client but can ping from client to server.

by
rahulvishwakarma
from LinuxQuestions.org on (#4VBKT)
i've centos7.5 in both server and client in VMware. i can ping from client to server succesfully but i can not ping from server to client. mine /etc/hosts files are :-

server:
Code:192.168.40.3 centos75client centos75client.db.net
192.168.40.1 centos75dns centos75dns.db.netand same as this, is client's /etc/hosts file.

I set on both server and client firewall runtime and permanent ftp and dns enabled and added in both trusted and public and also added 53 and 21 port numbers.

this I set in both server and client.

output of ping from server to client :-
Code:[root@centos75dns centos75]# ping centos75client
PING centos75client (192.168.40.3) 56(84) bytes of data.
From centos75dns (192.168.40.1) icmp_seq=1 Destination Host Unreachable
From centos75dns (192.168.40.1) icmp_seq=2 Destination Host Unreachable
From centos75dns (192.168.40.1) icmp_seq=3 Destination Host Unreachable
From centos75dns (192.168.40.1) icmp_seq=4 Destination Host Unreachable
From centos75dns (192.168.40.1) icmp_seq=5 Destination Host Unreachable
From centos75dns (192.168.40.1) icmp_seq=6 Destination Host Unreachable

[root@centos75dns centos75]# ping 192.168.40.3
PING 192.168.40.3 (192.168.40.3) 56(84) bytes of data.
From 192.168.40.1 icmp_seq=1 Destination Host Unreachable
From 192.168.40.1 icmp_seq=2 Destination Host Unreachable
From 192.168.40.1 icmp_seq=3 Destination Host Unreachable
From 192.168.40.1 icmp_seq=4 Destination Host Unreachablehow to get pinging both side.latest?d=yIl2AUoC8zA latest?i=XLLefjzKeMo:Pxz6diCKsOo:F7zBnMy latest?i=XLLefjzKeMo:Pxz6diCKsOo:V_sGLiP latest?d=qj6IDK7rITs latest?i=XLLefjzKeMo:Pxz6diCKsOo:gIN9vFwXLLefjzKeMo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments