Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for achieving virtual routing and forwarding on basis of Linux system

A system implementation and routing technology, applied in the field of network communication, can solve problems such as heavy workload, large modification of Linux protocol stack, new entries cannot support VRF, etc., and achieve the effect of reducing code cost

Active Publication Date: 2013-07-17
MAIPU COMM TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The implementation of this set of software codes is relatively difficult and complicated, and it greatly modifies the existing Linux protocol stack
Moreover, with the continuous upgrade of the Linux kernel version, it will take a lot of work to port this software code to the upgraded version. In addition, if the manager of the software code does not maintain it properly, some new entries will not be able to support VRF , such as netfilter entries in 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 and device for achieving virtual routing and forwarding on basis of Linux system
  • Method and device for achieving virtual routing and forwarding on basis of Linux system
  • Method and device for achieving virtual routing and forwarding on basis of Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0020] The network name space of Linux system preserves relevant entries such as private routing table, address table, interface table when generating, and VRF, it needs to use several table items that above-mentioned network name space preserves, based on this, the present invention can The VRF function is realized by using the network name space characteristic of Linux, without having to develop a set of software codes specially used for realizing the VRF function.

[0021] The method provided by the invention is described below:

[0022] see figure 1 , figure 1 The flow chart of the method provided by the embodiment of the present invention. This method is applied to network devices based on Linux systems, including such as figure 1 The fol...

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 and device for achieving virtual routing and forwarding (VRF) on the basis of the Linux system. The method is applied to a network device based on the Linux system and comprises the steps of establishing a network name space in an inner core space, generating a name and a logo of a VRF example associated with a list item for message forwarding in the network name space, and storing the name and the logo of the VRF example in the network name space; configuring at least one VRF example which a network interface belongs to for the network interface of the network device; enabling the network device to receive messages through the network interface, enabling the logo of the VRF example configured for the network interface to serve as a keyword so as to find the network name space comprising the keyword, and utilizing the found list item for message forwarding in the network name space to select a route for the messages.

Description

technical field [0001] The invention relates to network communication technology, in particular to a method and a device for realizing virtual routing and forwarding (VRF: Virtual Routing and Forwarding) based on a Linux system. Background technique [0002] VRF can allow multiple routing tables to exist and work on a network device at the same time. It is similar to a logical network device and maintains at least the following three elements: an independent routing table, a set of interfaces belonging to this VRF, And a set of routing protocols only for this VRF. These three elements are independent of each other in VRF. VRF controls packet forwarding through a series of modules corresponding to independent routing tables, interface management, and routing protocols, so as to realize the control of packet forwarding inside VRF within VRF, and between VRFs. By default, packets cannot be forwarded to each other. [0003] VRF increases network security and avoids the use of ...

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): H04L12/741H04L12/703H04L45/74H04L45/28
Inventor 林茂王佑刚李永合
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products