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

Method for realizing DHCP server with single physical network card and multiple VLANs

A technology of physical network card and implementation method, which is applied in the network field and can solve problems such as complex configuration

Active Publication Date: 2017-06-13
SUNINFO INFORMATION TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, with the continuous upgrading of hardware, many companies will gradually use Linux services to provide DHCP services for the entire company. Under the existing technology, Linux has some open source DHCP services, but these services need to provide IP allocation for multiple VLANs. Services generally require multiple physical network cards, and the configuration is generally more complicated
[0003] In addition, in today's information security world, DHCP is not only a simple function of providing IP, but may also involve the processing of data packets such as DCHP discover and offer, so as to determine how to allocate according to the policy. Therefore, if only It is impossible to meet this demand with the help of third-party DHCP services on Linux

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 realizing DHCP server with single physical network card and multiple VLANs
  • Method for realizing DHCP server with single physical network card and multiple VLANs
  • Method for realizing DHCP server with single physical network card and multiple VLANs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] Such as figure 1 Shown, the DHCP server implementation method of a kind of single physical network card multi-VLAN, comprises the steps:

[0025] S1, the configuration of the virtual VLAN network card:

[0026] S101, judging whether the network card driver of the physical network card supports the 802.1q protocol; if yes, go to step S102;

[0027] S102, judging whether the server core where the physical network card is located can load the 802.1q module, if yes, go to step S11.

[0028] S11, create a new virtual VLAN network card for each VLAN based on the physical network card; use the vconfig command to make the last parameter the same as the VLAN number corresponding to the switch;

[0029] S12. Configure the IP of the network segment for each virtual VLAN network card, and load the 802.1q module. Each virtual VLAN network card needs to be allocated an IP, so the virtual VLAN network card is in one-to-one correspondence with the IP group to be allocated, that is, ...

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 provides a method for realizing a DHCP server with a single physical network card and multiple VLANs. The method comprises the following steps: step S1, configuration of a virtual VLAN network card, wherein the step S1 comprises the following steps: S11, establishing a new virtual VLAN network card for each VLAN based on the physical network card; S12, configuring an IP of the network segment to each virtual VLAN network card, and loading a 802.1q module. According to the method for realizing the DHCP server with single physical network card and multiple VLANs, the virtual VLAN network card technology is combined with a JAVA program, the extension and programming ability is good, the adaptability is good, the cost can be effectively reduced, and the efficiency is improved to better adapt to the requirements of times and markets.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method for realizing a DHCP server with a single physical network card and multiple VLANs. Background technique [0002] At present, with the continuous upgrading of hardware, many companies will gradually use Linux services to provide DHCP services for the entire company. Under the existing technology, Linux has some open source DHCP services, but these services need to provide IP allocation for multiple VLANs. Services generally require multiple physical network cards, and the configuration is generally more complicated. [0003] In addition, in today's information security world, DHCP is not only a simple function of providing IP, but may also involve the processing of data packets such as DCHP discover and offer, so as to determine how to allocate according to the policy. Therefore, if only It is impossible to meet this demand with the third-party DHCP service on Linux. ...

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 Applications(China)
IPC IPC(8): H04L29/12
CPCH04L61/5014H04L61/5061H04L61/5076
Inventor 蔡明伟许景栋李梦雅
Owner SUNINFO INFORMATION TECH