Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have installed 3 guest server in Oracle Vbox on Host (nn1).(Guest servers Dn1,Dn2 & Dn3)and Host is nn1 .
I can ping nn1 from these Guest's but i'm unable to ping Guests from host nn1.
When I'm trying to ping guests raising below error from Host.Please let me know a solution to make a connection with guests from host.Thanks in advance.
[root#nn1 ~]# ping Dn1
PING Dn1 (10.88.12.5) 56(84) bytes of data.
From 10.88.12.0 icmp_seq=1 Destination Host Unreachable
From 10.88.12.0 icmp_seq=2 Destination Host Unreachable
From 10.88.12.0 icmp_seq=3 Destination Host Unreachable
From 10.88.12.0 icmp_seq=5 Destination Host Unreachable
From 10.88.12.0 icmp_seq=6 Destination Host Unreachable
From 10.88.12.0 icmp_seq=7 Destination Host Unreachable
From 10.88.12.0 icmp_seq=9 Destination Host Unreachable
From 10.88.12.0 icmp_seq=10 Destination Host Unreachable
From 10.88.12.0 icmp_seq=11 Destination Host Unreachable
From 10.88.12.0 icmp_seq=13 Destination Host Unreachable
From 10.88.12.0 icmp_seq=14 Destination Host Unreachable
[root#nn1 ~]# ping Dn2
PING Dn2 (10.88.13.5) 56(84) bytes of data.
From 10.88.12.0 icmp_seq=1 Destination Host Unreachable
From 10.88.12.0 icmp_seq=2 Destination Host Unreachable
From 10.88.12.0 icmp_seq=3 Destination Host Unreachable
From 10.88.12.0 icmp_seq=5 Destination Host Unreachable
From 10.88.12.0 icmp_seq=6 Destination Host Unreachable
From 10.88.12.0 icmp_seq=7 Destination Host Unreachable
From 10.88.12.0 icmp_seq=10 Destination Host Unreachable
From 10.88.12.0 icmp_seq=11 Destination Host Unreachable
From 10.88.12.0 icmp_seq=13 Destination Host Unreachable
From 10.88.12.0 icmp_seq=14 Destination Host Unreachable
From 10.88.12.0 icmp_seq=15 Destination Host Unreachable
[root#nn1 ~]# ping Dn3
PING Dn3 (10.88.14.5) 56(84) bytes of data.
From 10.88.12.0 icmp_seq=2 Destination Host Unreachable
From 10.88.12.0 icmp_seq=3 Destination Host Unreachable
From 10.88.12.0 icmp_seq=4 Destination Host Unreachable
From 10.88.12.0 icmp_seq=5 Destination Host Unreachable
From 10.88.12.0 icmp_seq=6 Destination Host Unreachable
From 10.88.12.0 icmp_seq=7 Destination Host Unreachable
From 10.88.12.0 icmp_seq=9 Destination Host Unreachable
From 10.88.12.0 icmp_seq=10 Destination Host Unreachable
From 10.88.12.0 icmp_seq=11 Destination Host Unreachable
The problem is duplicate routing definitions.
Delete vboxnet0 to remove the route and the NIC so packets won't be "trapped".
Related
My webhost is a solaris server has many IP addresses a few are listed below.
$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ipmp0: flags=108001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,IPMP,PHYSRUNNING> mtu 1500 index 2
inet 10.61.15.6 netmask ffffff00 broadcast 10.61.5.255
groupname ipmp0
ipmp0:1: flags=108001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,IPMP,PHYSRUNNING> mtu 1500 index 2
inet 10.61.15.142 netmask ffffff00 broadcast 10.61.5.255
ipmp0:2: flags=108001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,IPMP,PHYSRUNNING> mtu 1500 index 2
inet 10.61.15.143 netmask ffffff00 broadcast 10.61.5.255
ipmp0:3: flags=108001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,IPMP,PHYSRUNNING> mtu 1500 index 2
inet 10.61.15.144 netmask ffffff00 broadcast 10.61.5.255
.....
I have an apache instance on webhost that acts as proxy and forwards the request to remotehost port 11130
The issue is that the firewall team as allowed connectivity only from this source IP 10.61.15.6 on webhost to destination remotehost port 11130
When i hit the remote application using apache frontend URL
https://mywebhost.mybank.com/remote/health.ping
It works only when the apache soure IP is 10.61.15.6 as the firewall is open and it fails if i keep retrying (refreshing) as the apache httpd source IP changes to others like 10.61.15.142
How can i enforce that the apache httpd https port 443 source IP is always 10.61.15.6 when it connects to any remote host port?
Apache httpd documentation is generally thorough, but you have to know your way around. It's organised by module, so in this case we want the page for mod_proxy.
Looking down that page, I believe the directive you are looking for is "ProxySourceAddress":
Set local IP address for outgoing proxy connections
...
This directive allows to set a specific local address to bind to when connecting to a backend server.
So within your top-level httpd.conf or a <VirtualHost> block, you would write this:
ProxySourceAddress 10.61.15.6
I will describe the problem that I encounter below which is the error message that I can see in WireShark:
ICMP Destination unreachable (Port unreachable)
I am connecting an IP Camera like this:
IP Camera --> Router(no internet connected) --> My PC Computer
IP Camera IP Address: 192.168.1.101
PC Ethernet IP Address: 192.168.1.104
I have disabled all firewalls in Windows 10 and have no antivirus software
(Above 2 IP are put as static IP Address Reservations in the TP-Link Router)
Now I use some code that I have (I will try to not post the code as I dont think that is the problem).
When I run the code, I use WireShark to sniff out what the problem is and I get as seen in image below this error message:
ICMP Destination unreachable (Port unreachable)
I have googled on this error message and I have red almost every post I can find but no one really tells how to solve this problem. Only what it means.
The image shows the error. However each time I run the code, the source/destination ports changes everytime so they are not static. It could be for example those ports as I tried the code at least 3 times:
Source ports: 65063,64077,51923 etc (PC computer)
Destination ports: 6987,6991,6995 etc (IP Camera)
What is causing this error and what can I do to solve this error?
(Image from WireShark)
I'm able to ssh to a host from my machine but when I try to ping the host from my machine, it says 100% packet loss !!
So my query is that what all could be the possible reasons behind this behavior (able to SSH but unable to PING through the same machine).
NOTE: All communication were tried using IP address of the target host.
Two common reasons:
Firewall. in local host, target host, or somewhere in route between hosts.
ICMP echo responsing is disabled in the target host.
If DNS query is used, ping and ssh tools may select different IP from the response. For example ping may select IPv6 address, and ssh IPv4 address. --> Try tools with IP addresses instead of host names.
libvirt.libvirtError: unable to connect to server at 'ccrfox112:49152': Connection timed out
When migrating QEMU guests, without tunnelling via libvirtd, QEMU will listen on a port number in the range 49152->49216 for a connection from the source host. This error messages shows that the source host was unable to connect to the target host. You've not provided any useful information about your setup, so I'd have to guess that probably you have firewall rules on the target host that are blocking the source host access to the TCP port in question.
In UDP, destination IP and destination port number are used to demultiplex the packets, but in TCP destination IP, source IP, destination port number and source port numbers (4-tuple) all needed to distinguish between the connections why reasoning for this usage.
This is entirely due to the fact that UDP is connectionless - it doesn't have any concept of connections, so it is only the destination address that matters.