How to get WSID & Subnet Mask for local system

Hi,
In my application I have to show local system IP Address, WSID & Subnet Mask.
Local IP Address I can obtain using InetAddress.getLocalHost() but couldnt get any idea how
to get WSID & Subnet Mask.
Please help me out.
Thanks in advance.

Thanks for your reply,
Actually my application is using JDK 1.5 & I cannot change the JDK version because application is working on various client location.
Is there no option to get WSID or Subnet Mask in JDK 1.5. Need some alternative solution which will work in JDK 1.5

Similar Messages

  • How to find Default Subnet mask for 192.168.10.7/10?

    Hi,
    I am studying for CCNA and right now going through Subnetting section. Came across this question : What is the default subnet mask for ip address 192.168.10.7 / 10? If my requirement is to connect 1000 hosts then how many subnets, hosts per subnet and host range can i get using this?
    Using 10 mask bits, we get dsm as 255.192.0.0. but  192.168.10.7 is class c address then how can we hav 10 mask bits?
    Thanx
    Mahima

    hello Ganesh
    u
    are making me confused. A /10 cidr means i have 2 subnet bits which
    give 2^2 = 4 networks and remainings bits are the host bits (22) which
    definitely give more than 1000 hosts. According to Todd calculation,
    there will be four network, 64 will be the block size so we will hav
    four network of 192.0.0.0 , 192.64.0.0 , 192.128.0.0 , 192.192.0.0
    .Isn't it?
    How u arrived at 64 networks?
    thanx
    mahima
    Hello Mahima,
    You are right 64 will be the block size and following will be the subnetting for 192.168.10.7/10
    192.168.10.7/10
    current network 192.128.0.0 mask 255.192.0.0
    current host range 192.128.0.1 to 198.191.255.254
    Next subnet will be 192.192.0.0/10
    current host range 192.192.0.1 to 192.255.255.254
    And following will be the subnet
    Subnet          ,   Valid Hosts                       ,   Broadcast      
    192.128.0.0     ,   192.128.0.1 to 192.191.255.254    ,   192.191.255.255
    192.192.0.0     ,   192.192.0.1 to 192.255.255.254    ,   192.255.255.255
    193.0.0.0       ,   193.0.0.1 to 193.63.255.254       ,   193.63.255.255
    193.64.0.0      ,   193.64.0.1 to 193.127.255.254     ,   193.127.255.255
    193.128.0.0     ,   193.128.0.1 to 193.191.255.254    ,   193.191.255.255
    193.192.0.0     ,   193.192.0.1 to 193.255.255.254    ,   193.255.255.255
    194.0.0.0       ,   194.0.0.1 to 194.63.255.254       ,   194.63.255.255
    194.64.0.0      ,   194.64.0.1 to 194.127.255.254     ,   194.127.255.255
    194.128.0.0     ,   194.128.0.1 to 194.191.255.254    ,   194.191.255.255
    194.192.0.0     ,   194.192.0.1 to 194.255.255.254    ,   194.255.255.255
    195.0.0.0       ,   195.0.0.1 to 195.63.255.254       ,   195.63.255.255
    195.64.0.0      ,   195.64.0.1 to 195.127.255.254     ,   195.127.255.255
    195.128.0.0     ,   195.128.0.1 to 195.191.255.254    ,   195.191.255.255
    195.192.0.0     ,   195.192.0.1 to 195.255.255.254    ,   195.255.255.255
    196.0.0.0       ,   196.0.0.1 to 196.63.255.254       ,   196.63.255.255
    196.64.0.0      ,   196.64.0.1 to 196.127.255.254     ,   196.127.255.255
    196.128.0.0     ,   196.128.0.1 to 196.191.255.254    ,   196.191.255.255
    196.192.0.0     ,   196.192.0.1 to 196.255.255.254    ,   196.255.255.255
    197.0.0.0       ,   197.0.0.1 to 197.63.255.254       ,   197.63.255.255
    197.64.0.0      ,   197.64.0.1 to 197.127.255.254     ,   197.127.255.255
    Hope to Help !!
    Ganesh.H

  • Can anyone help me figure out how to get an online driver for base system device and mtp usb device?

    pavilion dv7 1245ca
    This question was solved.
    View Solution.

    Awesome. Thats a nice phone You didnt include what operating system you were using so I couldnt link you the actual download but here is the link to the download page for the SIII. All you need to do is find the correct operating system you are using.
    http://goo.gl/GZcLP
    Hope this helps!
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • How do I get the subnet mask

    How do I get the subnet mask for each IP address my host supports in Java? I need to get this so I can send a local broadcast on a specific subnet.
    Thanks,
    Doug Grover

    Actually on windows you are probably going to beusing
    ipconfig."ipconfig" will give you the values for each network
    interface on your machine bound to the TCP/IP
    protocol.
    "route print" will print the windows routing table for
    the network the machine is on.
    Quoted from the Microsoft web site, "The routing table
    is built automatically, based on the current TCP/IP
    configuration of your computer. Each route occupies a
    single line in the displayed table. The routing table
    is searched by your computer for an entry that is the
    most specific match to the destination IP address."
    Yes I know what it does.
    In most cases when someone wants this information they use ipconfig.
    Although your suggestion does work on older boxes as well. But the result is somewhat less evident.

  • HT204291 how do get the media icon for mac mirroring when running airplay on itunes?

    how do get the media icon for mac mirroring when running airplay

    Airplay mirroring requires a Mac from 2011 or later, running OSX 10.8 (or later)
    http://support.apple.com/kb/HT5404?viewlocale=en_US&locale=en_US

  • How to get the last error for while loop?

    How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.

    What do you mean by "get" and "transfer"?
    If the shift register is not what you want, use a plan tunnel instead.
    Typically, programmers are interested in the first, not last, error.
    Can you show us your code so we have a better idea what you are trying to?
    LabVIEW Champion . Do more with less code and in less time .

  • How to get title templates library for CC?

    How to get title templates library for CC?  Do you have to download and install PP 6 to get them?

    Try here Library, title templates, template projects missing: Premiere Pro, After Effects, Encore

  • How to get balance sheet report for profit centers

    hi
    how to get balance sheet report for profit centers, is there any transcation code to get that report or i need to create a report painter report for this

    Hi,
    You can use T. code KE5Z for actual line items.
    More to this you can use program RFBILA10 (Use T. code SE38 and program RFBILA10) for complete blance sheet.
    The transaction is for special purpose ledger but this program RFBILA10 can be used for profit center balance also.
    In selection, you can give ledger name which is generally 8A for profit center ledger.
    Reg

  • I went to add my iPod to another computer and when I did it re-bought all of my music and I would like to know how to get my money back for it?

    I went to add my iPod to another computer and when I did it re-bought all of my music and I would like to know how to get my money back for it?
    anyonr know how I can get my money back????????

    Go to Settings>General>Reset>Erase all content and setting. Then re-setup the iPod with your account/media. To redownload iTunes purchases see:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to get 64 bit version for premiere elements 12

    How to get  64-bit version for Premier Elements 12 ? 
    I download from ADMISY site.
    Click on win 64 bit and download it.
    When I try to install ther is a error  this download version is not for 64 bit I have try many times but same result

    Hello
    I have been away some days
    ADMISY is a software partners for Adobe
    I running Win 7 Home Edition
    I have received a card with a code when I bought the program and the I
    download from ADMISY
    Sending serial and installation warning
    PhotoshopElements_12_WWEFDJ.7z
    PhotoshopElements_12_WWEFDJ
    PremiereElements_12_WWEFDJ_win32.7z
    PremiereElements_12_WWEFDJ_win32
    I can not find a 64 bit version of 32-bit or 64-bit version of downloads
    This is information I have
    Best regards
    Erling Magnusson
    2015-02-04 22:33 GMT+01:00 Adobe Forums <[email protected]>:
        How to get 64 bit version for premiere elements 12  created by A.T.
    Romano <https://forums.adobe.com/people/A.T.+Romano> in *Premiere
    Elements* - View the full discussion
    <https://forums.adobe.com/message/7162950#7162950>

  • How to get the depreciation areas for an asset in particular period

    Hi frndz,
      how to get the depreciation areas for an asset in a particular period for writeup or manual depreciation method.
    Thanks and regards.
    Harisumanth.Ch

    Try table ANLB, then read ANLC.
    Regards.

  • How to get the version no. for service po?

    Hi,
    How to get the version no. for service po?For material po we are getting the version from EKKO-REVNO but for service po Ekko-revno is blank.
    Regards,
    Rachel.

    Hiee,
    It is not like service PO does not have revision.
    REVNO will only exists for any document if amendment is made after releasing it. If in EKKO for all service PO revision number is blank then test if version management is active for document type
    MM->Purchasing->Version management -> External documents
    Here check for your doc type and purchase org version management is active.
    Regs,
    Appie

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

  • How to get count of rows for a table?

    Hi,
    How to get count of rows for a table and secondly, how can i have access to a particular cell in a table?
    Regards,
    Devashish

    Hi Devashish,
    WdContext.node<Your_node_name>().size() will give you the no: of rows.
    This should be the node that is bound to the table's datasource property.
    WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value); will select the row at that particular index.
    You can access an attribute of a particular row as
    WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value).get<attribute_name>();
    Hope this helps,
    Best Regards,
    Nibu.
    Message was edited by: Nibu Wilson

  • How to get the document number for a ware house order.

    Hello gurus,
    how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
    Thanks in advance

    There are several options.  When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
    Depending on how your system is set up you may have gotten a Transfer Order automcatically.  In this case you can look at LT24 - Transfer Order for material.

Maybe you are looking for

  • Not able to enter data in Function module

    Hi, I have created a function module with import parameter as a table. I have executed the function module from SE37 and tried to enter the data in the table. If I click the table...its not showing new line...its displaying a message that "THE OBJECT

  • Replacing TAXINJ with TAXINN

    All SAP Gurus, We are having the TAXINJ at present. But we want to replace it with TAXINN. Shifting from TAXINJ to TAXINN will be planned from certain date, say 01.10.2008 But after assigning TAXINN, we should be able to view all old documents which

  • How to create read only properties in a component?

    I want to set a property in a nucleus component of global scope as read only, so that it cannot be set via dyn admin. I want this property to be set only via properties file at server startup. I tried removing the setter method as suggessted in the g

  • Digitizer Driver for T410s?

    I'm curious as to why the T410s has a driver for a digitizer.   (Windows 7 64-bit, released 4/26/2010) http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73771 I read some of the forums and people stated that the T410s does not suppo

  • Queues are blocked in PI

    Queues are blocked in PI,I am unable to release it from SMQ2.Can you please tell me what other methods can I follow to release them.Can I delete them?is it ok Thanks