Final answer:
To connect n LANs, where each LAN should be able to directly communicate with any other LAN, a fully-meshed network topology can be used. The formula n * (n-1) / 2 can be used to determine the number of point-to-point WANs needed.
Step-by-step explanation:
To connect n LANs, where each LAN should be able to directly communicate with any other LAN, we can use a fully-meshed network topology. In a fully-meshed network, each LAN has a direct connection to every other LAN. To determine the number of point-to-point WANs needed, we can use the formula:
n * (n-1) / 2
where n is the number of LANs. This formula accounts for the fact that each LAN needs to connect to all the other LANs except itself. Let's say we have 4 LANs. Plugging in the value of n into the formula, we get:
4 * (4-1) / 2 = 6 WANs
So, in this case, we would need 6 point-to-point WANs to connect 4 LANs.