Hardware routing table maintenance method and device

The invention discloses a hardware routing table maintenance method and device. The method comprises the following steps: acquiring a source IP address of a message received through each extranet interface; searching a route matched with the source IP address in a hardware routing table; determining...

Full description

Saved in:
Bibliographic Details
Main Author ZHAO RUNSHENG
Format Patent
LanguageChinese
English
Published 27.03.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a hardware routing table maintenance method and device. The method comprises the following steps: acquiring a source IP address of a message received through each extranet interface; searching a route matched with the source IP address in a hardware routing table; determining whether the route carries a reverse route identifier or not; if it is determined that the route does not carry the reverse route identifier, forwarding the message to the CPU, so that the CPU generates a reverse route corresponding to the message and issues the reverse route and the reverse route identifier, wherein the reverse route comprises the source IP address, a source port of the message and a source media access control MAC address; and adding the reverse route and the reverse route identifier to the hardware routing table. According to the scheme, the application range is wide; moreover, the performance cost of the hardware routing table is very low. 本发明公开了一种硬件路由表的维护方法及装置,该方法包括:获取通过各个外网接口接收到的报文的源IP地址;在硬件路
Bibliography:Application Number: CN201911333458