回复:怎样正确设置IP地址

来源: samshen 2003-12-04 13:32:00 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1975 bytes)
本文内容已被 [ samshen ] 在 2004-02-06 15:24:48 编辑过。如有问题,请报告版主或论坛管理删除.
Sorry to two readers who read my previous post, I was busy and couldn't write a general answer for the question.
Here is some general information about IP address.
1. IP address is a 32-bit value, which is broken to 4 8-bit groups. It is ususally expressed in a socalled dotted quad format, like 192.168.0.1
2. Each quad can be a number between 0 to 255.
3. There two basic catagories of IP address: Public IP address (or routable IP address) that can be used directly in Internet environment, and private IP address (non-routable IP address), which can be used in local network, but not routable directly in Internet.
You need pay for public IP addresses if you use them in the Internet environment. If you connect your computers without connect them to the Internet, it doesn't matter whether you use public or private IP addresses. But it's a good prectice to always use private IP address in your local network.
4. Another thing related to IP address is MASK, which determin what IP address can be reached by broadcasting, and which IP address need to route. For instance: a mask like 255.255.255.0 will reach any devices in the local network has the same number for most left three quads by broadcast. In other words, they are in the same subnet.
5. For local network,It is also important to give same workgroup name to all you computers you want them be able to reach each other. Give each computer a unique computer name.
6. Alternative way to asign IP address is to use DHCP.If you network has a router with DHCP server function, all your computer connected to it will be asigned an IP address automatically. If you network doesn't have a router (or one computer provider DHCP server function), compputers will give them self an IP address automatically. This is socalled Automatic Private IP Addressing (APIPA). They will be in the range of 169.254.0.0 through 196.254.255.255.

Hope this will help. Any question, please post.





--文学城www.wenxuecity.com--

所有跟帖: 

我为了把两台计算机连起来,需要给它们这个地址 -请诊断- 给 请诊断 发送悄悄话 (147 bytes) () 12/04/2003 postreply 12:52:00

回复:我为了把两台计算机连起来,需要给它们这个地址 -samshen- 给 samshen 发送悄悄话 (248 bytes) () 12/04/2003 postreply 13:40:00

回复:A Helpful web -site- 给 site 发送悄悄话 (47 bytes) () 12/04/2003 postreply 13:51:00

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”