Modification or addition to forwarding table based on address
AssigneeHewlett Packard Enterprise Department LP
InventorsJose Renato G Santos, Michael Schlansker, Jean Tourrilhes
Life of this patent
Estimating the term…
Abstract
Embodiments herein relate to addition or modification to a forwarding table based on an address. A first packet having a source address and a location value may be received. The source address includes a source of the first packet and the location value indicates at least part of a route along a network to the source address. The forwarding table is not modified or no new entry is added to the forwarding table, if the forwarding table does not include the source address.
Claims17
A local switch, comprising:
- a controller to receive a first packet having a source address and a location value, the source address including a source of the first packet and the location value indicating at least part of a route along a network to the source address;
- and
- a forwarding table including a plurality of entries, each entry including a destination field and a location field, wherein
- the controller is to compare the source address of the first packet to values of the destination fields of the forwarding table,
- the controller is to not add a new entry including the location value of the first packet to the forwarding table if none of the destination fields of the plurality of entries of the forwarding table include the source address of the first packet,
- the controller is to receive a second packet including a destination address,
- the controller is to add a new entry to the forwarding table if the destination address of the second packet is not included in any of the destination fields of the forwarding table, and
- the destination field of the new entry is to include the destination address of the second packet and the location field of the new entry is to remain unknown.
A method, comprising:
- receiving a first packet, at a switch, the first packet including a source address and a location value indicating at least part of a route along a network to the source address;
- determining, at the switch, that destination fields in a forwarding table include the source address of the first packet, wherein the forwarding table includes a plurality of entries, each entry having a destination field and a location field;
- determining that the location value is not yet associated with the source address in the forwarding table;
- adding the location value to the forwarding table responsive to determinations that the source address is included in the destination fields of the forwarding table and the location value is not yet associated with the source address in the forwarding table;
- not adding the location value to the forwarding table if the source address is not included in the destination fields of the forwarding table;
- receiving a second packet, at the switch, the second packet including a destination address, the first packet received from a remote device and the second packet received from a local device;
- determining, at the switch, that none of the destination fields of the forwarding table includes the destination address;
- and
- adding a new entry to the plurality of entries of the forwarding table responsive to a determination that none of the destination fields of the forwarding table includes the destination address, a destination field of the new entry to include the destination address of the second packet and a location field of the new entry to remain unknown.
A non-transitory computer-readable storage medium storing instructions that, if executed by a processor of a network switch, cause the processor to:
- store, at a forwarding table of the network switch, destination addresses of a plurality of remote devices, the destination addresses extracted from packets received from a local device coupled to the network switch;
- receive a first packet from one of the plurality remote devices, the first packet to include a source address and a location value indicating at least part of a route along a network to the source address;
- compare the source address of the first packet to the destination addresses of the forwarding table;
- at least one of discard and forward the first packet without modifying the forwarding table, if none of destination addresses match the source address;
- receive a second packet including a destination address;
- and
- add a new entry to the forwarding table if the destination address of the second packet is not included in any of the destination fields of the forwarding table, wherein the destination field of the new entry is to include the destination address of the second packet and the location field of the new entry is to remain unknown.
Dependencies are inferred from the claim text.