Method and system for simulating multiple clients to test DHCPby utilizing raw socket
A multi-client and client-side technology, applied in transmission systems, electrical components, etc., to achieve the effect of simple logic and strong versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Embodiment 1 of the present invention proposes a method for testing DHCP by using raw socket to simulate multi-clients, which is applied to DHCP clients. Such as figure 1 A flow chart of a method for testing DHCP by using raw socket to simulate multi-client testing is given.
[0050] In step S101, the DHCP server in the SDN device is configured, and the DHCP server is started. The configured content includes: address pool, DNS server address, domain name, default route, broadcast address, default lease time and maximum lease time, and Use the systemctl command to start DHCP and check whether the operation is successful.
[0051] In step S102, on the SDN client device, the current process is run on the CPU specified by the mask through the CPU affinity of the enabling process in turn, and the link layer data and IP layer data are constructed according to the format and the DHCP request is filled The message creates a raw socket connection.
[0052] The detailed steps ar...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com