I am trying to programmatically get the subnet mask of the host and this
under linux.


> Let me first make sure I understand the question. You want to figure out the
> subnet mask of another machine, remotely? 
> 
> My first choice would be go over to the machine and run ipconfig, or Unix
> equivalent (I am not a Unix guy :)) and get the information that way. If
> however you are trying to programmatically do this, for example you are in
> Texas and the computer is in California, it gets more difficult. If they are
> Windows based clients, you can use WSH or WMI against them to read that
> information. Check out http://cwashington.netreach.net for example scripts.
> I don't know if Unix hosts have similar features. HTH
> 
> Wes Noonan, MCSE/MCT/CCNA/NNCSS
> Senior QA Rep
> (713) 918-2412
> BMC Software, Inc.
> [EMAIL PROTECTED]
> http://www.bmc.com
> 
>  -----Original Message-----
> From:         Hafida Fouta [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, October 09, 2000 09:25
> To:   [EMAIL PROTECTED]
> Subject:      Subnet mask
> 
> Dear all,
> I have the IP address of a host and I want to get its subnet mask
> can any one tell me how I can do this?
> 
> Thanx in advanc
> 
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
> 

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to