IP Library › Granted Patent US 10,382,329
Granted Patent B1
US 10,382,329 · App. 15/281,976 · Granted Aug 13, 2019

Source MAC access controls in a virtual redundant router protocol environment

Inventors: Reji Thomas (Bangalore, IN); Sandip Kumar Ghosh (Bangalore, IN); Jimmy Jose (Hosur, IN)
Assignee: Juniper Networks, Inc.
H04L45/586H04L45/748H04L61/103H04L61/2007H04L61/6022
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,382,329
App. No.
15/281,976
Filed
Sep 30, 2016
Granted
Aug 13, 2019
Kind
B1
Art Unit
2464
USPC
370/392
Abstract

In general, techniques provide a mapping of host devices to different virtual router identifiers used to identify the source MAC address used for forwarding packets to the participating host devices. For example, a method may include receiving an Address Resolution Protocol (ARP) request for a first Internet protocol (IP) address from a host device, the first IP address comprising a virtual IP address of the virtual router. The method may also include determining a virtual router redundancy protocol (VRRP) virtual router identifier (VRID) associated with the first IP address. The method may further include generating a mapping between the host device and the determined VRID. The method may also include determining a virtual source MAC address of the virtual router based on the mapping and forwarding a second packet to the host device that specifies a virtual source MAC address for the second packet.

Claims (48)

1. A method comprising:

receiving, by a virtual router executing on a physical router, an Address Resolution Protocol (ARP) request for an Internet protocol (IP) address of a host device, the IP address comprising a virtual IP address of the virtual router;

determining, by the virtual router, a virtual router redundancy protocol (VRRP) virtual router identifier (VRID) associated with the IP address; and

generating, by the virtual router, a mapping between the IP address of the host device and the determined VRID for forwarding packets to the host device;

receiving, by the virtual router, a first packet including a destination IP address field specifying the IP address of the host device;

determining, by the virtual router and based on the mapping, a virtual source MAC address of the virtual router that is based on the VRID associated with the IP address; and

forwarding, by the virtual router, a second packet to the host device, the second packet specifying the determined virtual source MAC address as a source MAC address for the second packet, and the second packet including a payload of the first packet.

2. The method of claim 1 , wherein determining the virtual source MAC address of the virtual router based on the mapping further comprises:

determining the virtual source MAC address comprising a pre-determined byte address prefix and the VRID in a last byte of the virtual source MAC address.

3. The method of claim 1 , wherein forwarding the second packet to the host device further comprises:

updating a source MAC address field of the second packet to specify the virtual source MAC address.

4. The method of claim 1 , further comprising:

updating a next hop field of forwarding information specifying the IP address of the host device as a destination IP address with the determined virtual source MAC address.

5. The method of claim 1 , wherein the host device is configured with the IP address as a default gateway address.

6. The method of claim 1 , further comprising executing a plurality of virtual routers, including the virtual router, in accordance with VRRP.

7. A network device comprising:

a memory;

one or more processors operably coupled to the memory, wherein the one or more processors are configured to execute a virtual router to:

receive an Address Resolution Protocol (ARP) request for an Internet protocol (IP) address from a host device, the IP address comprising a virtual IP address of the virtual router;

determine a virtual router redundancy protocol (VRRP) virtual router identifier (VRID) associated with the IP address;

generate a mapping between the IP address of the host device and the determined VRID for forwarding packets to the host device; and

store the mapping in the memory;

receive a first packet including a destination IP address field specifying the IP address of the host device;

determine, based on the mapping, a virtual source MAC address of the virtual router that is based on the VRID associated with the IP address; and

forward a second packet to the host device, the second packet specifying the determined virtual source MAC address as a source MAC address for the second packet, and the second packet including a payload of the first packet.

8. The network device of claim 7 , wherein to determine the virtual source MAC address of the virtual router based on the mapping, the virtual router is further configured to:

determine the virtual source MAC address comprising a pre-determined byte address prefix and the VRID in a last byte of the virtual source MAC address.

9. The network device of claim 7 , wherein to forward the second packet to the host device, the virtual router is further configured to:

update a source MAC address field of the second packet to specify the virtual source MAC address.

10. The network device of claim 7 , wherein the virtual router is further configured:

update a next hop field of forwarding information specifying the IP address of the host device as a destination IP address with the determined virtual source MAC address.

11. The network device of claim 7 , wherein the host device is configured with the IP address as a default gateway address.

12. The network device of claim 7 , wherein the one or more processors are configured to execute a plurality of virtual routers, including the virtual router, in accordance with VRRP.

13. A non-transitory computer-readable storage medium comprising instructions for causing at least one programmable processor of a network device to execute a virtual router, wherein the instructions that cause the at least one programmable processor to execute the virtual router comprise instructions that cause the virtual router to:

receive an Address Resolution Protocol (ARP) request for a Internet protocol (IP) address of a host device, the IP address comprising a virtual IP address of the virtual router;

determine a virtual router redundancy protocol (VRRP) virtual router identifier (VRID) associated with the IP address; and

generate a mapping between the IP address of the host device and the determined VRID for forwarding packets to the host device;

receive a first packet including a destination IP address field specifying the IP address of the host device;

determine, based on the mapping, a virtual source MAC address of the virtual router that is based on the VRID associated with the IP address of the host device; and

forward a second packet to the host device, the second packet specifying the determined virtual source MAC address as a source MAC address for the second packet, and the second packet including a payload of the first packet.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions to determine the virtual source MAC address of the virtual router based on the mapping further comprise instructions to:

determine the virtual source MAC address comprising a pre-determined byte address prefix and the VRID in a last byte of the virtual source MAC address.

15. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions to forward the second packet to the host device comprise instructions to:

update a source MAC address field of the data packet to specify the virtual source MAC address.

16. The non-transitory computer-readable storage medium of claim 13 , further comprising instructions to:

update a next hop field of forwarding information specifying the IP address of the host device as a destination IP address with the determined virtual source MAC address.

17. The non-transitory computer-readable storage medium of claim 13 , wherein the host device is configured with the IP address as a default gateway address.

18. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions that cause the at least one programmable processor to execute the virtual router comprise instructions that cause the at least one programmable processor to execute a plurality of virtual routers including the virtual router, in accordance with VRRP.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 19, 2016
From: THOMAS, REJI
To: JUNIPER NETWORKS, INC.
Reel/Frame 040056/0882 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 30, 2016
From: GHOSH, SANDIP KUMAR; JOSE, JIMMY
To: JUNIPER NETWORKS, INC.
Reel/Frame 039910/0821 →
Cited By (3)
US 12,192,109 US 12,323,327 US 12,701,100