HOSTS和LMHOSTS的区别?

whepin 2003-08-09 04:29:41
这两个文件有什么区别啊,都是将IP地址解析为HOSTNAME啊?
和WINS和DNS怎么对应的啊?
...全文
479 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
lqbn 2003-08-09
  • 打赏
  • 举报
回复
Hosts.


The Hosts. file, originally used with UNIX systems, contains a list of host name to IP address mappings. It is a regular text file named HOSTS. and is located in the %Systemroot%\system32\drivers\etc directory.


The Hosts. file is not case sensitive when working with NT networks. However, UNIX computer names are case-sensitive. When connecting from NT to UNIX, the hosts file must have proper case-sensitivity.


A hostname containing a numerals must be specified in the Hosts. file within single quotation marks (i.e. '1997').


The Hosts. file is only parsed for NetBIOS name resolution when the box is checked to enable DNS for NetBIOS name resolution.


LMHosts.


The LMHosts. file, originally used with MS-LAN Manager, contains a list of NetBIOS name to IP address mappings. It is a regular text file named LMHOSTS. and is located in the %Systemroot%\system32\drivers\etc directory.


To view a sample LMHosts. file, look in the Windows directory of your DOS/Windows95 computer (or the %Systemroot%\system32\drivers\etc directory on your NT machine), and open it with a text editor.


The tags associated with the LMHosts. file are as follows:

#PRE will cause the entry to be preloaded into the NetBIOS name cache.
#DOM:domainname specifies the domain master browser in another domain. Must be preceded by the #PRE tag.
#INCLUDE:\\servername\share\lmhosts. specifies the LMHosts. file on another computer, and will parse it as if it was local.
#BEGIN_ALTERNATE precedes multiple #INCLUDE statements.
#END_ALTERNATE succedes multiple #INCLUDE statements.



The LMHosts file is not case-sensitive.



Note: All items after the # sign on the same line are noted as comments


本书以循序渐进的方式介绍Samba的应用,使读者能够在24学时内掌握Samba的精髓。其主要内容有:Samba的基础,介绍怎样获取Samba的源代码、Samba的安装和测试;Samba的配置,涵盖smb.conf文件的分析、实现资源共享、安全保护和管理;Samba的使用,讨论Samba与UNIX、Windows 9x和Windows NT的综合应用;Samba的安全性,介绍口令加密和在Samba中使用SSL;另外,还有在广域网中实现Samba等高级内容。 目 录 前言 第一部分 安装和初始配置 第1学时 Samba介绍 3 1.1 什么是Samba 3 1.2 传统解决方案 4 1.3 运行平台 5 1.4 GNU常规公共许可证 6 1.5 课时小结 7 1.6 专家答疑 7 第2学时 Windows网络 8 2.1 NetBIOS 概述 8 2.1.1 名称服务 8 2.1.2 会话服务 13 2.1.3 数据报服务 13 2.2 CIFS概述 13 2.2.1 NBT上的SMB 14 2.2.2 面向连接 14 2.2.3 协议概述 15 2.3 Windows网络模型 16 2.3.1 对等网 16 2.3.2 工作组 16 2.3.3 域 17 2.4 课时小结 18 2.5 专家答疑 18 2.6 新术语 18 第3学时 得到最新的源代码 19 3.1 了解当前Samba版本 19 3.2 下载站点和方法 20 3.3 编译Samba 21 3.3.1 2.0版本之前的版本 22 3.3.2 2.0版本的自动配置支持 23 3.4 键入make install的时候会出现什么 25 3.5 二进制分发方法 25 3.6 课时小结 26 3.7 专家答疑 26 第4学时 安装和测试配置 27 4.1 哪个进程 28 4.2 配置smb.conf的[global]节 28 4.3 设置共享小组目录 28 4.4 设置用户的主目录 30 4.5 设置打印机 31 4.6 验证smb.conf 31 4.7 启动smbd和nmbd 32 4.7.1 从inetd中启动 32 4.7.2 作为守护程序运行 33 4.7.3 System V初始化脚本 33 4.7.4 BSD样式启动脚本 33 4.8 命令行参数 34 4.9 测试安装 34 4.10 Samba中包含的其他工具 36 4.11 课时小结 38 4.12 专家答疑 38 4.13 新术语 38 第二部分 配置Samba 第5学时 smb.conf文件:告诉Samba完成 什么工作 41 5.1 结构布局 41 5.1.1 [global] 41 5.1.2 [homes] 41 5.1.3 [printers] 42 5.1.4 smb.conf的剩余部分 42 5.2 变量 42 5.3 参数 44 5.3.1 netbios name 44 5.3.2 netbios aliases 45 5.3.3 workgroup 45 5.3.4 server string 46 5.3.5 max log size 46 5.3.6 syslog 47 5.3.7 syslog only 47 5.3.8 debug level 47 5.3.9 lock directory 47 5.3.10 name resolve order 48 5.3.11 deadtime 48 5.3.12 smbrun 49 5.3.13 message command 49 5.3.14 auto services 50 5.3.15 protocol 51 5.3.16 time server 51 5.4 课时小结 51 5.5 专家答疑 52 第6学时 安全等级和口令 53 6.1 安全等级和安全参数 53 6.1.1 security=share 54 6.1.2 security=user 55 6.1.3 security=server 56 6.1.4 security=domain 58 6.2 用户名称和口令 58 6.2.1 用户名称级 58 6.2.2 用户名称映射 59 6.2.3 口令级 60 6.2.4 口令加密 60 6.2.5 明码和加密口令以及Windows 9x和Windows NT客户 64 6.3 可访问性 65 6.3.1 hosts allow 65 6.3.2 hosts deny 65 6.3.3 hosts equiv和user hosts 65 6.4 杂项 66 6.4.1 map to guest 66 6.4.2 root directory 66 6.5 最后的意见 66 6.6 课时小结 66 6.7 专家答疑 67 6.8 新术语 67 第7学时 文件共享 68 7.1 建立smb.conf文件 68 7.2 建立共享 69 7.2.1 [first-share] 71 7.2.2 comment 71 7.2.3 path 71 7.2.4 browsable 71 7.3 可访问性 71 7.3.1 共享可访问参数 73 7.3.2 让first-share更加容易访问 76 7.4 权限 77 7.4.1 文件和目录创建参数 79 7.4.2 一些例子 80 7.5 特殊文件服务 82 7.6 文件名称处理和修正 82 7.6.1 mangled names 84 7.6.2 mangle case 84 7.6.3 mangling char 84 7.6.4 case sensitive 84 7.6.5 default case 84 7.6.6 preserve case 84 7.6.7 short preserve case 84 7.7 文件锁定 85 7.8 符号链接 85 7.9 处理光盘驱动器 86 7.10 其他参数 86 7.10.1 maxopenfiles 86 7.10.2 nis homedir和homedir map 86 7.10.3 ole locking compatibility 86 7.10.4 strip dot 87 7.11 课时小结 87 7.12 专家答疑 87 第8学时 打印机 89 8.1 Samba和打印 89 8.2 支持打印样式 91 8.3 [printers]共享 92 8.4 打印机相关参数 92 8.4.1 load printers 93 8.4.2 lppause command 93 8.4.3 lpq cache time 93 8.4.4 lpq command 93 8.4.5 lpresume command 93 8.4.6 lprm command 93 8.4.7 min print space 94 8.4.8 postscript 94 8.4.9 print command 94 8.4.10 printable 94 8.4.11 printcap name 94 8.4.12 printer 95 8.4.13 printer driver 95 8.4.14 printer driver file 95 8.4.15 printer driver location 95 8.4.16 printing 95 8.4.17 queuepause command 96 8.4.18 queueresume command 96 8.5 自动安装打印机驱动程序 96 8.6 从UNIX向Windows中打印 98 8.6.1 用BSD样式打印到Windows 98 8.6.2 用System V样式打印到Windows 99 8.7 课时小结 100 8.8 专家答疑 100 第9学时 GUI管理工具 101 9.1 SWAT 101 9.1.1 管理[global]节 103 9.1.2 管理文件共享 104 9.1.3 管理打印机共享 105 9.1.4 得到状态信息 106 9.1.5 查看完整的smb.conf文件 107 9.1.6 修改口令 107 9.2 Webmin 108 9.3 smbconftool 110 9.4 smb-mode.el 110 9.5 课时小结 111 9.6 专家答疑 111 第10学时 服务器端自动化 112 10.1 什么是服务器端自动化 112 10.2 preexec和postexec脚本 112 10.2.1 preexec和postexec 113 10.2.2 root preexec和root postexec 114 10.3 %U和%u,%G和%g 116 10.4 %L、%m和include参数 117 10.4.1 include 117 10.4.2 在include中使用变量 119 10.5 %d 122 10.6 课时小结 123 10.7 专家答疑 123 10.8 新术语 123 第11学时 疑难解答 124 11.1 文档 125 11.1.1 DIAGNOSIS.txt 125 11.1.2 其他文档 131 11.2 从两端开始解决问题 131 11.3 人 134 11.4 网络侦测器 134 11.4.1 tcpdume-smb 134 11.4.2 Microsoft的Network Monitor 136 11.4.3 联合使用tcpdump和netmon 137 11.5 课时小结 137 11.6 专家答疑 138 11.7 新术语 138 第12学时 案例研究:替换NT文件和打印服务器 139 12.1 现存网络 139 12.2 Linux服务器 140 12.3 替换过程 140 12.3.1 步骤1:用户和组 140 12.3.2 步骤2:移动文件和打印假脱机 144 12.3.3 步骤3:配置smb.conf文件 146 12.3.4 步骤4:让Samba服务器加入 NT域 147 12.3.5 步骤5:测试配置 148 12.4 课时小结 149 12.5 专家答疑 149 12.6 新术语 149 第三部分 使用Samba 第13学时 smbclient、smbfs、smbwrapper和不同的实用程序 153 13.1 smbclient 153 13.1.1 smbclient命令行选项 154 13.1.2 smbclient输出 158 13.1.3 smbclient表达式(通配符或掩码) 158 13.1.4 smbclient命令 158 13.1.5 smbclient示例 166 13.2 smbf 168 13.2.1 Samba smbmount示例 169 13.2.2 smbfs smbmount示例 170 13.3 smbwrapper 170 13.4 smbprint 171 13.5 smbtar 172 13.6 其他客户程序 173 13.7 课时小结 173 13.8 专家答疑 173 第14学时 Windows 9x和Windows NT 174 14.1 Windows网络重定向 174 14.2 Windows 9x 175 14.2.1 配置客户 175 14.2.2 登录进入网络 180 14.2.3 连接到共享 181 14.2.4 连接到打印机 183 14.3 Windows NT 185 14.3.1 配置客户 185 14.3.2 连接到共享 189 14.3.3 连接到打印机 191 14.4 课时小结 191 14.5 专家答疑 191 第15学时 其他SMB客户 192 15.1 用于DOS的Microsoft网络客户 版本3.0 192 15.1.1 得到软件 192 15.1.2 安装客户程序 193 15.1.3 制作网络启动盘 197 15.2 用于Macintosh操作系统的DAVE 2.1 199 15.2.1 安装DAVE 199 15.2.2 配置NetBIOS 200 15.2.3 登录和访问服务器 201 15.3 课时小结 203 15.4 专家答疑 203 15.5 新术语 203 第四部分 Samba 安全性 第16学时 口令加密 207 16.1 有什么问题 207 16.2 口令同步方法 209 16.3 基于Samba的口令同步 210 16.3.1 unix password sync 211 16.3.2 passwd chat 211 16.3.3 passwd chat debug 212 16.3.4 passwd program 212 16.4 基于PAM的口令同步 212 16.4.1 pam_smb配置和安装 213 16.4.2 pam_ntdom安装和配置 214 16.4.3 pam_smbpass安装和配置 215 16.5 基于LDAP的方法 216 16.6 问题 216 16.7 课时小结 216 16.8 专家答疑 217 16.9 新术语 217 第17学时 SSL 218 17.1 在Samba中使用SSL 218 17.2 得到和编译SSL 219 17.3 编译启用SSL的Samba 220 17.4 鉴定和其他 220 17.5 得到认证 222 17.5.1 设置自己作为证书权威 222 17.5.2 为每个实体产生证书 224 17.5.3 签署认证 224 17.5.4 确保每个使用SSL的设备上都 有CA证书 224 17.6 配置Samba以使用SSL 225 17.6.1 ssl 225 17.6.2 ssl CA certDIR 225 17.6.3 ssl CA certfile 225 17.6.4 ssl ciphers 226 17.6.5 ssl client cert 226 17.6.6 ssl client key 227 17.6.7 ssl compatibility 227 17.6.8 ssl hosts 227 17.6.9 ssl hosts resign 227 17.6.10 ssl require clientcert 227 17.6.11 ssl require servercert 228 17.6.12 ssl server cert 228 17.6.13 ssl server key 228 17.6.14 ssl version 228 17.7 sslproxy 229 17.8 例子 229 17.9 课时小结 230 17.10 专家答疑 230 第五部分 高级讨论 第18学时 无广播分析NetBIOS名称 235 18.1 WINS 235 18.1.1 为什么需要它 235 18.1.2 wins server 237 18.1.3 wins support 238 18.1.4 wins proxy 238 18.1.5 dns proxy 239 18.1.6 lmhosts 239 18.1.7 name resolve order 240 18.2 WINS和Windows 2000 241 18.3 课时小结 241 18.4 专家答疑 241 18.5 新术语 242 第19学时 本地子网浏览 243 19.1 介绍浏览 243 19.2 Samba浏览参数 245 19.2.1 announce as 246 19.2.2 announce version 246 19.2.3 auto services 246 19.2.4 browsable 246 19.2.5 browse list 246 19.2.6 comment 246 19.2.7 interfaces 247 19.2.8 lm announce 247 19.2.9 lm interval 247 19.2.10 load printers 247 19.2.11 local master 247 19.2.12 netbios aliases 248 19.2.13 netbios name 248 19.2.14 os level 248 19.2.15 preferred master 248 19.2.16 server string 249 19.2.17 workgroup 249 19.3 浏览示例 249 19.4 浏览问题 251 19.5 课时小结 251 19.6 专家答疑 252 第20学时 路由网络和浏览 253 20.1 跨子网浏览 253 20.2 Samba用于跨子网浏览的配置 255 20.2.1 domain master 255 20.2.2 local master 255 20.2.3 netbios aliases 255 20.2.4 netbios name 256 20.2.5 os level 256 20.2.6 preferred master 256 20.2.7 remote announce 256 20.2.8 remote browse sync 257 20.2.9 server string 257 20.2.10 wins proxy 257 20.2.11 wins server 257 20.2.12 wins support 258 20.2.13 workgroup 258 20.3 配置示例 258 20.3.1 跨子网工作组 258 20.3.2 跨子网域 259 20.4 远程浏览疑难解答 259 20.5 课时小结 260 20.6 专家答疑 260 第21学时 Windows 9x域控制 261 21.1 域和工作组 261 21.2 设置Samba域控制器 264 21.3 设置Windows 9x客户 266 21.4 测试和疑难解答 266 21.4.1 没有可用的域服务器验证口令 266 21.4.2 提供的域口令不正确 267 21.4.3 成功登录进入域 268 21.5 其他问题 268 21.5.1 配置文件 268 21.5.2 Windows注册表基础 269 21.5.3 策略 271 21.6 课时小结 273 21.7 专家答疑 273 第22学时 实验中的PDC支持 274 22.1 已经实现和没有实现的功能 274 22.2 如何得到它 275 22.3 如何为Windows NT域配置 Samba PDC 276 22.4 添加客户 278 22.4.1 设备信任帐号 278 22.4.2 加入域 279 22.4.3 重新启动NT客户 280 22.5 其他参数 280 22.5.1 组和用户 280 22.5.2 logon home、logon drive 和logon path 283 22.6 配置文件和策略 284 22.7 rpcclient 285 22.8 Windows 2000 286 22.9 课时小结 286 22.10 专家答疑 286 22.11 新术语 287 第23学时 提示与技巧 288 23.1 性能调整 288 23.1.1 网络带宽 288 23.1.2 服务器调整 289 23.1.3 客户调整 290 23.1.4 其他设置 290 23.2 单台计算机上的多个Samba服务器 290 23.3 备份远程PC的硬盘 291 23.4 传真 293 23.5 通过PPP链接的Samba 293 23.6 简单域登录脚本技巧 294 23.7 课时小结 296 23.8 专家答疑 296 第24学时 Samba的未来 297 24.1 主域控制器支持 297 24.2 帐号数据库 298 24.3 NTFS 访问控制表 299 24.4 真正的Windows NT打印 299 24.5 WINS同步复制 299 24.6 分布式文件系统 300 24.7 Windows 2000 301 24.8 课时小结 301 24.9 专家答疑 301 24.10 新术语 302
配置与管理WINS服务器 Windows Server 2003网络配置与管理 配置与管理WINS服务器全文共19页,当前为第1页。 配置与管理WINS服务器 WINS由WINS服务器和WINS客户端组成,WINS服务器处理来自WINS客户端的名称注册请求,注册其名称和IP地址,并返回查询到的客户端提交的NetBIOS名称的IP地址。 配置与管理WINS服务器全文共19页,当前为第2页。 本章重点 WINS服务器概述 架设WINS服务器 配置WINS服务器 设置WINS客户端 配置与管理WINS服务器全文共19页,当前为第3页。 1.1 WINS服务器概述 Windows Internet名称服务(WINS)提供了可以将NetBIOS名称注册并动态映射为IP地址的数据库服务。NetBIOS是Network Basic Input Output System(网络基本输入输出系统)的缩写,它是局域网 (LAN) 上的程序可以使用的一种应用程序编程接口 (API)。 NetBIOS 为程序提供了请求管理名称、执行会话和在网络节点之间发送数据报所要求的低级服务的统一的命令集。NetBIOS名称使用NetBIOS的 16 字节进程名称。WINS 能识别 NetBIOS 名称并将其映射到一个 IP 地址。 配置与管理WINS服务器全文共19页,当前为第4页。 在安装了WINS服务器的网络中,所有NetBIOS名称都通过WINS服务器注册、刷新、释放和解析。WINS服务器将NetBIOS名称映射为IP地址,以解决路由环境的NetBIOS名称解析问题。 客户端启动时,将自己的NetBIOS名称和IP地址注册到WINS服务器的数据库中,从而使WINS客户端之间在通信时,可以通过查询WINS服务器来解析其他客户端的IP地址。注册到数据库中的NetBIOS名称可以为单机名称,也可以为组名称。以单机名注册的NetBIOS名称要有一个IP地址与其相对应,而以组名称注册的NetBIOS名称会有多个IP地址与其对应。 1.1 WINS服务器概述 配置与管理WINS服务器全文共19页,当前为第5页。 客户端解析NetBIOS名称的步骤: (1)客户端检查查询的NetBIOS名称是否为本地 NetBIOS 计算机名称。 (2)客户端检查放置远程客户端的解析名称的本地 NetBIOS 名称缓存。 (3)客户端将 NetBIOS 查询转发到主 WINS 服务器,如果因为主 WINS 服务器不可用,或没有名称项而导致应答查询失败,则客户端与辅助WINS 服务器联系。 (4)客户端将 NetBIOS 名称查询广播到本地子网。如果客户端使用 Lmhosts 文件,则客户端将检查与查询匹配的 Lmhosts 文件。如果客户端配置为单个客户端,则客户端在使用Hosts 文件查询后使用 DNS 服务器进行查询。 1.1 WINS服务器概述 配置与管理WINS服务器全文共19页,当前为第6页。 在大型网络中,通常使用多个WINS服务器来维护冗余和负载平衡。为了维护NetBIOS名称空间的一致性,多个WINS服务器之间周期性地相互复制数据库。 1.1 WINS服务器概述 配置与管理WINS服务器全文共19页,当前为第7页。 Windows Server 2003系统中的WINS功能: (1)增强的 WINS 数据库搜索和筛选功能可以获得自定义的和精确的查询结果。 (2)可以阻止来自指定服务器记录的复制或者接受来自指定服务器记录的复制。 (3)不仅可以使用图形用户界面管理WINS服务器,还可以使用基于命令行的WINS工具Netsh进行管理。 (4)可以配置每个WINS服务器并使用一个或多个复制伙伴维护持续连接。 (5)支持手动逻辑删除。 (6)通过动态记录删除和多选,提高了WINS数据库的可管理性。 (7)可以记录和验证版本号有效性。 (8)可以将WINS数据导出。 (9)通过爆发处理,增强了容错能力。 (10)支持客户端名称动态重新插入。 1.1 WINS服务器概述 配置与管理WINS服务器全文共19页,当前为第8页。 1.2 架设WINS服务器 在Windows server 2003中架设WINS服务器,需要先安装WINS服务器组件,然后使用WINS控制台创建并管理WINS服务器。 配置与管理WINS服务器全文共19页,当前为第9页。 1.2.1 安装WINS服务器组件 在Windows Server 2003中通过"管理您的服务器"安装WINS服务器组件的操作步骤如下: (1)执行"开始" "所有程序" "管理工具" "管理您的服务器"命令,打开"管理您的服务器"窗口。 (2)单击"添加或删除角色"按钮,弹出"预备步骤"对话框。 (3)单击"下一步"按钮,弹出"服务器角
RELEASE NOTES FOR MICROSOFT(R) TCP/IP-32 FOR WINDOWS(TM) FOR WORKGROUPS 3.11 PLEASE READ THIS ENTIRE DOCUMENT General ------- This product is compatible with, and supported exclusively on, the Microsoft Windows For Workgroups 3.11 platform. If you are running a different TCP/IP product on your system, you must remove it before installing Microsoft TCP/IP-32. If you experience difficulties with another vendor's product, remove the existing TCP/IP stack, exit Network Setup completely, reboot your system, and then proceed to add the Microsoft TCP/IP-32 drivers by following the instructions given in the documentation. Known Problems -------------- There have been a number of reports on IBM TokenRing, EtherLink III cards, and ODI drivers that are related to bugs in drivers other than TCP/IP-32. These Windows For Workgroups 3.11 patches are described in the following Application Notes: WG0990 (contains updated ELNK3.386) WG0988 (contains updated IBMTOK.386) WG1004 (contains updated MSODISUP.386) You can obtain these Application Notes from the following sources: - The Internet (ftp.microsoft.com) - CompuServe(R), GEnie(TM), and Microsoft OnLine - Microsoft Download Service (MSDL) - Microsoft Product Support Services On CompuServe, GEnie, and Microsoft OnLine, Application Notes are located in the Microsoft Software Library. You can find an Application Note in the Software Library by searching on a keyword, for example "WG0990". Application Notes are available by modem from the Microsoft Download Service (MSDL), which you can reach by calling (206) 936-6735. This service is available 24 hours a day, 7 days a week. The highest download speed available is 14,400 bits per second (bps). For more information about using the MSDL, call (800) 936-4200 and follow the prompts. Previous Beta Users ------------------- If you had installed a previous beta of the Microsoft TCP/IP-32 for Windows for Workgroups product, you may encounter one of the following errors: "Setup Error 108: Could not create or open the protocol.ini file." "Setup Error 110: Could not find or open win.ini." If this happens do the following: 1) Remove any previous versions of Microsoft TCP/IP-32. 2) Exit Network Setup and restart your system. 3) Rename any OEMx.INF (where x is any number) files that are in your WINDOWS\SYSTEM directory. 4) Go back into Network Setup and install Microsoft TCP/IP-32 following the installation instructions in the manual. Mosaic ------ NCSA's Win32s version of their popular Mosaic application requires that you pick up version 115a or greater of the Win32s distribution to function correctly. DHCP Automatic Configuration ---------------------------- DHCP is a new TCP/IP protocol that provides the ability to acquire TCP/IP addressing and configuration dynamically with no user intervention. DHCP depends on your network administrator to set up a DHCP server on your network. A DHCP server is scheduled to ship as part of Windows NT(TM) Server version 3.5. If you enable automatic DHCP configuration without a DHCP server available on your network, the following message will appear after approximately a 10 second black-screen delay during the Windows for Workgroups booting process: "The DHCP client was unable to obtain an IP network address from a DHCP server. Do you want to see future DHCP messages?" This message means that TCP/IP has initialized but without any addressing information. If you are running TCP/IP as your only protocol, you will not have access to the network. This situation requires that you go back to the TCP/IP configuration settings, disable DHCP, and manually specify your TCP/IP network parameters. If you are running multiple protocols, you should have access to your network with these. If you do have a DHCP server on your network and this message appears, this indicates that the server was unavailable and that your lease has expired. DHCP will (in the background) continue to try to acquire a valid lease while Windows for Workgroups continues to run (although you will not have TCP/IP functionality). If you are running with DHCP automatic configuration, use the IPCONFIG utility to learn your IP configuration. DHCP Options ------------ The following changes are not reflected in the TCP/IP-32 documentation. Currently Microsoft DHCP clients support only the following options: - DHCP protocol options - DHCP message type (53) - Lease Time (51), Renewal Time (58), Rebind Time (59) - Information options: - Subnet Mask (1) - Default Router (3) - DNS Server (6) - WINS Server (NetBIOS Name Server) (44) - NetBIOS Node Type (46) - NetBIOS Scope Id (47) Any other options received by the client are ignored and discarded. No Option Overlays - Option Limit Is 336 Bytes ---------------------------------------------- The DHCP client does not recognize option overlays. If a non-Microsoft server is sending the options, make sure that either all the options fit within the standard option field, or at least that those used by the Microsoft clients (listed above) are conta ined in the standard Option field. Since the Microsoft client only supports a subset of the defined DHCP option types, 336 bytes should be sufficient for any configuration. Ipconfig - Moving Client to New Address --------------------------------------- When a DHCP client is moved to a new reserved address or is moved from an address to make way for an exclusion or another client's reservation, the client should first release its current address using ipconfig /release. This may be followed by ipconfig /renew to get a new address. ARP Conflicts - Report to DHCP Server Administrator --------------------------------------------------- Before the TCP/IP stack comes up with the address acquired via DHCP, the stack ARPs for the address. If a machine is already running with this address, the client will display a popup informing the user of the address conflict. Users should contact the CP server administrator when this occurs. Once the server has excluded the conflicting address, the client should get a new address using ipconfig /renew. If this is unsuccessful, the client may need to reboot. NetBIOS over TCP/IP ------------------- Multihomed Computer NetBIOS Node Type A computer can be one of four NetBIOS node types: broadcast node, mixed node, point-to-point node, or hybrid node. The node type cannot be specified per network adapter card. In some circumstances, it may be desirable to have one or more network adapter c ards function as broadcast nodes and other network adapter cards to function as hybrids. You accomplish this by setting the node type to broadcast node, and configuring WINS name server addresses for the network adapter cards that will function as hybrids. The presence of the WINS addresses will effectively override the broadcast node setting for the adapters on which they are set. To make an adapter a broadcast node, configure DHCP to set the node type to Bnode, or in the absence of DHCP, the computer will assume Bnode behavior by default. Including Remote LMHOSTS Files You must modify the Registry of a remote computer if network clients will #INCLUDE the LMHOSTS file on the remote Windows NT computer. The share containing the LMHOSTS file must be in the Null Sessions list on the Server by adding the share name to the following Windows NT Registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services \LanManServer\Parameters\NullSessionShares Microsoft TCP/IP Workstations with UB NetBIOS Name Servers ---------------------------------------------------------- The Microsoft clients can be configured to use a UB name server by adding the SYSTEM.INI parameter RefreshOpCode under the [NBT] section. Set its value to 9 to interoperate with UB name servers. NetDDE Applications Communicating over Subnets via LMHOSTS ---------------------------------------------------------- If you are connecting to a remote machine via a NetDDE application, using a #PRE LMHOSTS entry, you must have a separate entry specifying a special character in the 16th byte: 138.121.43.100 REMOTEDDE #PRE 138.121.43.100 "REMOTEDDE \0x1F" A special entry is not required if #PRE is not used. Browsing Resources on Remote IP Subnetworks ------------------------------------------- Browsing remote IP subnetworks requires a Windows NT computer on the local subnet. Using File Manager to Access Servers Specified in LMHOSTS --------------------------------------------------------- Reading and parsing LMHOSTS to resolve a name is done by the NBT driver at run time. This operation is not permissible under certain conditions. One such condition commonly encountered is when a network connection is attempted from the File Manager. The result is that the name is reported as 'not resolved' even if the name exists in LMHOSTS file (since the driver wasn't even allowed to open LMHOSTS file). The workaround for such conditions is to put a #PRE against the name in the LMHOSTS file. This causes the name to be stored in the name cache when the machine is first initialized, so the name gets resolved without the driver having to open LMHOSTS at run time. IP Routing ---------- Multiple Default Gateways in Microsoft TCP/IP Act as Backup Gateways When more than one default gateway is specified for a given IP network or for multiple IP networks on different network cards, the first default gateway for the first network card is always used to route IP network traffic. All the subsequent gateways are used as backup when the first default gateway is discovered to be unavailable. The Dead Gateway Detection mechanism is used only with TCP (connection-oriented traffic). Therefore, utilities like PING will only use the first default gateway. Notice that t his only applies to IP datagrams that have to be routed to a remote network (that is, to a network to which the workstation is not directly connected). FTP --- FTP is implemented in a Windows console in this release. It is not presently hooked to the Microsoft TCP/IP-32 Help file, although the Help file does have FTP command summaries in it. Many of the documented command line options are supported, although they require you to modify your FTP Program Item manually. The FTP application which ships with this product does not support the "!" command, which typically invokes a user shell. ODI Driver Support ------------------ Due to system restrictions, TCP/IP-32 cannot support more than one network adapter using ODI drivers. Multihomed configurations are supported using NDIS drivers only. If after installing TCP/IP-32 you have problems accessing the network over your ODI drivers, please make sure that the syntax and frame types listed in your NET.CFG file are correct for your network. DNS Resolution Hierarchy ------------------------ The Microsoft TCP/IP-32 stack uses various means to resolve a host name to get the IP address of a certain host. The various mechanisms used are Local Cached Information, Hosts File, DNS Servers, and NetBIOS name resolution mechanisms. The default resolution order for resolving a host name is Local Cached Information -> Hosts File -> DNS Servers -> NetBt (NetBIOS over TCP/IP). NetBIOS over TCP/IP name resolution can consist of local subnet broadcasts, and/or querying the Windows Internet Names Server (WINS) running on Windows NT Servers. Your Guide to Service and Support for Microsoft TCP/IP-32 --------------------------------------------------------- Microsoft Support: Network Advanced Systems Products Support Options The following support services are available from Microsoft for Microsoft Advanced Systems products, including Microsoft Mail Server and its gateways, SQL Server, LAN Manager, Windows NT Workstation, Windows NT Server, and SNA Server. Electronic Services ------------------- Microsoft Forums ---------------- These forums are provided through the CompuServe Information Service, (800) 848-8199, representative 230 (sales information only). Access is available 24 hours a day, 7 days a week, including holidays. These forums enable an interactive technical dialog between users as well as remote access to the Microsoft KnowledgeBase of product information, which is updated daily. These forums are monitored by Microsoft support engineers for technical accuracy. If you are already a subscriber, type "GO " at any ! prompt. MSCLIENT Microsoft Network Client support WINNT Microsoft Windows NT support MSSQL Microsoft SQL Server support MSWRKGRP Microsoft Windows for Workgroups support MSNETWORKS Microsoft LAN Manager support MSAPP Microsoft applications support MSWIN32 Information on Win32 MSDR Development-related discussion forum WINEXT Support for extensions and drivers for Windows WINSDK Support for Microsoft Windows Software Development Kit Microsoft Download Service -------------------------- Use the Microsoft Download Service (MSDL) to access the latest technical notes on common advanced system products support issues via modem. MSDL is at (206) 936-6735, available 24 hours a day, 7 days a week, including holidays (1200, 2400, or 9600 baud; no parity, 8 data bits, 1 stop bit). Internet -------- Use the Internet to access the Microsoft Driver Library and Microsoft KnowledgeBase. The Microsoft Internet FTP archive host FTP.MICROSOFT.COM (ip address 198.105.232.1) supports anonymous login. When logging in as anonymous, please offer your complete e-mail name as your password. Telephone Support ----------------- Microsoft FastTips ------------------ An interactive, automated system providing support at no charge through toll lines and accessed by touch-tone phone. FastTips provides fast access to answers to common questions and a library of technical notes delivered by phone recording or fax. FastTips is available 24 hours a day, 7 days a week, including holidays. Microsoft Advanced Systems products (800) 936-4400 Priority Telephone Support -------------------------- Get technical support from a Microsoft engineer. Microsoft offers pay-as-you-go telephone support from a Microsoft engineer, available 24 hours a day, 7 days a week, except holidays. Choose from the following options: Per Incident: Dial (900) 555-2100. $150.00 per incident. (Charges appear on your telephone bill.) Per Incident: Dial (800) 936-5900. $150.00 per incident. (Charges billed to your Visa, Master Card, or American Express.) 10-pack: Ten incidents for $995 prepaid. Additional Information ---------------------- For additional information about Microsoft support options or for a list of Microsoft Solution Providers, call Microsoft Support Network Sales and Information Group at (800) 936-3500, Monday through Friday, 6:00 A.M. to 6:00 P.M., Pacific time, excluding holidays. This list includes only domestic support programs. Microsoft's customer support services are subject to Microsoft's then-current price, terms, and conditions.
本书介绍TCP/IP及其应用。TCP/IP是Internet上使用的协议,而Internet是世界上最大的互联网络。本书内容十分丰富,几乎涵盖了有关TCP/IP的各个方面,包括开放式通信模型、TCP/IP通信模型、IP网络中的命名和寻址机制、地址解析及反向地址解析协议、DNS域字服务器、WINS、地址发现协议、IPv6、IP网络中的路由协议(RIP、OSPF等)、互联网打印协议、LDAP目录服务、远程访问协议、IP安全与防火墙。本书介绍了如何为Windows 9x/NT配置TCP/IP;还介绍了如何使用TCP/IP应用程序,包括远程登录、FTP、Web浏览等。 目 录 译者序 前言 第一部分 TCP/IP基础 第1章 开放式通信模型简介 1 1.1 开放式网络的发展 1 1.1.1 通信处理层次化 2 1.1.2 OSI参考模型 3 1.1.3 模型的使用 5 1.2 TCP/IP参考模型 7 1.3 小结 7 第2章 TCP/IP和Internet 8 2.1 一段历史 8 2.1.1 ARPANET 8 2.1.2 TCP/IP 9 2.1.3 国家科学基金会(NSF) 9 2.1.4 当今的Internet 12 2.2 RFC和标准化过程 12 2.2.1 获得RFC 13 2.2.2 RFC索引 13 2.2.3 有关RFC的幽默 13 2.3 Internet服务简介 13 2.3.1 Whois和Finger 14 2.3.2 文件传输协议 14 2.3.3 Telnet 14 2.3.4 Email 14 2.3.5 WWW 14 2.3.6 USENET News 15 2.4 Intranet和Extranet概览 15 2.4.1 Intranet 15 2.4.2 将Intranet对外开放 16 2.5 Internet的明天 16 2.5.1 下一代Internet(NGI) 16 2.5.2 超速骨干网服务 16 2.5.3 Internet2(I2) 17 2.6 Internet管理组织 17 2.6.1 Internet协会 17 2.6.2 Internet体系结构组 17 2.6.3 Internet工程任务组 17 2.6.4 Internet工程指导组 17 2.6.5 Internet编号管理局 18 2.6.6 Internet名字和编号分配组织 (ICANN) 18 2.6.7 Internet网络信息中心和其他注 册组织 18 2.6.8 RFC编辑 18 2.6.9 Internet服务提供商 18 2.7 小结 19 第3章 TCP/IP概述 20 3.1 TCP/IP的优点 20 3.2 TCP/IP的层和协议 21 3.2.1 体系结构 21 3.2.2 传输控制协议 21 3.2.3 IP协议 23 3.2.4 应用层 25 3.2.5 传输层 25 3.2.6 网络层 25 3.2.7 链路层 25 3.3 远程登录(Telnet) 25 3.4 文件传输协议(FTP) 25 3.5 普通文件传输协议(TFTP) 26 3.6 简单邮件传输协议(SMTP) 26 3.7 网络文件系统(NFS) 26 3.8 简单网络管理协议(SNMP) 27 3.9 TCP/IP和系统结合 27 3.10 内部网概述 28 3.11 小结 28 第二部分 命名和寻址 第4章 IP网络中的名字和地址 29 4.1 IP寻址 29 4.1.1 二进制和十进制数 30 4.1.2 IPv4地址格式 30 4.2 子网的出现 34 4.2.1 分子网 35 4.2.2 可变长子网掩码(VLSM) 37 4.3 无类域前路由(CIDR) 38 4.3.1 无类地址 38 4.3.2 强化路由汇聚 39 4.3.3 超网化 39 4.3.4 CIDR怎样工作 39 4.3.5 公共地址空间 40 4.3.6 RFC 1597和1918 40 4.4 小结 40 第5章 ARP和RARP 41 5.1 使用地址 41 5.1.1 子网寻址 41 5.1.2 IP地址 43 5.2 使用地址解析协议 44 5.2.1 ARP cache 45 5.2.2 代理ARP 47 5.2.3 反向地址解析协议 47 5.3 使用ARP命令 47 5.4 小结 47 第6章 DNS:名字服务器 48 6.1 域名系统概述 48 6.2 授权局 50 6.3 DNS分布数据库 50 6.4 域和区 50 6.5 Internet顶级域 51 6.6 选择一个域名服务器 52 6.7 名字服务解析过程 52 6.7.1 递归查询 52 6.7.2 叠代查询 52 6.8 高速缓存 52 6.9 反向解析(Pointer)查询 52 6.10 DNS安全 52 6.11 资源记录 53 6.12 小结 54 第7章 WINS 55 7.1 NetBIOS 55 7.2 NetBIOS名字解析 57 7.3 动态NetBIOS名字解析 58 7.3.1 使用WINS的优点 58 7.3.2 WINS如何工作 59 7.3.3 配置WINS客户机 60 7.3.4 为代理配置WINS 60 7.3.5 配置NT 4.0系统 61 7.3.6 配置Windows 95或Windows 98 系统 61 7.4 安装WINS服务器 61 7.5 WINS管理和维护 62 7.5.1 加入静态表项 62 7.5.2 维护WINS数据库 63 7.5.3 备份WINS数据库 65 7.5.4 备份WINS注册项 65 7.5.5 恢复WINS数据库 65 7.5.6 压缩WINS数据库 66 7.5.7 WINS复制参与者 66 7.5.8 WINS实现建议 67 7.6 集成WINS和DNS名字解析服务 67 7.7 DHCP服务WINS选项 67 7.8 通过LMHOSTS进行NetBIOS名字 解析 68 7.9 小结 69 第8章 地址发现协议(BOOTP和DHCP) 71 8.1 “引导”协议(BOOTP) 71 8.2 动态主机配置协议(DHCP) 72 8.2.1 DHCP如何工作 72 8.2.2 理解租用地址 73 8.3 管理地址池 74 8.4 DHCP能处理的其他分配 75 8.4.1 注意重载 75 8.4.2 其他分配 75 8.5 小结 76 第三部分 IP和相关协议 第9章 IP协议家族 77 9.1 TCP/IP模型 77 9.1.1 解剖TCP/IP模型 78 9.1.2 协议组件 78 9.2 理解网际协议(IP) 79 9.2.1 IPv4结构 79 9.2.2 IP做什么 80 9.3 理解传输控制协议(TCP) 81 9.3.1 TCP头结构 81 9.3.2 TCP做什么 83 9.4 理解用户数据报协议(UDP) 85 9.4.1 UDP头结构 85 9.4.2 UDP能做什么 85 9.4.3 TCP和UDP 86 9.5 小结 86 第10章 IPv6 87 10.1 IPv6数据报 87 10.1.1 优先级分类 88 10.1.2 流标识 89 10.1.3 128位IP地址 89 10.1.4 IP扩展头 90 10.2 多IP地址主机 91 10.3 单播、组播和任一播头 91 10.4 从IPv4到IPv6的过渡 93 10.5 小结 94 第四部分 IP互联 第11章 IP网络中的路由 95 11.1 路由基本知识 95 11.1.1 静态路由 96 11.1.2 距离-向量路由 99 11.1.3 链路-状态路由 100 11.2 IP网络中的收敛 102 11.2.1 适应拓扑变化 102 11.2.2 收敛时间 106 11.3 计算IP网络中的路由 106 11.3.1 存储多条路由 107 11.3.2 初始化更新 107 11.3.3 路由度量标准 107 11.4 小结 108 第12章 路由信息协议(RIP) 109 12.1 理解RFC1058 109 12.1.1 RIP报文格式 109 12.1.2 RIP路由表 111 12.2 操作机制 112 12.2.1 计算距离向量 113 12.2.2 更新路由表 116 12.2.3 寻址问题 118 12.3 拓扑变化 120 12.3.1 收敛 120 12.3.2 计值到无穷 122 12.4 RIP的限制 127 12.4.1 跳数限制 128 12.4.2 固定度量 128 12.4.3 对路由表更新反应强烈 128 12.4.4 收敛慢 128 12.4.5 缺乏负载均衡 128 12.5 小结 129 第13章 开放式最短路径优先 130 13.1 OSPF起源 130 13.2 理解RFC 2328 OSPF,版本2 130 13.2.1 OSPF区 131 13.2.2 路由更新 134 13.3 研究OSPF数据结构 136 13.3.1 HELLO报文 137 13.3.2 数据库描述报文 137 13.3.3 链路-状态请求报文 138 13.3.4 链路-状态更新报文 138 13.3.5 链路-状态应答报文 140 13.4 计算路由 140 13.4.1 使用自动计算 140 13.4.2 使用缺省路由耗费 141 13.4.3 最短路径树 142 13.5 小结 144 第14章 网关协议 145 14.1 网关、桥和路由器 145 14.1.1 网关 145 14.1.2 网桥 146 14.1.3 路由器 146 14.1.4 自治系统 146 14.2 网关协议:基础知识 146 14.3 内部网关协议和外部网关协议 147 14.3.1 网关-网关协议(GGP) 147 14.3.2 外部网关协议(EGP) 147 14.3.3 内部网关协议(IGP) 148 14.4 小结 148 第五部分 网络服务 第15章 互联网打印协议 149 15.1 IPP历史 149 15.2 IPP和端用户 150 15.3 使用HP的IPP实现 151 15.4 小结 152 第16章 LDAP:目录服务 153 16.1 为什么使用目录服务 153 16.2 目录服务的功能 153 16.3 IP上的目录服务 154 16.4 OSI X.500目录模型 156 16.4.1 早期的X.500 157 16.4.2 今天的X.500 157 16.5 LDAP结构 157 16.5.1 LDAP层次结构 157 16.5.2 名字结构 158 16.6 目录系统代理和访问协议 158 16.7 轻型目录访问协议 158 16.7.1 查询信息 159 16.7.2 存储信息 160 16.7.3 访问权限和安全 160 16.8 LDAP服务器-服务器通信 161 16.8.1 LDAP数据互换格式(LDIF) 161 16.8.2 LDAP复制 162 16.9 设计LDAP服务 162 16.9.1 定义需求 162 16.9.2 设计策略 163 16.9.3 性能 164 16.9.4 网络功能 165 16.9.5 安全 166 16.10 LDAP配置 169 16.11 产品环境 169 16.11.1 创建计划 170 16.11.2 有价值的建议 171 16.12 选择LDAP软件 171 16.13 小结 174 第17章 远程访问协议 175 17.1 远程互联 175 17.1.1 ISDN 176 17.1.2 电缆调制解调器 176 17.1.3 数字用户环(DSL) 176 17.1.4 无线网络 177 17.2 远程认证拨入用户服务(RADIUS) 177 17.2.1 RADIUS认证 178 17.2.2 记账信息 179 17.3 用SLIP、CSLIP和PPP传输IP数 据报文 179 17.3.1 串行线路接口协议(SLIP) 179 17.3.2 压缩的SLIP(CSLIP) 180 17.3.3 点到点协议(PPP) 180 17.4 隧道远程访问 184 17.4.1 点到点隧道协议(PPTP) 185 17.4.2 两层隧道协议(L2TP) 188 17.4.3 IPSec 192 17.5 小结 194 第18章 防火墙 195 18.1 使网络安全 195 18.2 使用防火墙 196 18.2.1 代理服务器 197 18.2.2 报文过滤器 198 18.3 使服务安全 198 18.3.1 电子邮件(SMTP) 198 18.3.2 HTTP:万维网 199 18.3.3 FTP 199 18.3.4 Telnet 199 18.3.5 Usenet:NNTP 199 18.3.6 DNS 200 18.4 建造用户自己的防火墙 200 18.5 使用商业防火墙软件 200 18.6 小结 202 第19章 IP安全 203 19.1 使用加密 203 19.1.1 公共-私钥加密 204 19.1.2 对称私钥加密 205 19.1.3 DES、IDEA及其他 205 19.2 数字签名认证 206 19.3 破译加密的数据 207 19.4 保护网络 207 19.4.1 登录名和口令 208 19.4.2 文件的目录允许权限 208 19.4.3 信任关系 209 19.4.4 UNIX和Linux系统上的UUCP 209 19.5 应付最坏情况 210 19.6 小结 210 第六部分 实现TCP/IP 第20章 一般配置问题 211 20.1 安装网卡 211 20.1.1 网卡 211 20.1.2 资源配置 212 20.1.3 安装适配器软件 213 20.1.4 重定向器和API 214 20.1.5 服务 214 20.1.6 NIC接口 215 20.2 网络和传输层协议 215 20.2.1 IP配置要求 215 20.2.2 配置缺省网关地址 216 20.2.3 配置名字服务器地址 217 20.2.4 配置邮件服务器地址 217 20.2.5 注册域名 218 20.3 IP配置 218 20.4 配置路由表 218 20.5 异种协议的IP封装 219 20.6 小结 220 第21章 Windows 98 221 21.1 Windows 98网络体系结构 221 21.1.1 安装网卡 222 21.1.2 更改网卡配置 224 21.1.3 当Windows 98引导失败 224 21.2 配置Windows 98的TCP/IP 225 21.2.1 写在开始之前 225 21.2.2 安装TCP/IP 225 21.2.3 配置微软的TCP/IP 225 21.2.4 DNS配置 227 21.2.5 静态配置文件 228 21.2.6 注册表配置 229 21.2.7 测试TCP/IP 231 21.3 小结 232 第22章 Windows 98拨号网络 233 22.1 配置拨号网络适配器 233 22.2 安装拨号网络 234 22.3 服务器类型 235 22.4 编写脚本 238 22.5 多重链接 238 22.6 PPTP 239 22.6.1 安装及配置PPTP 240 22.6.2 建立PPTP连接 240 22.7 Windows 98拨号服务器 241 22.8 解决拨号网络连接中的问题 242 22.8.1 确认DUN配置 242 22.8.2 PPP日志 243 22.9 小结 243 第23章 Windows NT 4.0 244 23.1 Windows NT版本 244 23.2 体系结构 244 23.3 安装Windows NT 4.0 244 23.4 配置TCP/IP 246 23.4.1 IP地址 246 23.4.2 DNS 248 23.4.3 WINS地址 248 23.4.4 DHCP中继 249 23.4.5 路由 250 23.5 简单TCP/IP服务 250 23.6 远程访问服务(RAS) 250 23.7 DHCP服务器 252 23.7.1 安装DHCP服务器服务 252 23.7.2 控制DHCP服务器服务 253 23.7.3 压缩DHCP数据库 253 23.7.4 管理DHCP 254 23.8 使用Microsoft DNS 256 23.8.1 安装DNS 256 23.8.2 创建区 257 23.8.3 配置逆向域名解功能 258 23.8.4 配置DNS与WINS服务器的连 接 259 23.8.5 增加辅助名字服务器 259 23.9 FTP和HTTP服务 259 23.10 TCP/IP打印服务 259 23.10.1 安装TCP/IP打印服务 259 23.10.2 安装LPR服务 260 23.11 Windows 2000新特性 260 23.12 小结 261 第24章 在Novell NetWare中支持IP 262 24.1 Novell与TCP/IP 262 24.1.1 IP与NetWare 4 262 24.1.2 NetWare 5与Pure IP初始化 262 24.2 传统解决方案:NetWare 3.x到 NetWare 4.x的IP支持 263 24.2.1 IP隧道 264 24.2.2 IP中继 264 24.2.3 LAN WorkPlace 264 24.2.4 IPX-IP网关 265 24.2.5 NetWare/IP 265 24.3 NetWare 5—Novell对IP的 完全支持 266 24.3.1 纯IP 266 24.3.2 多协议 266 24.4 安装选项 266 24.4.1 NetWare 5的IP-Only安装 267 24.4.2 IPX-Only安装 267 24.4.3 混合TCP/IP安装 268 24.5 IP迁移辅助工具 268 24.5.1 NDS 268 24.5.2 DNS 269 24.5.3 DHCP 269 24.5.4 DDNS 269 24.5.5 SLP 269 24.5.6 兼容模式 269 24.5.7 迁移代理 270 24.6 迁移策略 270 24.6.1 使用测试平台 270 24.6.2 迁移建议 270 24.7 小结 271 第七部分 使用TCP/IP应用 第25章 Whois和Finger 273 25.1 理解Whois协议 273 25.1.1 互联网注册 273 25.1.2 Whois数据库 274 25.1.3 基于Web的Whois 275 25.1.4 命令行方式的Whois 276 25.1.5 示例 276 25.1.6 基于Telnet的Whois 278 25.2 扩充Whois 279 25.2.1 提示Whois(RWhois) 279 25.2.2 WHOIS++ 280 25.3 使用Finger 280 25.3.1 Finger命令 280 25.3.2 Finger 守护进程 282 25.3.3 非UNIX环境下的Finger 283 25.3.4 Finger的应用 283 25.4 相关RFC文档 285 25.5 小结 285 第26章 文件传输协议 286 26.1 FTP和TFTP在网络世界中的作用 286 26.2 使用FTP传输文件 286 26.2.1 FTP连接 287 26.2.2 使用FTP客户端建立连接 288 26.2.3 FTP安全 296 26.2.4 FTP服务器及守护进程 299 26.2.5 匿名FTP访问 299 26.3 使用TFTP 300 26.3.1 FTP与TFTP的区别 301 26.3.2 TFTP命令 301 26.4 小结 301 第27章 使用Telnet 302 27.1 理解Telnet协议 302 27.2 Telnet守护进程 303 27.3 使用Telnet 304 27.3.1 UNIX telnet命令 304 27.3.2 Telnet GUI应用 305 27.3.3 Telnet命令 305 27.3.4 示例 308 27.4 高级主题 309 27.4.1 安全 309 27.4.2 Telnet应用 309 27.4.3 使用Telnet访问其他TCP/IP 服务 310 27.5 相关RFC文档 312 27.6 小结 313 第28章 使用r系列实用工具 314 28.1 理解r系列命令 314 28.1.1 安全问题 314 28.1.2 禁止使用r系列命令 315 28.1.3 增强r系列命令的安全性 316 28.2 使用r系列命令的替代方法 317 28.3 r系列命令详解 317 28.3.2 相关文件 320 28.4 在非UNIX环境下实现r系 列命令的功能 321 28.5 小结 322 第29章 使用网络文件系统(NFS) 323 29.1 什么是NFS 323 29.1.1 NFS的历史 323 29.1.2 为何使用NFS 323 29.2 实现—NFS工作过程 324 29.2.1 远程过程调用(RPC) 和外部数据表示(XDR) 324 29.2.2 加载类型 324 29.3 NFS使用的文件及命令 325 29.3.1 NFS守护进程 325 29.3.2 与NFS相关的文件 327 29.3.3 NFS服务器命令 329 29.3.4 NFS客户命令 331 29.4 示例:共享及加载NFS文件系统 333 29.5 NFS常见问题及解决方案 334 29.5.1 不能加载 334 29.5.2 不能卸载 334 29.5.3 硬加载与软加载 334 29.6 相关协议及产品 334 29.6.1 WebNFS 335 29.6.2 基于PC的NFS及其他客户端 软件 335 29.6.3 SMB和CIFS 335 29.6.4 其他产品 336 29.7 小结 336 第八部分 使用基于IP的应用 第30章 在应用中集成TCP/IP 337 30.1 使用浏览器作为表示层 338 30.2 不断增加的Internet应用 338 30.3 在已有应用中集成TCP/IP 339 30.4 在其他网络中使用TCP/IP 339 30.4.1 NetBIOS与TCP/IP 339 30.4.2 IPX与UDP 340 30.4.3 ARCNET与TCP/IP 340 30.5 小结 340 第31章 Internet Email协议 341 31.1 电子邮件 341 31.1.1 电子邮件的历史 341 31.1.2 标准及制定标准的组织 341 31.2 X.400 341 31.3 简单邮件传输协议(SMTP) 343 31.3.1 MIME和SMTP 343 31.3.2 其他编码标准 344 31.3.3 SMTP命令 344 31.3.4 SMTP状态码 345 31.3.5 扩展SMTP 345 31.3.6 检查SMTP的头 346 31.3.7 SMTP的优势与不足 347 31.4 使用POP和IMAP取回客户邮件 347 31.4.1 邮局协议(POP) 347 31.4.2 互联网邮件访问协议(IMAP) 348 31.4.3 POP3与IMAP4的比较 348 31.5 高级主题 349 31.6 相关RFC文档及其他参考信息 351 31.7 小结 352 第32章 HTTP: World Wide Web 353 32.1 万维网(WWW) 353 32.1.1 Web简史 353 32.1.2 Web的发展 354 32.2 统一资源定位器 354 32.3 Web服务器与浏览器 355 32.4 理解HTTP 356 32.4.1 HTTP/1.1 356 32.4.2 MIME与Web 358 32.4.3 HTTP通信示例 358 32.5 高级主题 359 32.5.1 服务器方功能 359 32.5.2 SSL和S-HTTP 359 32.6 Web语言 359 32.6.1 HTML 360 32.6.2 XML 360 32.6.3 CGI 361 32.6.4 Java 361 32.6.5 JavaScript 362 32.6.6 动态服务器页面 362 32.7 Web的未来 363 32.7.1 HTTP-ng 363 32.7.2 IIOP 363 32.7.3 IPv6 363 32.7.4 IPP 363 32.8 小结 364 第33章 NNTP:互联网新闻组 365 33.1 互联网新闻组 365 33.2 新闻组和层次 366 33.3 网络新闻传输协议 367 33.3.1 获取新闻组 367 33.3.2 获取消息 369 33.3.3 发布消息 370 33.4 大量广告(Spamming)和新闻黑洞 (Blackholing) 371 33.5 小结 371 第34章 Web服务 373 34.1 Web服务工作概览 373 34.2 主流Web服务器 375 34.3 运行Apache HTTP Web服务 376 34.3.1 下载、安装和配置Apache 376 34.3.2 在Windows环境下使用Apache 381 34.4 浏览其他Web服务器 383 34.5 小结 383 第九部分 使用与管理TCP/IP网络 第35章 协议配置与调整 385 35.1 系统的初始化问题 385 35.2 配置文件 390 35.2.1 在/etc/protocols文件中定义网 络协议 390 35.2.2 在/etc/hosts文件中标识主机 391 35.2.3 TCP/IP与/etc/services文件 392 35.2.4 inetd守护进程与/etc/inetd.conf 文件 394 35.2.5 在/etc/networks文件中设置网络 397 35.2.6 DNS客户与/etc/resolv.conf 397 35.3 小结 398 第36章 配置DNS 399 36.1 域名服务器 399 36.2 资源记录 400 36.3 域名解析 401 36.4 配置UNIX或Linux域名服务器 (DNS) 401 36.4.1 添加资源记录 402 36.4.2 完成DNS文件 402 36.4.3 启动DNS守护进程 405 36.4.4 配置客户端 405 36.5 Windows和域名服务器 405 36.6 小结 406 第37章 网络管理 407 37.1 制定网络监控方案 407 37.2 网络问题及其解决方案 408 37.3 网络管理工具 408 37.3.1 使用协议分析器 409 37.3.2 专家系统 410 37.3.3 基于PC的分析器 410 37.3.4 网络管理协议支持 411 37.3.5 集成网络仿真/模型工具 411 37.4 配置SNMP 412 37.4.1 配置Windows SNMP 413 37.4.2 配置UNIX SNMP 414 37.4.3 SNMP安全属性 414 37.4.4 SNMP代理与管理 415 37.5 SNMP工具及命令 416 37.6 RMON及相关的MIB模型 417 37.7 建立网管需求 417 37.8 小结 419 第38章 SNMP:简单网络管理协议 420 38.1 什么是SNMP 420 38.2 管理信息基(MIB) 421 38.3 使用SNMP 421 38.4 UNIX与SNMP 422 38.4.1 在UNIX和Linux上安装SNMP 423 38.4.2 SNMP命令 424 38.5 Windows与SNMP 424 38.5.1 Windows NT 425 38.5.2 Windows 95、Windows 98和 Windows 3.x 425 38.6 小结 427 第39章 加强TCP/IP传输安全 428 39.1 定义所需的网络安全 428 39.1.1 什么是网络安全 428 39.1.2 为什么网络安全非常重要 429 39.1.3 安全级别 429 39.1.4 口令与口令文件 430 39.1.5 控制对口令的访问 430 39.2 加强网络安全 431 39.2.1 攻击种类 431 39.2.2 加强网络安全 432 39.3 应用配置 434 39.3.1 Internet守护进程与 /etc/inetd.conf 434 39.3.2 网络加密软件 436 39.3.3 TCP Wrapper 436 39.4 使用端口及可信端口 437 39.4.1 防火墙 437 39.4.2 包过滤 437 39.4.3 应用层网关 438 39.4.4 其他应用的过滤 438 39.5 一般安全事务 438 39.5.1 用户帐号维护 438 39.5.2 审计 438 39.5.3 正确的系统配置 438 39.6 小结 438 第40章 问题解决工具及要点 440 40.1 监视网络行为 440 40.2 标准应用程序 440 40.2.1 测试基本连接 441 40.2.2 ping命令 442 40.2.3 解决网络访问故障 443 40.3 解决网络接口层问题 449 40.4 解决网络层问题 449 40.4.1 TCP/IP配置参数 449 40.4.2 IP地址配置问题 450 40.5 解决TCP和UDP问题 453 40.6 解决应用层问题 455 40.7 小结 455 第十部分 附 录 附录A RFC及标准化 457 附录B Linux 469 附录C 简写与缩略语 480

6,850

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧