ISOLATING SERVICES ACROSS A SINGLE PHYSICAL NETWORK INTERFACE
20190215265 ยท 2019-07-11
Inventors
- Jeffrey Peterson (Idaho Falls, ID, US)
- Eric Turner (Idaho Falls, ID, US)
- Robert Peterson (Idaho Falls, ID, US)
Cpc classification
H04W12/009
ELECTRICITY
H04L67/146
ELECTRICITY
H04L63/0236
ELECTRICITY
H04L63/20
ELECTRICITY
H04L65/65
ELECTRICITY
H04L41/5041
ELECTRICITY
H04L41/40
ELECTRICITY
H04L41/00
ELECTRICITY
H04L61/00
ELECTRICITY
International classification
Abstract
Services can be isolated across a single physical network interface. A gateway that is installed at the user's premises can include a single inbound port over which multiple services can be provided to the premises. The gateway can evaluate all outbound frames that are received at the port to identify to which service they pertain and then tag the frames with an identifier assigned to the service. This tagging will enable the frames to be delivered to the intended service provider. When the gateway receives an inbound frame, it can strip the identifier from the frame and forward it over the single inbound port regardless of the service to which it pertains. In this way, multiple services that are provided to the user's premises can remain isolated on the wide area network even though they are provided over the same physical medium on the user's local area network.
Claims
1. A method, performed by a networking device that is connected to one or more switches of a network, for modifying frames to include a service-specific identifier, the method comprising: maintaining, at the networking device, an ID table that includes entries that associate IDs with matching criteria, the ID table including a first entry that associates a first ID with a first set of criteria and a second entry that associates a second ID with a second set of criteria; receiving, via a port of the networking device, a first frame; evaluating contents of the first frame; comparing the contents of the first frame against the entries of the ID table; upon determining that the contents of the first frame match the first set of criteria, modifying the first frame to include the first ID; forwarding the modified first frame to the one or more switches of the network; receiving, via the port, a second frame; evaluating contents of the second frame; comparing the contents of the second frame against the entries of the ID table; upon determining that the contents of the second frame match the second set of criteria, modifying the second frame to include the second ID; and forwarding the modified second frame to the one or more switches of the network.
2. The method of claim 1, wherein the matching criteria includes one or more of an identifier of the port, a destination IP address, a source IP address, a destination MAC address, or a source MAC address.
3. The method of claim 1, wherein the matching criteria includes two or more of an identifier of the port, a destination IP address, a source IP address, a destination MAC address, or a source MAC address.
4. The method of claim 1, wherein the networking device is a gateway at a user's premises to which the user's devices connect.
5. The method of claim 1, wherein the first and second IDs are associated with different ports of an edge switch to which a first and second service provider are connected respectively.
6. The method of claim 1, wherein the IDs are VLAN tags.
7. The method of claim 1, wherein the first criteria identify a first device that is a source of the first frame and a first service provider to which the first frame is directed and the second criteria identify a second device that is a source of the second frame and a second service provider to which the second frame is directed.
8. The method of claim 7, wherein the first criteria identify the first device using the first device's MAC address and the second criteria identify the second device using the second device's MAC address.
9. The method of claim 8, wherein the first criteria identify the first service provider using the first service provider's IP address and the second criteria identify the second device using the second device's IP address.
10. The method of claim 1, wherein the matching criteria includes a layer three port.
11. One or more computer storage media storing computer executable instructions which, when executed by a gateway that connects one or more user devices to a network, implement a method for modifying frames to include a service-specific identifier, the method comprising: receiving, via a port of the gateway, a first frame; evaluating contents of the first frame; comparing the contents of the first frame against entries of an ID table; determining that the contents of the first frame match a first set of criteria defined in a first entry of the ID table; modifying the first frame to include a first ID defined in the first entry; and forwarding the modified first frame over the network.
12. The computer storage media of claim 11, wherein the method further comprises: receiving, via the port of the gateway, a second frame; evaluating contents of the second frame; comparing the contents of the second frame against the entries of the ID table; determining that the contents of the second frame match a second set of criteria defined in a second entry of the ID table; modifying the second frame to include a second ID defined in the second entry; and forwarding the modified second frame over the network.
13. The computer storage media of claim 12, wherein the contents of the first frame include an identifier of a first device that is a source of the first frame and the contents of the second frame include an identifier of a second device that is a source of the second frame.
14. The computer storage media of claim 12, wherein the contents of the first frame include an identifier of a first service provider to which the first frame is directed and the contents of the second frame include an identifier of a second service provider to which the second frame is directed.
15. The computer storage media of claim 11, wherein the first set of criteria include a MAC address of a source of the first frame and an IP address of a service provider to which the first frame is directed.
16. The computer storage media of claim 11, wherein the method further comprises: adding an entry to the ID table in response to the user subscribing to a service provided over the network, the added entry defining a unique ID and associated criteria.
17. The computer storage media of claim 11, wherein the method further comprises: receiving frames from the network; and removing an ID from each of the received frames prior to forwarding the frames over the port.
18. A software-defined network architecture comprising: a gateway that includes an inbound port to which one or more user devices are connected and an outbound port by which the gateway connects to one or more switches of a network; and an edge switch that connects multiple service provider networks to the one or more switches of the network; wherein the gateway includes an ID table that defines entries each of which associates a unique ID with matching criteria, and wherein the gateway is configured to evaluate frames that are received from the one or more user devices via the inbound port against the entries in the ID table such that, when contents of a particular frame matches the matching criteria of a particular entry, the gateway modifies the particular frame to include the associated unique ID before forwarding the frame over the outbound port.
19. The software-defined network architecture of claim 18, wherein the edge switch is configured to forward frames to the service provider networks based on the unique IDs included in the frames.
20. The software-defined network architecture of claim 18, wherein the matching criteria for at least one of the entries includes layer two and layer three information.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to describe the manner in which the above-recited and other advantages and features of the invention can be obtained, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
[0024] In this specification and the claims, a gateway should be construed as an electronic device that includes at least one outbound port for coupling to a WAN and at least one inbound port for coupling to a LAN. The term layer two should be construed as the data link layer of the OSI model, while the term layer three should be construed as the network layer of the OSI model. A layer two identifier (or ID) should encompass any of the various types of identifiers that can be added to a frame including, for example, a VLAN tag, an MPLS label, or a Segment Routing segment label. The present invention should not be limited to any particular layer two protocol. For illustrative purposes only, the 802.1Q or 802.1ad protocol could be used in embodiments of the present invention. The term port should be construed as a physical layer two interface and should not be confused with logical ports at the transport layer.
[0025]
[0026] In contrast to
[0027]
[0028] Turning now to
[0029] With the virtual network implemented, the user can commence receiving streaming video services at smart TV 100a (or another device connected to gateway 210 assuming corresponding entries have been created in ID table 300). For example, in
[0030] Importantly, gateway 210 will receive this frame via port 211the same port by which gateway 210 would receive frames pertaining to other services to which the user has subscribed (e.g., internet communications, security communications, etc.). To direct frames to the intended provider network, gateway 210 can modify outbound frames it receives to include the proper ID. This is accomplished using ID table 300. For example, in step 5 and in response to receiving the frame from smart TV 100a in step 4, gateway 210 can evaluate the frame and compare its contents to the matching criteria associated with each ID. In this case, gateway 210 will determine that the frame has a source MAC address of MAC1 and a destination IP address of IP1. With this information, gateway 210 can search ID table 300 to determine that a match exists and that ID1 is associated with this criteria. As a result, gateway 210 will add ID1 to the frame.
[0031] IDs can be added to frames in accordance with various different protocols. For example, the IDs may be in the form of a VLAN tag in accordance with the 802.1Q or 802.1ad protocols, in the form of a label in accordance with the MPLS protocol, or in any other format. Once gateway 210 has added the proper ID, it can forward the modified frame over network 130 via port 212 as represented in step 6.
[0032] It is noted that, in some cases, gateway 210 may modify a frame to include a default ID when the frame does not match any criteria in table 300. Therefore, whenever gateway 210 or any other gateway in the network receives a frame that does not match any criteria, the frame may be modified to include the default ID and then forwarded over the network. In short, gateway 210 selectively modifies frames based on the frame's contents matching an entry or not matching any entry in ID table 300.
[0033] Once gateway 210 forwards the frame with the added ID of ID1 over network 130, the frame will be forwarded towards edge switch 132. In step 7, edge switch 132 will receive the frame and can employ the ID to determine how to forward the frame. In particular, edge switch 132 will maintain a table that associates one or more IDs with each of its inbound ports. In this example, ID1 will be associated with the inbound port by which streaming video provider network 140a is connected to edge switch 132. Edge switch 132 will therefore forward the frame to streaming video provider network 140a.
[0034] In some embodiments, edge switch 132 may strip the ID from the frame prior to forwarding it over an inbound port. By removing the ID at edge switch 132, the components of streaming video provider network 140a will not need to be configured to process such IDs. In other words, the use of the IDs is transparent to the components of the provider's network as well as to the user's devices.
[0035] To better illustrate how the present invention isolates services that are provided via the same port,
[0036] In summary, gateway 210 can maintain an ID table (or some other data structure) which associates any combination of criteria with a particular ID. The combination of criteria can include layer two information, layer three information, or any other information that can be extracted from a frame that gateway 210 receives from a user's device and that identifies a particular service to which the frame is directed. By evaluating the frames, gateway 210 can add the appropriate ID to each frame to cause the frame to be delivered to the intended service provider when the frame is received at the corresponding edge switch.
[0037]
[0038] Method 500 includes an act 501 of maintaining, at the networking device, an ID table that includes entries that associate IDs with matching criteria, the ID table including a first entry that associates a first ID with a first set of criteria and a second entry that associates a second ID with a second set of criteria. For example, gateway 210 can maintain ID table 300.
[0039] Method 500 includes an act 502 of receiving, via a port of the networking device, a first frame. For example, gateway 210 can receive a frame from smart TV 100a that is intended for the streaming video provider.
[0040] Method 500 includes an act 503 of evaluating contents of the first frame. For example, gateway 210 can examine a MAC address, IP address, a VLAN tag, a TCP port, etc. of the frame.
[0041] Method 500 includes an act 504 of comparing the contents of the first frame against the entries of the ID table. For example, gateway 210 can evaluate the contents of the frame against entries in ID table 300.
[0042] Method 500 includes an act 505 of, upon determining that the contents of the first frame match the first set of criteria, modifying the first frame to include the first ID. For example, gateway 210 could add ID1 as a VLAN tag or other type of ID to the frame when it determines that the frame has a source MAC address of MAC1 and a destination IP address of IP1.
[0043] Method 500 includes an act 506 of forwarding the modified first frame to the one or more switches of the network. For example, gateway 210 can forward the frame with ID1 over port 212.
[0044] Method 500 includes an act 507 of receiving, via the port, a second frame. For example, gateway 210 can receive a frame from security system 100n that is intended for the security service provider.
[0045] Method 500 includes an act 508 of evaluating contents of the second frame. For example, gateway 210 can examine a MAC address, IP address, a VLAN tag, a TCP port, etc. of the frame.
[0046] Method 500 includes an act 509 of comparing the contents of the second frame against the entries of the ID table. For example, gateway 210 can evaluate the contents of the frame against entries in ID table 300.
[0047] Method 500 includes an act 510 of, upon determining that the contents of the second frame match the second set of criteria, modifying the second frame to include the second ID. For example, gateway 210 could add ID2 as a VLAN tag or other type of ID to the frame when it determines that the frame has a source MAC address of MAC2 and a destination IP address of IP2.
[0048] Finally, method 500 includes an act 511 of forwarding the modified second frame to the one or more switches of the network. For example, gateway 210 can forward the frame with ID2 over port 212.
[0049] Embodiments of the present invention may comprise or utilize special purpose or general-purpose computers including computer hardware, such as, for example, one or more processors and system memory. Embodiments within the scope of the present invention also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system.
[0050] Computer-readable media is categorized into two disjoint categories: computer storage media and transmission media. Computer storage media (devices) include RAM, ROM, EEPROM, CD-ROM, solid state drives (SSDs) (e.g., based on RAM), Flash memory, phase-change memory (PCM), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other similarly storage medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Transmission media include signals and carrier waves.
[0051] Computer-executable instructions comprise, for example, instructions and data which, when executed by a processor, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language or P-Code, or even source code.
[0052] Those skilled in the art will appreciate that the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, tablets, pagers, routers, switches, and the like.
[0053] The invention may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices. An example of a distributed system environment is a cloud of networked servers or server resources. Accordingly, the present invention can be hosted in a cloud environment.
[0054] The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description.