Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof

A technology of dynamic host configuration and protocol, applied in the field of communication, can solve problems such as migration, DHCP snooping binding information error, etc., and achieve the effect of preventing attacks

Inactive Publication Date: 2012-09-05
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the prior art generates DHCP snooping binding information, there are at least the following problems: During the DHCP message interaction process, before the DHCP server responds to the DHCP snooping device with an ACK message, if the user’s MAC address is spoofed, the MAC address in the MAC entry The port corresponding to the address will be migrated. In this way, when the DHCP snooping binding information is generated, the port obtained by looking up the MAC entry does not match the actual port, resulting in an error in the generated DHCP snooping binding information.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof
  • Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof
  • Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] image 3 It is a flowchart of an embodiment of a method for generating DHCP snooping binding information in the present invention. Such as image 3 As shown, the generation method of the DHCP snooping binding information of this embodiment includes the following steps:

[0029] Step 101, receiving an acknowledgment ACK message returned by the DHCP server, where the ACK message includes a destination MAC address.

[0030] Step 102, query the MAC entry corr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method for generating dynamic host configuration protocol (DHCP) snooping binding information, and a device thereof, wherein the method comprises: receiving ACK message including target MAC address returned by a DHCP server; querying items corresponding to the target MAC address; according to a first identification position and a second identification position in MAC items, if receiving message discover and message request, generating the DHCP snooping binding information according to input port information in the MAC items, and ensuring source MAC address, the input port information and input VLAN ID in the message discover and the message request to be respectively and correspondingly the same as each other. The embodiment of the invention canavoid the pot corresponding to the MAC address in a MAC table not being shifted caused by MAC address spoofing, and effectively guarantees the accuracy of the DHCP snooping binding information.

Description

technical field [0001] The present invention relates to communication technology, in particular to a method and device for generating dynamic host configuration protocol (Dynamic Host Configure Protocol, hereinafter referred to as: DHCP) snooping binding information. Background technique [0002] In a DHCP network system based on DHCP, the DHCP snooping (SNOOPING) device can be used to filter the response message of the DHCP server to prevent its attack on the internal network. figure 1 It is a schematic diagram of a topology structure of a DHCP network in the prior art. in the figure 1 In the shown DHCP network, the Internet Protocol (Internet Protocol, hereinafter referred to as: IP) address obtained by a personal computer (personal computer, hereinafter referred to as: PC) from the DHCP snooping device is in the same network segment as the address of the DHCP server. figure 2 is another schematic diagram of the topology of the prior art DHCP network, in which figure ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L12/56H04L1/16H04L29/12
Inventor 何诗红吴晓亮
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products