IP地址的一些問題

2008-02-23 4:02 am
IP地址的一些問題
1.如何知道自己部電腦的IP地址?又如何查得出別人的部電腦的IP地址?

2.知道ip地址可以知道了什么資料?

咩叫"用戶端ip地址"和"伺服器ip地址"兩者有何分別

回答 (1)

2008-02-23 6:24 am
✔ 最佳答案
(1a)
To find out the IP address of your own PC, type the command
ipconfig
in DOS prompt

In Unix, the command is ifconfig

(1b)
If your know the hostname of the another computer,
ping hostname
can display the IP address.
But, nowaday some computers has blocked the ping protocol.

(2)
Knowing the IP address can do many things.

When your computer join a network (e.g. a LAN or the internet ocean), you must identify your computer.

IP address is that identifier.
Nowaday, we are using IPv4. The IP address is a 32-bit number displayed as AAA.BBB.CCC.DDD (each part ranges from 0 to 255).

In theory, this 32-bit number can represent many computers.
But, there is some standard that you cannot use up all the 256 numbers from 0 to 255.

Anyway, that number is the identifier of your number, just similar to the case that your HKID number (or your student number) is the identifier of you.

After knowing the IP, the whole world could reach your computer using many different protocols.

For example, in unix, you can telnet the-ip-address to tenet to that computer
Or, you can ftp the-ip-address to use FTP to upload/download files.
If that computer is a web browser, you can http://the-ip-address to get the default web page of that web server.

(3).
Server IP and client IP have no difference. Both are 32-bit numeric number.
The only difference of 2 numeric numbers is the numeric value.
However, in the internet world, some computers start to use IPv6. IPv6 use a 128-bit (?) IP address. Most others are still using IPv4 (32-bit IP address)


收錄日期: 2021-05-02 18:29:16
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080222000051KK02864

檢視 Wayback Machine 備份