Optimizing access to local network devices via mesh network devices
Abstract
A method including receiving first connection information associated with a first LAN from a first meshnet device and second connection information associated with a second LAN from a second meshnet device; calculating a first range of first subnet IP addresses associated with the first LAN, and a second range of second subnet IP addresses associated with the second LAN; determining, based on comparing the first range and the second range, a conflict that a first subnet IP address assigned to a first LAN device is the same as a second subnet IP address assigned to a second LAN device; mapping, based on determining the conflict, an alternate IP address to correspond with the first subnet IP address; and communicating with the first LAN device based at least in part on utilizing the alternate IP address instead of utilizing the first subnet IP address is disclosed. Various other aspects are contemplated.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. An external meshnet device in communication with a first meshnet device and a second meshnet device in a mesh network, the first meshnet device being connected to a first local area network (LAN) and the second meshnet device being connected to a second LAN, the external meshnet device being external to the first LAN and to the second LAN, the external meshnet device comprising:
a memory; and
a processor communicatively coupled to the memory, the memory and the processor being configured to:
determine that a first subnet internet protocol (IP) address assigned to a first LAN device connected to the first LAN matches a second subnet IP address assigned to a second LAN device connected to the second LAN;
map an association of an alternate IP address and the first subnet IP address based at least in part on determining that the first subnet IP address matches the second subnet IP address;
transmit, to the first meshnet device that is connected to the first LAN, the association of the alternate IP address and the first subnet IP address; and
transmit a communication packet to the first meshnet device, the communication packet including the alternate IP address to indicate that the communication packet is to be communicated to the first LAN device.
2. The external meshnet device of claim 1 , wherein the memory and the processor are configured to:
calculate a first range of subnet IP addresses associated with the first LAN, and a second range of subnet IP addresses associated with the second LAN.
3. The external meshnet device of claim 1 , wherein the memory and the processor are configured to:
compare a first range of subnet IP addresses associated with the first LAN with a second range of subnet IP addresses associated with the second LAN.
4. The external meshnet device of claim 1 , wherein the memory and the processor are configured to:
determine that a first range of subnet IP addresses associated with the first LAN overlaps a second range of subnet IP addresses associated with the second LAN.
5. The external meshnet device of claim 1 , wherein the memory and the processor are configured to:
determine the alternate IP address from among a pool of subnet IP addresses reserved for use by a LAN.
6. The external meshnet device of claim 1 , wherein the memory and the processor are configured to:
determine the communication packet to include the alternate IP address instead of the first subnet IP address as a destination address associated with the first LAN device.
7. The external meshnet device of claim 1 , wherein the memory and the processor are configured to:
transmit the communication packet to the first meshnet device based at least in part on determining that both the first meshnet device and the first LAN device are connected to the first LAN.
8. A method in a mesh network including an external meshnet device in communication with a first meshnet device and a second meshnet device, the first meshnet device being connected to a first local area network (LAN) and the second meshnet device being connected to a second LAN, the external meshnet device being external to the first LAN and to the second LAN, the method comprising:
determining, by the external meshnet device, that a first subnet internet protocol (IP) address assigned to a first LAN device connected to the first LAN matches a second subnet IP address assigned to a second LAN device connected to the second LAN;
mapping, by the external meshnet device, an association of an alternate IP address and the first subnet IP address based at least in part on determining that the first subnet IP address matches the second subnet IP address;
transmitting, by the external meshnet device to the first meshnet device that is connected to the first LAN, the association of the alternate IP address and the first subnet IP address; and
transmitting, by the external meshnet device, a communication packet to the first meshnet device, the communication packet including the alternate IP address to indicate that the communication packet is to be communicated to the first LAN device.
9. The method of claim 8 , further comprising:
calculating, by the external meshnet device, a first range of subnet IP addresses associated with the first LAN, and a second range of subnet IP addresses associated with the second LAN.
10. The method of claim 8 , further comprising:
comparing, by the external meshnet device, a first range of subnet IP addresses associated with the first LAN with a second range of subnet IP addresses associated with the second LAN.
11. The method of claim 8 , further comprising:
determining, by the external meshnet device, that a first range of subnet IP addresses associated with the first LAN overlaps a second range of subnet IP addresses associated with the second LAN.
12. The method of claim 8 , further comprising:
determining, by the external meshnet device, the alternate IP address from among a pool of subnet IP addresses reserved for use by a LAN.
13. The method of claim 8 , further comprising:
determining, by the external meshnet device, the communication packet to include the alternate IP address instead of the first subnet IP address as a destination address associated with the first LAN device.
14. The method of claim 8 , further comprising:
transmitting, by the external meshnet device, the communication packet to the first meshnet device based at least in part on determining that both the first meshnet device and the first LAN device are connected to the first LAN.
15. A non-transitory computer-readable medium configured to store instructions, which when executed by a processor associated with an external meshnet device in communication with a first meshnet device and a second meshnet device in a mesh network, the first meshnet device being connected to a first local area network (LAN) and the second meshnet device being connected to a second LAN, the external meshnet device being external to the first LAN and to the second LAN, configure the processor to:
determine that a first subnet internet protocol (IP) address assigned to a first LAN device connected to the first LAN matches a second subnet IP address assigned to a second LAN device connected to the second LAN;
map an association of an alternate IP address and the first subnet IP address based at least in part on determining that the first subnet IP address matches the second subnet IP address;
transmit, to the first meshnet device that is connected to the first LAN, the association of the alternate IP address and the first subnet IP address; and
transmit a communication packet to the first meshnet device, the communication packet including the alternate IP address to indicate that the communication packet is to be communicated to the first LAN device.
16. The non-transitory computer-readable medium of claim 15 , wherein the processor is configured to:
calculate a first range of subnet IP addresses associated with the first LAN, and a second range of subnet IP addresses associated with the second LAN.
17. The non-transitory computer-readable medium of claim 15 , wherein the processor is configured to:
compare a first range of subnet IP addresses associated with the first LAN with a second range of subnet IP addresses associated with the second LAN.
18. The non-transitory computer-readable medium of claim 15 , wherein the processor is configured to:
determine that a first range of subnet IP addresses associated with the first LAN overlaps a second range of subnet IP addresses associated with the second LAN.
19. The non-transitory computer-readable medium of claim 15 , wherein the processor is configured to:
determine the alternate IP address from among a pool of subnet IP addresses reserved for use by a LAN.
20. The non-transitory computer-readable medium of claim 15 , wherein the processor is configured to:
determine the communication packet to include the alternate IP address instead of the first subnet IP address as a destination address associated with the first LAN device.Join the waitlist — get patent alerts
Track US12040951B1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.