DHCP DEBUG报文
今天闲来没事,在模拟器里面看了下DHCP 的debug报文,特发出来分享,如有不对的地方欢迎指出来!
[server]
*Apr 13 16:04:00:31 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: Receive DHCPDISCOVER from 00e0.1400.1200-GigabitEthernet0/1/0. #客户端接口和MAC地址
*Apr 13 16:04:00:31 2012 server DHCPS/7/DHCPS_DEBUG_PACKET:
Rx, interface GigabitEthernet0/1/0
Message type: request #报文类型请求报文
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 883108507 #经过DHCP中继数0表示没有经过中继,#后面数字表示随机数
Seconds: 0, Broadcast flag: 0 #单播
Client IP address: 0.0.0.0 Your IP address: 0.0.0.0 #DHCP客户端的ip地址 dhcp服务器分配给客户端的ip地址
Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0 #DHCP客户端获取IP地址等信息的服务器IP地址
Client hardware address: 00e0-1400-1200 #DHCP客户端的MAC地址
Server host name: Not Configured, Boot file name: Not Configured
DHCP message type: DHCP Discover #发现阶段
*Apr 13 16:04:00:31 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: Assign Free Lease from global pool. #查看地址池
*Apr 13 16:04:00:31 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: Sending ICMP ECHOREQUEST to target IP: 10.1.12.2. #ping10.1.12.2
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: ICMP Timeout! #超时
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: ICMP detecting finished. The target IP can be used for dhcp allocation. #icmp探测完成10.1.12.2ip可用
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_PACKET:
Tx, interface GigabitEthernet0/1/0
Message type: reply #报文类型回应报文
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 883108507
Seconds: 0, Broadcast flag: 0
Client IP address: 0.0.0.0 Your IP address: 10.1.12.2 #DHCP客户端ip地址,服务器端分配给客户端的ip地址
Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0
Client hardware address: 00e0-1400-1200
Server host name: Not Configured, Boot file name: Not Configured
DHCP message type: DHCP Offer #提供阶段
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DhcpServer: Send DHCPOFFER to 00e0.1400.1200-GigabitEthernet0/1/0 Offer IP=> 10.1.12.2.
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: Receive DHCPREQUEST from 00e0.1400.1200-GigabitEthernet0/1/0.
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_PACKET:
Rx, interface GigabitEthernet0/1/0
Message type: request
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 883108507
Seconds: 0, Broadcast flag: 0
Client IP address: 0.0.0.0 Your IP address: 0.0.0.0
Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0
Client hardware address: 00e0-1400-1200
Server host name: Not Configured, Boot file name: Not Configured
DHCP message type: DHCP Request # 选择阶段
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: Acknowledge the DHCPREQUEST message!
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_PACKET:
Tx, interface GigabitEthernet0/1/0
Message type: reply
Hardware type: 1, Hardware address length: 6
Hops: 0, Transaction ID: 883108507
Seconds: 0, Broadcast flag: 0
Client IP address: 0.0.0.0 Your IP address: 10.1.12.2
Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0
Client hardware address: 00e0-1400-1200
Server host name: Not Configured, Boot file name: Not Configured
DHCP message type: DHCP Ack #确认阶段
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DhcpServer: Send DHCPACK to 00e0.1400.1200-GigabitEthernet0/1/0 Offer IP=> 10.1.12.2.
*Apr 13 16:04:00:484 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
DHCPServer: Requesting security module(s) to add a security entry (10.1.12.2 00e0-1400-1200) succeeded.
*Apr 13 16:04:11:31 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
Checking for expired lease.
*Apr 13 16:04:27:250 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
Checking for expired lease.
*Apr 13 16:04:43:734 2012 server DHCPS/7/DHCPS_DEBUG_COMMON:
Checking for expired lease.
- 下一篇:IMC中trap告警过滤
- 上一篇:BGP MPLS VPN综合实验