Abstract:
The present invention provides a packet processing method and system, and a network device. The method includes: receiving, by a first network device, a packet, where the packet includes match object information and match condition information; determining, by the first network device, a to-be-matched second network device according to the match object information, where the second network device includes one or more network devices; matching, by the first network device, device information of the second network device with the match condition information; and performing, by the first network device, forwarding processing or discarding processing on the packet according to a match result of matching the device information of the second network device with the match condition information. By using the method provided in the present invention, excessive occupation of network bandwidth can be reduced, and network resources can be saved.
Abstract:
A routing table creation method, an electronic device, and a network are provided. The method includes: generating a first probe packet, where the first probe packet has a source address and a destination address; sending, from a source node corresponding to the source address, the first probe packet on a network including at least two nodes, until the first probe packet reaches a destination node corresponding to the destination address, and recording addresses of nodes through which the first probe packet passes, to form a first path; generating a second path according to the first path, where the second path is a reverse path of the first path; generating a first response packet, sending the first response packet along a second path until the first response packet reaches the source node; and creating a routing table entry according to the second path.
Abstract:
Various embodiments provide an example method in which a first measurement packet can be generated. The first measurement packet includes link resource indication information, and the link resource indication information in the first measurement packet is configured to indicate each node on a forwarding path of the first measurement packet to perform local link resource measurement. In those embodiment, the first measurement packet can be sent to a next device on the forwarding path, where the first measurement packet includes local link resource information measured by the first device. Still in those embodiments, until the first measurement packet is forwarded to a third device by each node on the forwarding path of the first measurement packet, the third device receives the first measurement packets sent on different forwarding paths, and determines a path meeting the link resource indication information.
Abstract:
A method includes: a first network device generates a data link layer-based autonomic control plane (L2 ACP) packet, wherein the first network device is an autonomic device in the autonomic network; encapsulates, based on a frame at a data link layer, the L2 ACP packet, wherein the frame at the data link layer comprises a source data link layer address and a destination data link layer address, and the source data link layer address is a data link layer address of the first network device; and sends, according to the destination data link layer address, the L2 ACP packet encapsulated based on the frame at the data link layer to a second network device, wherein the second network device is also an autonomic device in the autonomic network, and the second network device is a neighboring device of the first network device.
Abstract:
Embodiments of the present invention provide a method for selecting a negotiation counterpart. Specifically, the first device sends a discovery message in the network, and the discovery message includes a technical objective. The first device receives a first response message with which a second device replies, and receives a second response message with which a third device replies. The first response message carries information about a characteristic that is of the second device and that supports implementation of the technical objective, and the second response message carries information about a characteristic that is of the third device and that supports implementation of the technical objective. The first device can select a device with a higher technical objective support degree from the second device and the third device as the negotiation counterpart according to the first response message and the second response message.
Abstract:
A method includes: a first network device generates a data link layer-based autonomic control plane (L2 ACP) packet, wherein the first network device is an autonomic device in the autonomic network; encapsulates, based on a frame at a data link layer, the L2 ACP packet, wherein the frame at the data link layer comprises a source data link layer address and a destination data link layer address, and the source data link layer address is a data link layer address of the first network device; and sends, according to the destination data link layer address, the L2 ACP packet encapsulated based on the frame at the data link layer to a second network device, wherein the second network device is also an autonomic device in the autonomic network, and the second network device is a neighboring device of the first network device.
Abstract:
The application provides a method and a router for sending and processing data. In the method, a first router receives a first Internet Protocol IP data packet sent by a network server, where the first IP data packet carries a first data adding instruction; and the first router searches, according to the first data adding instruction, a first local cache for to-be-added data that is indicated by the first data adding instruction, adds, to the first IP data packet, the to-be-added data that is indicated by the first data adding instruction, to form a second IP data packet, and sends the second IP data packet. Because a router can add data to an IP data packet according to a data adding instruction, flexibility of data combinations is improved, and because the IP data packet can support multiple times of data adding, the flexibility of data combinations is further improved.
Abstract:
The disclosure discloses a mobile node, a handover address acquisition method and system thereof, and a DHCP server. the present invention relates to the field of mobile communication technology and addresses a problem that a correspondent node (which can communicate with a mobile node normally before the mobile node roams) cannot communicated with the mobile node during link handover of the mobile node.
Abstract:
This application provides a packet sending method, applied to a communications system including at least two nodes, the at least two nodes include at least one parent node having a child node, a packet sent by the child node is forwarded by the parent node, and the method includes: receiving, by a first node, first instruction information, where the first instruction information is used to instruct the first node to send a packet after a first moment, and the first node is a parent node; and sending, by the first node, a first packet according to the first instruction information.
Abstract:
A method includes: setting up, by a first network device, a MACSec channel to a second network device according to the MACSec protocol; and sending, by the first network device, an ACP packet to the second network device by using the MACSec channel, where the ACP packet is carried in a MACSec frame, and a frame header of the MACSec frame carries identification information used to identify the ACP packet. By means of the packet transmission method, MACSec channel is set up between adjacent nodes in a self-organizing network according to the MACSec protocol, and an ACP packet is transmitted between the adjacent nodes by using the MACSec channel and processed.