Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, single board and network equipment for generating relay agent

A technology for network equipment and boards, applied in the field of communications, which can solve the problem of inability to flexibly specify which board to use

Active Publication Date: 2011-12-21
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In some scenarios, such as wireless base station equipment, in order to support multi-mode, there will be a need to switch between multiple different modes (2G / 3G / 4G). It is uncertain which single board in the base station needs to be connected to the DHCP server. Therefore, it is impossible to flexibly specify which single board is used as the relay agent according to different scenarios

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, single board and network equipment for generating relay agent
  • Method, single board and network equipment for generating relay agent
  • Method, single board and network equipment for generating relay agent

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] see figure 1 , this embodiment provides a method for generating a relay agent, the flow of the method is as follows:

[0041] 101: After detecting the connection with the Dynamic Host Configuration Protocol DHCP server, send the broadcast message that the board supports the relay agent;

[0042] 102: Receive a relay agent request sent by a board that needs a relay agent after receiving the broadcast message;

[0043] 103: Confirm whether to accept the relay agent request;

[0044] 104: If the relay agent request is accepted, use this board as a relay agent for the single board requiring a relay agent.

[0045] In this embodiment, by detecting that the single board connected to the DHCP server sends a broadcast message that the board supports the relay agent, and after receiving the relay agent request sent by the single board that needs the relay agent, select whether to accept the relay agent request , if you choose to accept, it will be used as the relay agent of t...

Embodiment 2

[0047] This embodiment provides a method for generating a relay agent, such as figure 2 In the shown interaction diagram, the method for generating a relay agent provided by this embodiment is described by taking a network device including single boards A, B, and C as an example. see image 3 , the method flow is as follows:

[0048] 301: Boards A, B, and C in the network device respectively detect whether their own network ports can be connected to the DHCP server.

[0049] Specifically, since the board connected to the DHCP server inside the network device is unknown, all boards in the network device can detect whether their own network ports can be connected to the DHCP server, wherein the network ports include But not limited to Ethernet port.

[0050] In this embodiment, only board B in the network device is directly connected to the external network as an example, so only board B can successfully detect that it is connected to the DHCP server. Assume that board B su...

Embodiment 3

[0071] see Figure 4 , this embodiment provides a veneer, characterized in that the veneer includes:

[0072] A detection module 401, configured to detect whether a DHCP server is connected to the Dynamic Host Configuration Protocol;

[0073] The broadcast module 402 is used to send a broadcast message that the board supports the relay agent after the detection module 401 detects that it is connected to the DHCP server;

[0074] The first receiving module 403 is configured to receive the relay agent request sent by the single board that needs the relay agent after receiving the broadcast message sent by the broadcast module 402;

[0075] The processing module 404 is configured to confirm whether the relay agent request is accepted, and if so, use the board as the relay agent of the single board that needs the relay agent.

[0076] Further, see Figure 5 , the board also includes:

[0077] The first sending module 405 is configured to send a DHCP request message carrying an...

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 invention discloses a method for generating a relay agent, a single board and a network device, belonging to the communication field. The method includes: after detecting the connection with the Dynamic Host Configuration Protocol (DHCP) server, sending the broadcast message that the board supports the relay agent; receiving the relay agent request sent by the single board that needs the relay agent after receiving the broadcast message ; Confirm whether to accept the relay agent request; if yes, act as a relay agent for the single board that needs a relay agent. The single board includes: a detection module, a broadcast module, a first receiving module and a processing module. The network device includes: one or more single boards. The present invention realizes the dynamic generation of relay agents by detecting the mutual selection between the single boards connected to the DHCP server and the single boards requiring relay agents; It is carried out inside the device, which has the effect of isolating internal and external networks and ensuring security.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method for generating a relay agent, a single board and network equipment. Background technique [0002] With the development of network technology, a large number of network devices emerge. Since the locations and topological structures of network devices are easy to change, many network devices need to obtain a dynamic IP (Internet Protocol, Internet Protocol) address to access the network. In order to obtain a dynamic IP address, most network devices have a function of obtaining a dynamic IP address assigned by a DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) server. If the network device and the DHCP server are in the same physical network segment, the network device can directly obtain the dynamic IP address assigned by the DHCP server; if the network device and the DHCP server are not in the same physical network segment, a relay a...

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/12H04L29/06
Inventor 徐炜
Owner HUAWEI TECH CO LTD