CPC H04L 12/4625 (2013.01) [G06F 9/45558 (2013.01); H04L 45/586 (2013.01); H04L 49/3009 (2013.01); H04L 61/103 (2013.01); G06F 2009/45595 (2013.01); H04L 2101/622 (2022.05)] | 20 Claims |
1. A computer-implemented method comprising:
requesting, by a hypervisor, a cellular Internet Protocol (IP) address by initiating a call using a cellular modem of the hypervisor to establish data packet network connectivity with a cellular network;
receiving, by the hypervisor, a cellular IP address assigned to a cellular modem of the hypervisor by the cellular network;
assigning, by the hypervisor, the cellular IP address to a virtual Layer 2 (L2)-bridge interface of the hypervisor, wherein the cellular IP address is associated to a bridge Media Access Control (MAC) address of the virtual L2-bridge interface;
mapping, by the hypervisor, a MAC address of a respective virtual machine included in a plurality of virtual machines associated with the hypervisor with the bridge MAC address of the virtual L2-bridge interface;
based on the mapping, using the bridge MAC address as a source MAC address for the respective virtual machine or a destination MAC address for the respective virtual machine for communications between the respective virtual machine and the cellular network, wherein the plurality of virtual machines share the cellular IP address of the cellular modem of the hypervisor for communicating;
detecting, by the hypervisor, a change in the cellular IP address assigned to the cellular modem of the hypervisor; and
updating, by the hypervisor, the virtual L2-bridge interface with a different cellular IP address assigned to the cellular modem of the hypervisor while maintaining the data packet network connectivity.
|