Discussion Locked

Can I ping a cable modem?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a cable modem on my computer, can I
somehow ping the modem from the machine that
it's attached to and find out the IP address
of the machine? I want to be able to send out a ping to any IP address and have it come back with a list of the location pinged and
my IP address.

Can this be done?

7 replies

by gutridgesj

As to the first question - The arp table (arp -a on NT, unix has other commands) will have the IP addresses and the hardware (NIC) addresses of all the devices that have been attached to a PC. Then, since you know the nic address of your pc, your can get the ip address.

I do not understand the 2nd question all that much. If you are using Unix, you could write your own version of ping. Normally ping sends back the ip address you are pinging and the stats for the ping.

by mbr2

I appreciate the help, and maybe I should clarify what I want to do.

1. I have a Windows 95 computer with a cable modem attached.
2. I am trying to find out the IP address that is assigned to my machine.
3. Can the PING command in Win 95/98/NT tell me the IP address
of my cable modem? Is there a switch that I can add to the "PING"
command that will tell me the IP Adress that I am using, or is there
another way to find this out?

by gutridgesj

You are asking more than one thing, but I think what you really want is simply to know the IP address of the Win95 PC you are using?

Click on Start, Run, type in winipcfg in the box, click on ok. A screen will pop up with all that you need.

If you want the IP address of your Cable Modem, which is not the same as your PC, then that is different. First, power off the cable modem and PC so that you start off fresh. Or, if you know the arp command that flushes the cache, use that. Look atthe arp table after doing a ping and since you now know your PC address, the other one will be the cable modem. I do not have a Win95 PC near me at the moment to get the arp command parameters. But, I could if that is the other question you wantedto know.

Steve

by mbr2

Steve,

Thanks for your help I don't know why I couldn't remember winipcfg.exe!
I've used it before, I guess I thought it would have to be more difficult!

by pvp

Go to http://www.topjimmy.net/tjs/ and download TJPing. Your local IP address will show in the title bar (resize the window if necessary) on starting.

Better yet, buy the full version, TJPingPro for a whopping US$12.50 so Top Jimmy gets another reminder that he did a great job.

This discussion is closed to new replies.