Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Networking Networking
Search Search
Search for:
Tech Support Guy > > >

How to know the subnet mask of other machine.


(!)

barjeshforyou's Avatar
barjeshforyou barjeshforyou is offline
Computer Specs
Junior Member with 7 posts.
THREAD STARTER
 
Join Date: Dec 2007
Experience: Intermediate
08-Dec-2007, 11:38 AM #1
How to know the subnet mask of other machine.
Hi All,

there is one machine on my LAN and I want to know its subnet mask. When I try traceroute command, it shows there is one more machine (Gateway) in between.Does it mean the first machine is on some different network?

Thanx in advance,
Barjesh.
TheOutcaste's Avatar
Computer Specs
Member with 9,028 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
08-Dec-2007, 07:56 PM #2
This little app might work
Remote IP Config

HTH

Jerry
Bob Cerelli's Avatar
Member with 22,468 posts.
 
Join Date: Nov 2002
08-Dec-2007, 10:04 PM #3
What do you need to do special to get that program to work.

When I run it with the remote computer's name after the command, the IP address information is not shown.
TheOutcaste's Avatar
Computer Specs
Member with 9,028 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
08-Dec-2007, 11:52 PM #4
Stumbled on this a couple of days ago actually, didn't do anything special. Tested it against one Win2k system and one XP system, it worked (though it displays the lease times in dd-mm-yyyy format even though my systems are set for mm-dd-yyyy), and haven't touched it since.
Only instructions I found are this:
The remote machine must have Remote Registry Service and WMI Service running and you'll need administer privileges on the target machines.
Did a little more testing after seeing your post, and here's what I got:

I have an NT 4.0 domain, and am running the program from a WinXP MCE box signed in with a Domain Admin account. The other computers on the network are signed in with the same account. The two NT servers are signed in as Administrator. Running from a Win2k box gave the same results with one exception noted below. The program won't run on NT - mscoree.dll is needed and it's not on the NT box (so much for NT compatibility).

Tested all my systems, the 3 Win2k work, one XP box works, and one XP box fails, the NT 4.0 Servers fail, and Win 98 fails, . I suspect that Win NT Workstation will also fail, I'll have to reboot the Win98 box and see.

Win98:
Code:
C:\>RmtIPcfg.exe WIN98

Remote Windows IP Configuration v. 1.0.2 by Morten Skrubbeltrang


Failed to connect: Object reference not set to an instance of an object.
Win NT:
Code:
C:\>RmtIPcfg.exe PDC

Remote Windows IP Configuration v. 1.0.2 by Morten Skrubbeltrang

        Host Name . . . . . . . . . . . . : PDC
        Primary DNS Sufix . . . . . . . . : attbi.com
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : attbi.com

Failed to connect: Class not registered
and the failing XP system:
Code:
C:\>RmtIPcfg.exe WinXP2

Remote Windows IP Configuration v. 1.0.2 by Morten Skrubbeltrang

        Host Name . . . . . . . . . . . . : WinXP2
        Primary DNS Sufix . . . . . . . . :

Failed to connect: The RPC server is unavailable.
Running from a Win2k system give a bit more info, the error is
Code:
Failed to connect: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

The RPC Services are set the same as on the XP system that works, and Remote Registry and WMI are both running, so have to do some more digging on that one.

Then the program turned its self into a 0 byte file -- had to re-extract it from the zip file

I don't have firewalls enabled on any of the systems, and both XP boxes have remote desktop and assistance enabled. Only thing "special" I've done (other than running an NT Domain in my basement ) is set up the remote registry service on the Win98 system so I can access it's registry remotely.

Just found this freeware tool Remote Command GUI

Going to give it a test and see if it works any better. Says you have to have .NET framework on the machine that is running it, and admin rights on the target system
Bob Cerelli's Avatar
Member with 22,468 posts.
 
Join Date: Nov 2002
08-Dec-2007, 11:59 PM #5
Sounds pretty inconsistent at best. Lot of work just to find out the subnet mask on one computer.

May be easier just to look at the computer.
TheOutcaste's Avatar
Computer Specs
Member with 9,028 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
09-Dec-2007, 12:06 AM #6
Same results with the Remote Command GUI, except the Win98 system also says RPC Server not available. It does let you run other commands though, so if it works could be useful. You're right though, if it doesn't work out of the box, easier to go to the other system and check it that way.

Me, I just have ultra VNC on all the boxes, and can do most anything I want
Bob Cerelli's Avatar
Member with 22,468 posts.
 
Join Date: Nov 2002
09-Dec-2007, 12:12 AM #7
Doesn't sound like a particularly reliable program.

Again with just one computer in question, simply look at it's TCP/IP settings to determine the subnet mask. It's not like you have a ton of them all spread over an office.
TheOutcaste's Avatar
Computer Specs
Member with 9,028 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
09-Dec-2007, 12:42 AM #8
Well, I certainly don't, but I have no idea how far away barjeshforyou is from the PC he wants to check on. If his network is spread out so far that he can't just walk over and look at it, it's time to call the person using the PC and have them look it up. Or hit the Boss up for that company car, a fast one to save time of course
Bob Cerelli's Avatar
Member with 22,468 posts.
 
Join Date: Nov 2002
09-Dec-2007, 10:28 AM #9
Quote:
Originally Posted by TheOutcaste
You're right though, if it doesn't work out of the box, easier to go to the other system and check it that way.
Exactly.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑