IP Address Shortcut

5 pts.
Tags:
IP address
Networking
I would like to know if there is a way to access another computer documents shared in a network using only numbers instead of the whole IP address? Example: I'm able to access the documents of computer #2 using its IP Address (\192.168.1.2), the path address is too long, I would like it shorten it by just typing only (2) instead of (\192.168.1.2) in a run command.
Thanks, hope someone can help me.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    Two somewhat related situations for your question come to mind. But first, no, there is no shortcut as you describe; but forms "shortcuts" exist.

    First, put an entry into your local hosts table that has a host name of perhaps 'two' for IP address 192.168.1.2. You can then use commands such as ping two instead of ping 192.168.1.2 to reach that host. (I've seen a case where even a numeric host name was looked up before it was converted to the actual 32-bit internal format, but I've never experimented with it.)

    Using host names is the preferred method, and actual entries in your DNS is most preferred. But hosts entries are usually available unless site security restricts access.

    But second, there is an obscure method that somewhat meets your request. At a command line, run this command:
    ping 192.168.258
    If that succeeds, try:
    ping 3232235778
    I don't know your OS nor version and I don't have a Windows test platform newer than an old WinXP box, but both those work in WinXP and in Linux as well as some other OSes I tested against. By comparing your original IPv4 address with my first suggestion and then with my second suggestion, you should be able to work out the pattern.

    It's quite a way away from your requested "2", but this does give an answer. Trying to use just "2" implies that your system could successfully guess when you wanted "192.168.1.2" rather than "192.168.2.2", "192.168.11.2" or even "72.14.5.2".
    26,650 pointsBadges:
    report
  • Subhendu Sen
    You can keep this IP address as a bookmark of the browser whatever you use. There is an option to make bookmark of any website or IP address. Next time just click the bookmark to open it.
    112,290 pointsBadges:
    report
  • ToddN2000
    What command are you using? You could create custom command that uses a table with predefined IP addresses and a look up.
    108,130 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: