IP Library › Granted Patent US 10,505,847
Granted Patent B1
US 10,505,847 · App. 15/940,745 · Granted Dec 10, 2019

Destination MAC validation per logical interface of a network device

Inventors: Babu Singarayan (San Jose, CA); Channasangamesh S Hugar (Bangalore, IN); Avijit Basu (Bangalore, IN); Pratibha Goel (Bangalore, IN)
Assignee: Juniper Networks, Inc.
H04L45/745H04L45/54H04L49/3009H04L61/103H04L61/6022H04L69/22H04L12/4633H04L12/4641
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,505,847
App. No.
15/940,745
Granted
Dec 10, 2019
Kind
B1
Abstract

In one example, a network device includes an interface card comprising a physical network interface; a forwarding component associated with the interface card; a control unit comprising one or more processors, wherein the control unit is configured to program the forwarding component to configure sets of one or more valid media access control (MAC) addresses in association with respective logical interfaces of a plurality of logical interfaces configured for the physical interface, wherein the forwarding component is configured to identify a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface, and wherein the forwarding component is configured to, in response to a determination that the set of valid MAC addresses associated with the identified logical interface does not include a valid MAC address that matches a destination MAC address of the packet, drop the packet.

Claims (79)

1. A method comprising:

receiving, by a network device, configuration data defining a plurality of logical interfaces for a physical network interface of the network device, wherein each logical interface of the plurality of logical interfaces is associated with a different my-media access control (my-MAC) table configured within the network device, each of the my-MAC tables including one or more valid MAC addresses for the logical interface;

identifying, by the network device, a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface,

wherein the identified logical interface comprises a logical tunnel or a pseudowire service interface having a layer 3 tunnel endpoint, and

wherein the one or more valid MAC addresses for the identified logical interface comprise one or more MAC addresses that indicate routable layer 3 traffic at a layer 3 tunnel endpoint; and

in response to determining, by the network device, that the my-MAC table associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet, dropping the packet.

2. The method of claim 1 , wherein the packet is a first packet, the method further comprising:

identifying, by the network device, the logical interface with which to process a second packet received by the network device at the physical interface;

in response to determining, by the network device, that the my-MAC table associated with the identified logical interface includes a valid MAC address that matches a destination MAC address of the second packet, forwarding the second packet.

3. The method of claim 1 , wherein forwarding the second packet comprises forwarding the packet using a layer 3 interface configured for the identified logical interface.

4. The method of claim 1 ,

wherein the logical interface is a first logical interface, and

wherein the packet is a first packet, the method further comprising:

identifying, by the network device, a second logical interface of the plurality of logical interfaces with which to process a second packet received by the network device at the physical interface;

in response to determining, by the network device, that the my-MAC table associated with the identified second logical interface includes a valid MAC address that matches a destination MAC address of the second packet, forwarding the second packet.

5. The method of claim 1 ,

wherein the logical interface is a first logical interface,

wherein the my-MAC table associated with the first logical interface comprises a first MAC address, and

wherein the my-MAC table associated with a second logical interface of the plurality of logical interfaces comprises a second MAC address, the second MAC address different than the first MAC address.

6. The method of claim 1 ,

wherein the plurality of logical interfaces are configured with respective virtual local area network identifiers, and

wherein identifying the logical interface comprises mapping a virtual local area network tag of the packet to the virtual local area network identifier configured for the identified logical interface.

7. The method of claim 1 , further comprising:

sending, from a control unit of the network device to a forwarding component of the network device, a configuration message specifying the identified logical interface and a valid MAC address for the my-MAC table associated with the identified logical interface; and

storing, by the forwarding component, the valid MAC address to the my-MAC table associated with the identified logical interface,

wherein the valid MAC address does not match the destination MAC address of the packet.

8. The method of claim 1 ,

wherein each of the plurality of logical interfaces is a type of logical interface, the method further comprising:

selecting, by the network device based on the packet, a type of logical interface for the packet,

wherein determining that the my-MAC table associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet comprises querying the my-MAC table associated with the identified logical interface using a lookup key that is based on the type of logical interface for the packet and the destination MAC address of the packet.

9. A method comprising:

receiving, by a network device, configuration data defining a plurality of logical interfaces for a physical network interface of the network device, wherein each logical interface of the plurality of logical interfaces is associated with a different my-media access control (my-MAC) table configured within the network device, each of the my-MAC tables including one or more valid MAC addresses for the logical interface, wherein the network device comprises a distributed network device having an aggregation device having a cascade port and one or more satellite devices each having at least one extended port configured for the cascade port;

identifying, by the network device, a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface, wherein the identified logical interface represents the cascade port; and

in response to determining, by the network device, that the my-MAC table associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet, dropping the packet, wherein determining that the my-MAC table associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet comprises querying the my-MAC table associated with the identified logical interface using a lookup key that is based on an E-channel identifier (ECID) and the destination MAC address of the packet.

10. A method comprising:

receiving, by a network device, configuration data defining a plurality of logical interfaces for a physical network interface of the network device, wherein each logical interface of the plurality of logical interfaces is associated with a different my-media access control (my-MAC) table configured within the network device, each of the my-MAC tables including one or more valid MAC addresses for the logical interface;

identifying, by the network device, a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface, wherein the identified logical interface is configured to support a first virtual router redundancy protocol (VRRP) session and a second VRRP session for a VRRP group; and

in response to determining, by the network device, that the my-MAC table associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet, dropping the packet, wherein the one or more valid MAC addresses for the identified logical interface comprise one or more virtual MAC addresses that indicate routable layer 3 traffic for the VRRP group.

11. A network device comprising:

an interface card comprising a physical network interface;

a forwarding component associated with the interface card;

a control unit comprising one or more processors, wherein the control unit is configured to program the forwarding component to configure sets of one or more valid media access control (MAC) addresses in association with respective logical interfaces of a plurality of logical interfaces configured for the physical interface;

wherein the forwarding component is configured to identify a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface,

wherein the identified logical interface comprises a logical tunnel or a pseudowire service interface having a layer 3 tunnel endpoint, and

wherein the one or more valid MAC addresses for the identified logical interface comprise one or more MAC addresses that indicate routable layer 3 traffic at a layer 3 tunnel endpoint; and

wherein the forwarding component is configured to, in response to a determination that the set of valid MAC addresses associated with the identified logical interface does not include a valid MAC address that matches a destination MAC address of the packet, drop the packet.

12. The network device of claim 11 ,

wherein the control unit is configured to program the forwarding component with a plurality of my-MAC tables, and

wherein each logical interface of the plurality of logical interfaces is associated with a different my-MAC table of the my-MAC tables, the my-MAC table associated with the logical interface storing the set of one or more valid MAC address associated with the logical interface.

13. The network device of claim 11 , wherein the network device comprises a layer 3 gateway router.

14. The network device of claim 11 ,

wherein the packet is a first packet,

wherein the forwarding component is configured to identify the logical interface with which to process a second packet received by the network device at the physical interface, and

wherein the forwarding component is configured to, in response to a determination that the set of valid MAC addresses associated with the identified logical interface includes a valid MAC address that matches a destination MAC address of the second packet, forwarding the second packet.

15. The network device of claim 11 , wherein to forward the second packet the forwarding component is configured to forward the packet using a layer 3 interface configured for the identified logical interface.

16. The network device of claim 11 ,

wherein the logical interface is a first logical interface, and

wherein the packet is a first packet,

wherein the forwarding component is configured to identify a second logical interface of the plurality of logical interfaces with which to process a second packet received by the network device at the physical interface;

wherein the forwarding component is configured to, in response to a determination that the set of one or more valid MAC addresses associated with the identified second logical interface includes a valid MAC address that matches a destination MAC address of the second packet, forward the second packet.

17. The network device of claim 11 ,

wherein the logical interface is a first logical interface,

wherein the set of valid MAC addresses associated with the first logical interface comprises a first MAC address, and

wherein the set of valid MAC addresses associated with a second logical interface of the plurality of logical interfaces comprises a second MAC address, the second MAC address different than the first MAC address.

18. The network device of claim 11 ,

wherein the plurality of logical interfaces are configured with respective virtual local area network identifiers, and

wherein, to identify the logical interface, the forwarding component is configured to map a virtual local area network tag of the packet to the virtual local area network identifier configured for the identified logical interface.

19. A network device comprising:

an interface card comprising a physical network interface;

a forwarding component associated with the interface card;

a control unit comprising one or more processors, wherein the control unit is configured to program the forwarding component to configure sets of one or more valid media access control (MAC) addresses in association with respective logical interfaces of a plurality of logical interfaces configured for the physical interface, wherein the network device comprises a distributed network device having an aggregation device having a cascade port and one or more satellite devices each having at least one extended port configured for the cascade port;

wherein the forwarding component is configured to identify a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface, wherein the identified logical interface represents the cascade port; and

wherein the forwarding component is configured to, in response to a determination that the set of valid MAC addresses associated with the identified logical interface does not include a valid MAC address that matches a destination MAC address of the packet, drop the packet, wherein determining that the my-MAC table associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet comprises querying the my-MAC table associated with the identified logical interface using a lookup key that is based on an E-channel identifier (ECID) and the destination MAC address of the packet.

20. A network device comprising:

an interface card comprising a physical network interface;

a forwarding component associated with the interface card;

a control unit comprising one or more processors, wherein the control unit is configured to program the forwarding component to configure sets of one or more valid media access control (MAC) addresses in association with respective logical interfaces of a plurality of logical interfaces configured for the physical interface;

wherein the forwarding component is configured to identify a logical interface of the plurality of logical interfaces with which to process a packet received by the network device at the physical interface, wherein the identified logical interface is configured to support a first virtual router redundancy protocol (VRRP) session and a second VRRP session for a VRRP group; and

wherein the forwarding component is configured to, in response to a determination that the set of valid MAC addresses associated with the identified logical interface does not include a valid MAC address for the identified logical interface that matches a destination MAC address of the packet, drop the packet, wherein the one or more valid MAC addresses for the identified logical interface comprise one or more virtual MAC addresses that indicate routable layer 3 traffic for the VRRP group.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE DOCKET NUMBER PREVIOUSLY RECORDED ON REEL 045391 FRAME 0921. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Aug 1, 2018
From: SINGARAYAN, BABU; HUGAR, CHANNASANGAMESH S; BASU, AVIJIT; GOEL, PRATIBHA
To: JUNIPER NETWORKS, INC.
Reel/Frame 046703/0409 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 29, 2018
From: SINGARAYAN, BABU; HUGAR, CHANNASANGAMESH S; BASU, AVIJIT; GOEL, PRATIBHA
To: JUNIPER NETWORKS, INC.
Reel/Frame 045391/0921 →
Cited By (3)
US 12,218,905 US 12,278,757 US 12,506,819