Link to home
Start Free TrialLog in
Avatar of mac_g
mac_gFlag for Saudi Arabia

asked on

Linux : ping /traceroute to destination strange output.

In our linux server we  there are 2-bond interface  has been configured.

server IP = 10.X.X.X
bond-0   = 192.X.X.X

when we try to ping  destination server IP, it was not reachable.
when we traceroute/ping  request to target server , the output getting like below
#from 192.X.X.X icmp_seq=54 destination host  UNreachable

very strange to get this kind of output.

Source should be Server IP, where as it giving us reply Bond-0,  This had some partial impact some service.
Kindly advise how to resolve this issue.
SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mac_g

ASKER

the port which we had opened in firewall  between     SOURCE SERVER IP - DESTINATION SERVER IP

that have been working since long time.

when we tracerout as it is giving reply from bond-0 interface,  that firewall rules setting not configured .. so was the issue I suspect.

if it gives reply from server IP, my is is it will resolve the issue of the services which has been running on the server.

Kindly advice  how to fix from OS side, rather Network.
Look at the routing table: netstat -rn
Ifconfig -a
Avatar of mac_g

ASKER

@arnold
could  pleas provide solution to work .. I can see output for netstat -an
-an reports connections I asked for -rn which reports the routing table. This dictates how your ping, traceroute works
ifconfig -a
Reports the network adapter line up.

Please note 192.168 and 10. Are part of a private ip range and is not unique to you where you need to mask it.

If you can, include the traceroute output.
Avatar of mac_g

ASKER

==============
server IP
# hostname -i
10.100.41.ZZ

===========
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         10.80.41.254    0.0.0.0         UG        0 0          0 bond1
10.100.41.0      0.0.0.0         255.255.255.0   U         0 0          0 bond1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 bond1
======

XX- destination Ip we are trying to reach
YY - bond0 IP

ping 192.168.0.XX
PING 192.168.0.XX (192.168.0.12) 56(84) bytes of data.
From 192.168.0.YY icmp_seq=2 Destination Host Unreachable
From 192.168.0.YY icmp_seq=3 Destination Host Unreachable
From 192.168.0.YY icmp_seq=4 Destination Host Unreachable

=========

traceroute 192.168.0.XX
traceroute to 192.168.0.XX (192.168.0.XX), 30 hops max, 60 byte packets
 1  FMW-JAVASRV01-192-168-0-YY (192.168.0.YY)  3005.382 ms !H  3005.379 ms !H  3005.375 ms !H
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial