INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Pinging 2 devices connected to switch

Pinging 2 devices connected to switch

(OP)
hey there,

i have 2 devices connected to a switch, that is connected to my computer.
IP's device 1: 192.168.0.180 device 2: 192.168.0.170 computer 192.168.0.175 . subnet masks 255.255.255.0

is it possible to ping from computer to check if device 1 is connected to device 2 ? if i ping them the "usual" way they respond. But i wanna know if they are connected between them..

i tried "tracert -S 192.168.0.170 192.168.0.180" but it says that it is a non valid ip adress.

Cumps

RE: Pinging 2 devices connected to switch


Sounds like you are in need of a network monitoring software that allows you to see network traffic.

Ed Fair
Give the wrong symptoms, get the wrong solutions.

RE: Pinging 2 devices connected to switch

(OP)
i already used angry ipscan but it only shows the ip's ( that i already know ). i "simply" want to know if device 1 and 2 are connected between them..

dunno why but i tried : ping -S 192.168.0.180 192.168.0.170

and the prompt says that "PING:transmit failed. General failure". idk what it means..

RE: Pinging 2 devices connected to switch

Define what you mean by connected.

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.

RE: Pinging 2 devices connected to switch

(OP)
via ethernet crossed cable, with a switch. yet, all of them with static ip.

and "connected" as if they can send messages/commands between them.

RE: Pinging 2 devices connected to switch

The only way to tell if two devices are "connected" is if the device has an indicator (light or software) to tell you, or sniff the traffic to one of the devices and you can tell by the packet if they are sending data back and forth to one another. Wireshark is good for this. You can span the device switch port to your PC port and sniff the traffic.

RE: Pinging 2 devices connected to switch

(OP)
@robertjo24 i already have wireshark. but how do i "sniff the traffic" in order to know if they are connected? ty

edit: from 192.168.0.170 -> "64 Who has 192.168.0.180? [ ETHERNET FRAME CHECK SEQUENCE INCORRECT ] " well i guess they are not connected. :/

RE: Pinging 2 devices connected to switch

What are you trying to achieve at the "application" layer

I'm sorry but without knowing what you are trying to do in a whole hell of a lot more detail, we are guessing. I'd also add (non critically) that you are in great need of a simple book on networking.

Take Care

Matt
I have always wished that my computer would be as easy to use as my telephone.
My wish has come true. I no longer know how to use my telephone.

RE: Pinging 2 devices connected to switch

(OP)
no problem!
device 1 is supposed to send hex values to device 2 via tcp/ip. that hex sequence have the values that define the whole commands that device 2 needs to refresh the internal values.
i know that the sequence is right cause if i send them via PacketSender they refresh the internal values.

device 1 is programmable and i can set the Network client properly. Host adress, port number and so on.. device 2 is set to receive new clients with FIFO principle.


i know the principles of networking.. but this is giving me errors that aren't suppose to happen.

RE: Pinging 2 devices connected to switch

(OP)
update: after a few minutes looking at wireshark, i saw that device 2 is responding to computer requests. but it doesn't answer the device 1. how can it be? did i configure something wrong?

all i have to do is set the ip's, subnets , ports and it should work. i mean, the commands i sent via packetsender are the same the device 1 sends.. and i only have to configure that too.
anyone knows if packetsender opens connection somehow different?

RE: Pinging 2 devices connected to switch

(OP)
well, just to close the topic, i finally did it. the string was wrong, cause the same way packetsender does, we have to send a "mixed" string, with the values of the starters and so on in hexadecimal, but the data values in ascii. once the full string was "wrong", the connection wouldn't open. thank you all

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close