正在加载图片...
个典型的文件内容如下: All times in this file are in UTC (GMT), not your local timezone. This is not a bug, so please dont ask about it. There is no portable way #f store leases in the local timezone, so please don't request this as a feature. If this is inconvenient or confusing to you, we sincerely apologize. Seriously, though-don't ask #f The format of this file is documented in the dhcpd. leases(5) manual page This lease file was written by isc-dhep-V3.0.5-RedHat lease192.168.0254 #重启第1块网络接口卡后,从DHCP服务器获取的网络配置信息 starts22008/052004:1300; # lease开始租约时间 ends22008/5/2010:1300 # lease结束租约时间 inding state active ext binding state free hardware ethernet 000aeb:13:fe:6f,#客户机zg17第1块网卡的MAC地址 uid"o00o1235323174o" #用来验证客户机的UID标示 client-hostname "ztg 17 #客户机名称 lease I92.1680253{ #重启第2块网络接口卡后(将该网卡与DHCP服务器相连) #从DHCP服务器获取的网络配置信息 starts22008/05/2004:14:25; ends2200805/2010:1425; next binding state free, hardware ethernet 00: Oa e6: al: e3: e #客户机zg17第2块网卡的MAC地址 uid"ooI00M0121461241143350" client-hostname"ztg17 注意 ease开始租约时间( starts)和 lease结束租约时间(ends)是格林威治标准时间(GMT), 不是本地时间 81.3实例一设置DHCP客户机 DHCP客户可以从DHCP服务器获得相关的网络配置信息。 实例82配置DHCP客户 Linux客户端 DHCP客户可以是 Linux操作系统,也可以是 Windows操作系统,在 Linux操作系统上 的配置如下: 进入界面,依次选择【系统】/【管理】/【网络】,在弹出的【网络配置】窗口中,双 击要动态获取IP地址的网络接口,在弹出的【以太网设备】对话框中,进行如图82所示 的选择,单击【确定】。然后在【网络配置】窗口中单击【激活】按钮。 在终端窗口执行# ifconfig命令查看动态获取的IP地址。 自动获取P地址设使用:|ocp: DHCP设置一 主机名间选(o: localhost Jocaldomain 日自动从提供商处获取DNs信息 图8-2动态获得IP地址 2. Windows客户端 在 Windows Xp操作系统上的配置如下。一个典型的文件内容如下: # All times in this file are in UTC (GMT), not your local timezone. This is # not a bug, so please don't ask about it. There is no portable way to # store leases in the local timezone, so please don't request this as a # feature. If this is inconvenient or confusing to you, we sincerely # apologize. Seriously, though - don't ask. # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-V3.0.5-RedHat lease 192.168.0.254 { #重启第1块网络接口卡后,从DHCP服务器获取的网络配置信息 starts 2 2008/05/20 04:13:00; # lease开始租约时间 ends 2 2008/05/20 10:13:00; # lease结束租约时间 binding state active; next binding state free; hardware ethernet 00:0a:eb:13:fc:6f; #客户机ztg17第1块网卡的MAC地址 uid "\001\000\012\353\023\374o"; #用来验证客户机的UID标示 client-hostname "ztg17"; #客户机名称 } lease 192.168.0.253 { #重启第2块网络接口卡后(将该网卡与DHCP服务器相连) #从DHCP服务器获取的网络配置信息 starts 2 2008/05/20 04:14:25; ends 2 2008/05/20 10:14:25; binding state active; next binding state free; hardware ethernet 00:0a:e6:a1:e3:e8; #客户机ztg17第2块网卡的MAC地址 uid "\001\000\012\346\241\343\350"; client-hostname "ztg17"; } 注意: lease 开始租约时间(starts)和 lease 结束租约时间(ends)是格林威治标准时间(GMT), 不是本地时间。 8.1.3 实例—设置 DHCP 客户机 DHCP 客户可以从 DHCP 服务器获得相关的网络配置信息。 实例 8-2 配置 DHCP 客户 1.Linux 客户端 DHCP 客户可以是 Linux 操作系统,也可以是 Windows 操作系统,在 Linux 操作系统上 的配置如下: 进入界面,依次选择【系统】/【管理】/【网络】,在弹出的【网络配置】窗口中,双 击要动态获取 IP 地址的网络接口,在弹出的【以太网设备】对话框中,进行如图 8-2 所示 的选择,单击【确定】。然后在【网络配置】窗口中单击【激活】按钮。 在终端窗口执行#ifconfig 命令查看动态获取的 IP 地址。 图8-2 动态获得IP地址 2.Windows 客户端 在 Windows XP 操作系统上的配置如下
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有