Please help icmp destination unknown port unknown
Hi,
I have a client running on my windows vista machine sending SIP requests to my Redhat guest. However the guest is responding with icmp destination unreachable port unreachable. I can't figure out why. Please help Thanks Graham iptables disabled selinux disabled windows firewall disabled vmware setup Host-only Windows Vista Host using VMnet1 use the following ip address:- 192.168.136.3 255.255.255.0 Guest Redhat AS 4 update 4 192.168.136.2 255.255.255.0 Sending SIP packets ----> towards guest host <----////ICMP destination unreachable host unreachable tracert from host C:\Users\Graham>tracert 192.168.136.2 Tracing route to 192.168.136.2 over a maximum of 30 hops 1 <1 ms <1 ms <1 ms 192.168.136.2 Trace complete. traceroute from guest [root@grahamb network-scripts]# traceroute 192.168.136.3 traceroute to 192.168.136.3 (192.168.136.3), 30 hops max, 38 byte packets 1 192.168.136.3 (192.168.136.3) 0.315 ms 0.236 ms 0.295 ms ping also works from both host and guest tried adding a route from guest to host Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.136.3 192.168.136.3 255.255.255.255 UGH 0 0 0 eth0 192.168.136.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default 192.168.136.3 0.0.0.0 UG 0 0 0 eth0 |
Hi -
do you have SIP server listening on eth0 interface of Linux? |
wireshark trace
1 Attachment(s)
Hi hi2arun,
I am running a client called Boghe, he is sending a REGISTER REQUEST, but the response is blocked I see in wireshark trace. See attached |
Can you paste the output of
Quote:
|
thanks here is the output
[root@grahamb network-scripts]# netstat -anup
Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:896 0.0.0.0:* 3685/rpc.statd udp 0 0 0.0.0.0:32770 0.0.0.0:* 5457/named udp 0 0 127.0.0.1:6060 0.0.0.0:* 6065/ser udp 0 0 192.168.136.2:53 0.0.0.0:* 5457/named udp 0 0 127.0.0.1:53 0.0.0.0:* 5457/named udp 0 0 127.0.0.1:5060 0.0.0.0:* 6010/ser udp 0 0 127.0.0.1:4060 0.0.0.0:* 5963/ser udp 0 0 0.0.0.0:111 0.0.0.0:* 3665/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 3095/cupsd udp 0 0 0.0.0.0:893 0.0.0.0:* 3685/rpc.statd udp 0 0 :::32771 :::* 5457/named [root@grahamb network-scripts]# |
Quote:
Make your SIP server listen on all interfaces. That should do. |
Thanks
I'll give that a go and see what I come out with :)
|
one more question redirect loopback -> eth0
I am using open source software which is listening on 127.0.0.1
would there be a clever way to redirect 127.0.0.1 to the ip of the eth0 thanks graham |
Quote:
Code:
iptables -t nat -I PREROUTING -i eth0 -p udp --dport 5060 -j DNAT --to 127.0.0.1:5060 |
THANKS again
Fantastic that worked
|
You are welcome :)
Ty. |
No response after iptables command from guest
1 Attachment(s)
Hi after issuing the iptables command I get no response from the guest,
see wireshark trace thanks graham |
What is the output of
Quote:
Quote:
|
thanks i just need 5 mins to reset my guest
5 mins to reset guest
|
FYI... If you are resetting the guest coz you enabled ip_forward, that is not necessary. ip_forward change can go effective without reboots.
|
All times are GMT -5. The time now is 02:47 AM. |