IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
UP-0907124
(2005-03-21)
|
등록번호 |
US-7623520
(2009-12-02)
|
우선권정보 |
TW-93107835 A(2004-03-23) |
발명자
/ 주소 |
- Huang, Chih Hua
- Liu, Chun Feng
- Chen, Jin Ru
|
출원인 / 주소 |
- Realtek Semiconductor Corp.
|
대리인 / 주소 |
|
인용정보 |
피인용 횟수 :
1 인용 특허 :
9 |
초록
▼
A method used for routing a data packet in a router having a first table used for recording a plurality of destination IP address and second table used for recording destination MAC address, wherein the plurality of destination IP address are different. The method includes: receiving a data packet a
A method used for routing a data packet in a router having a first table used for recording a plurality of destination IP address and second table used for recording destination MAC address, wherein the plurality of destination IP address are different. The method includes: receiving a data packet and retrieving a destination IP address from the data packet; looking up an indication value corresponding to the destination IP address from the first table; selecting a destination MAC address from the second table according to the indication value as a nexthop for the data packet; and transmitting the data packet to the nexthop.
대표청구항
▼
What is claimed is: 1. A method for routing a packet in a routing device having a routing rule of a specific destination IP allowing a multi-nexthop setting, the method comprising: providing a first table in the routing device for recording a plurality of unrepeated destination IP addresses reachab
What is claimed is: 1. A method for routing a packet in a routing device having a routing rule of a specific destination IP allowing a multi-nexthop setting, the method comprising: providing a first table in the routing device for recording a plurality of unrepeated destination IP addresses reachable from the routing device, the unrepeated destination IP addresses including the specific destination IP allowing the multi-nexthop setting; providing a second table in the routing device for recording a plurality of MAC addresses, the second table including at least one possible MAC address corresponding to each destination IP address in the first table, and a plurality of possible MAC addresses corresponding to the specific destination IP allowing the multi-nexthop setting; looking up, in the first table, a destination IP address read from the packet to thereby obtain an indication value corresponding to a range of all the possible MAC addresses in the second table for the destination IP address read from the packet; selecting one of the possible MAC addresses in the range from the second table as a nexthop; and transmitting the packet to the nexthop. 2. The method of claim 1, wherein the selecting step further comprises selecting one of the possible MAC addresses in the range from the second table as the nexthop utilizing a round robin rule. 3. The method of claim 1, wherein the selecting step further comprises utilizing a load balance rule corresponding to the destination IP address to select one of the possible MAC addresses in the range from the second table as the nexthop. 4. The method of claim 3, wherein the load balance rule is recorded in the first table. 5. The method of claim 1, wherein the routing device supports a setting of multi-gateways, a plurality of nexthops are configured based on bandwidth ratio of the multi-gateways. 6. The method of claim 1, wherein the second table further records at least one source IP address for use in NAT or NAPT processing. 7. The method of claim 1, wherein the indication value for each compared destination IP address comprises a starting row and a number of rows of the second table, the staffing row corresponding to a first possible MAC address in the second table for the compared destination IP address, and the number of rows corresponding to how many possible MAC addresses are stored in the second table for the compared destination IP address. 8. A packet routing apparatus having a routing rule of a specific destination IP allowing a multi-nexthop setting, the apparatus comprising: a first table for recording a plurality of unrepeated destination IP addresses reachable from the routing device, the unrepeated destination IP addresses including the specific destination IP allowing the multi-nexthop setting; a second table for recording a plurality of MAC addresses, the second table including at least one possible MAC address corresponding to each destination IP address in the first table, and a plurality of possible MAC addresses corresponding to the specific destination IP allowing the multi-nexthop setting; a control circuit for looking up, in the first table, a destination IP address read from a packet to thereby obtain an indication value corresponding to a range of all the possible MAC addresses in the second table for the destination IP address read from the packet, and for selecting one of the possible MAC addresses in the range from the second table as a nexthop; and a transmitting circuit for transmitting the packet to the nexthop. 9. The apparatus of claim 8, wherein the control circuit is further for selecting one of the possible MAC addresses in the range from the second table as the nexthop utilizing a round robin rule. 10. The apparatus of claim 8, wherein the control circuit further utilizes a load balance rule corresponding to the destination IP address to select one of the possible MAC addresses in the range from the second table as the nexthop. 11. The apparatus of claim 10, wherein the load balance rule is recorded in the first table. 12. The apparatus of claim 8, wherein each of the destination IP addresses recorded in the first table corresponds to at least one MAC address recorded in the second table. 13. The apparatus of claim 8, wherein each MAC address comprises a destination MAC address and a source MAC address. 14. The apparatus of claim 8, the apparatus supports a setting of multi-gateways and configures a plurality of nexthops in the second table based on bandwidth ratio of the multi-gateways. 15. The apparatus of claim 8, wherein the second table further records source IP addresses for use in NAT or NAPT processing. 16. The apparatus of claim 8, wherein the indication value for each compared destination IP address comprises a staffing row and a number of rows of the second table, the staffing row corresponding to a first possible MAC address in the second table for the compared destination IP address, and the number of rows corresponding to how many possible MAC addresses are stored in the second table for the compared destination IP address. 17. A packet routing apparatus having a routing rule of a specific destination IP allowing a multi-nexthop setting, the apparatus comprising: a first storage medium for recording a plurality of unrepeated destination IP addresses reachable from the routing device, the unrepeated destination IP addresses including the specific destination IP allowing the multi-nexthop setting; a second storage medium for recording a plurality of MAC addresses, the second storage medium including at least one possible MAC address corresponding to each destination IP address in the first storage medium, and a plurality of possible MAC addresses corresponding to the specific destination IP allowing the multi-nexthop setting; a control circuit for looking up, in the first storage medium, a destination IP address read from a packet to thereby obtain an indication value corresponding to a range of all the possible MAC addresses in the second storage medium for the destination IP address read from the packet, and for selecting one of the possible MAC addresses in the range from the second storage medium as a nexthop; and a transmitting circuit for transmitting the packet to the nexthop. 18. The apparatus of claim 17, wherein the first storage medium and the second storage medium are in a storage unit. 19. The apparatus of claim 17, wherein the indication value for each compared destination IP address comprises a staffing row and a number or rows of the second storage medium, the starting row corresponding to a first possible MAC address in the second storage medium for the compared destination IP address, and the number of rows corresponding to how many possible MAC addresses are stored in the second storage medium for the compared IP address. 20. The apparatus of claim 17, wherein the apparatus supports a setting of multi-gateways and configures a plurality of nexthops in the second storage medium based on bandwidth ratio of the multi-gateways.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.