网学网其他类别编辑为广大网友搜集整理了:实验室计算机的IP地址自动设置程序——客户端的设计与实现绩等信息,祝愿广大网友取得需要的信息,参考学习。
包括论文,设计,论文字数:12306,页数:29
摘 要
随着互联网的普及,我们的工作、学习和生活与网络联系越来越紧密,人们搭建了许多不同的网络,如企业网、校园网和城区网等。由于采用DHCP技术动态地为主机配置网络参数,可以有效解决目前IP地址资源不足(使用内部IP)和无线网络用户的移动性等问题,并能极大地减轻大型网络管理员的工作量,减少手动配置主机网络参数的错误,有利于我们快速地搭建一个大型网络或修改其网络配置。因此,网络配置管理中越来越多地使用了DHCP服务器及技术,随着网络应用的普及和深入,其应用范围将会愈来愈广。但目前国内对DHCP技术的研究大多只限于DHCP服务器的配置问题和DHCP协议本身,很少有更深入的研究。我们在使用DHCP技术对主机网络参数进行动态地配置与管理的同时,理所当然地认定了其唯一合理性和不可取代性。我们就实验室计算机网络配置与管理为背景,研究在此特定环境下通过UDP广播分配IP(服务器)、配置IP(客户端)的问题,以此在一定程度上取代DHCP技术,对实验室计算机网络参数进行快捷有效的配置与管理。具体来讲,主要内容和工作有:
(1)介绍DHCP协议及DHCP工作原理
(2)介绍ARP协议和ARP工作原理
(3)系统的分析、设计、实现与测试
关键词:DHCP;ARP;IP配置;多线程
The Automatic IP Address Configuration Software for Lab
——Design and Implementation of Client
Abstract
With the prevalence of Internet, the relation between people’s life and network becomes closer and closer, and various networks, such as enterprise network, campus network and public network etc. are being built. DHCP servers and DHCP technology for configuring network parameters can solve the problems of the shortage of IP addresses and the mobility of wireless network user, and as a consequence they greatly lighten the work of network administrator, and reduce mistakes from the manual configuration. They are quite useful for the fast set-up of a large-scale network or modifying its parameters. So DHCP technology will be applied more and more frequently in networks. Now researches on DHCP only focuses on the configuration of DHCP server and DHCP protocol, and people seldom do any deeper researches. When we are using DHCP technology to configure and manage network parameters of hosts, we think naturally that DHCP technology is the only way to solve the problem and that it can not be replaced. Based on the configuration and management of the hosts in the laboratory, this paper proposes a way to assign (server side software) and configure (client side software) network parameters, using the UDP broadcast instead of the DHCP technology. This software can make the problems easier to solve. The main content includes following points:
(1) Introducing DHCP protocol and its theory
(2) Introducing ARP protocol and its theory
(3) Introducing the analyse, design, implementation and test of this software
Key words: DHCP; ARP; IP configuration; multithread
目 录
1 引言 1
1.1 课题背景 1
1.2 国内外的研究现状 2
1.3 本课题的研究意义 2
1.4 本课题的研究方法 2
2 DHCP协议与ARP协议及他们的工作原理 3
2.1 DHCP协议概述 3
2.2 DHCP工作原理 3
2.3 ARP协议概述 5
2.4 ARP工作原理 5
3 系统的分析、设计、实现与测试 6
3.1 系统的分析 6
3.2 系统的设计 6
3.3 系统的实现 11
3.4 系统的测试 20
结 论 23
参考文献 23
致 谢 24
声 明 25