当前位置: 首页 > 网络学院 > 网页制作基础教程 > Internet > TCP/IP 地址
TCP/IP uses 32 bits, or 4 numbers between 0 and 255 to address a computer.
TCP/IP是32位的,通过0到255之间的4组数字代表电脑的具体地址。
Each computer must have an IP address before it can connect to the Internet.
在联网之前,每一台电脑必须要有一个IP地址。
Each IP packet must have an address before it can be sent to another computer.
在IP信息包被发送到其他电脑之前,每个IP信息包必须有地址。
This is an IP address: 192.68.20.50.
This might be the same IP address: www.ruanchen.com
这里有个IP地址:192.68.20.50;这就是与这个IP相绑定的域名:www.ruanchen.com
You will learn more about IP addresses and IP names in the next chapter of this tutorial.
在下一章教程中,你会了解到更多关于IP地址和IP的名字。
This is your IP address: "<%=request.ServerVariables("REMOTE_ADDR")%>"
这就是你的IP地址:"<%=request.ServerVariables("REMOTE_ADDR")%>"
TCP/IP uses 4 numbers to address a computer. Each computer must have a unique 4 number address.
TCP/IP使用4组数字来定位计算机地址。每台计算机必须有一个唯一独立的4组数字地址。
The numbers are always between 0 and 255. Addresses are normally written as four numbers separated by a period like this: 192.168.1.50.
数字通常是在0到255之间。而且每组数都要被一个点分开,地址通常写成下面的形式:192.168.1.50
TCP/IP uses 32 bits addressing. One computer byte is 8 bits. So TCP/IP uses 4 computer bytes.
TCP/IP地址使用32比特位(bit)。一个字节(byte)等于8个比特位。所以TCP/IP需要4个字节。
A computer byte can contain 256 different values:
一个字节能包含 256个不同值。
00000000, 00000001, 00000010, 00000011, 00000100, 00000101, 00000110, 00000111, 00001000 .......and all the way up to 11111111.
00000000, 00000001, 00000010, 00000011, 00000100, 00000101, 00000110, 00000111, 00001000 .......这些所有不同的“0”、“1”组合一直到11111111。总共有2的8次方即256种。
Now you know why a TCP/IP address is 4 numbers between 0 and 255
现在你应该知道为什么一个TCP/IP地址要0到255之间的4组数了吧?
12 digit numbers are hard to remember. Using a name is easier.
因为像IP这个的12个阿拉伯数字很难记忆,所以取个名字会变得容易点。
Names used for TCP/IP addresses are called domain names. w3schools.com is a domain name.
通过使用TCP/IP寻址的名字就是域名。www.ruanchen.com就是一个域名。
When you address a web site like http://www.ruanchen.com, the name is translated to a number by a DNS process (Domain Name Server).
当你要访问一个站点(比如http://www.ruanchen.com)时,名字会通过DNS(域名解析服务器Domain Name Server)程序转换成IP数字。
All over the world, a large number of DNS servers are connected to the Internet. DNS servers are responsible for translating domain names into TCP/IP addresses and update each other with new domain names.
在全世界,大量的DNS服务器是接在互联网上的。DNS服务器把域名转换成TCP/IP地址以及更新每个新域名,并通过新域名对他们进行升级。
When a new domain name is registered together with a TCP/IP address, DNS servers all over the world are updated with this information.
当一个新的域名和TCL/IP地址一起注册时,全世界的DNS服务器都会更新这个信息,所以无论如何都不会妨碍访问。