The following headings "Checking the interconnectivity" and "NAT redirection" refer to OpenSim installations that are to be installed on a home server. If you've rented a server from a hosting provider, please skip this headings and continue with "Search for free Coordinates".
If you want to use the official Metropolis OpenSim distribution, which is available on Metropolis as a download, you can go to the next chapter. If you try to install the OpenSim distribution vfrom opensimulator.org, you have to check your connectivity. This chapter explains how to handle dynamically assigned IP addresses. The Metropolis-distribution of OpenSim performs this function automatically. In this case, you are done with this chapter.
If you don't use the Metropolis version of OpenSim, please note the following information and recommendations:
The connection of your SIM to a grid requires a two-way communication. This means that your computer must be reachable from the Metropolis servers. This is not necessarily standard, so here we may still have to lend a hand.
First, we must verify that your router has been assigned by your Internet provider with a dedicated IP address. If this is the case, there is no need for further adjustments.
To check the type of your IP address, we will proceed as follows:
If the first IP address displayed matches the second IP address, your internet connection has a static IP address. In this case, you can bypass to the section NAT Redirection to continue.
If an IPv6-address will be displayed, your Router resp. Provider has IPv6 configured as the standard . This must be changed to IPv4; otherwise no communication between simulator and grid-services will be possible. Cable-User must contact their providers, cause the IPv6 to IPv4 change must be done at the provider site. The needed service is called 'Dual-Stack'.
If there is no fixed IP address assigned, we have to install an additional tool: the use of dynamic IP addresses. For this purpose, we use a DNS provider (eg dynDNS) to assign dynamic IP addresses to static domains. You have to registrate a unique domain name at this dynDNS-Provider first. Then you have to install a small utility on your computer. An updater, which you will get there as well. With this updater, your computer will automatically tell the dynDNS-Provider, that you are there and which dynamic IP address you got. So, the dynDNS-Provider knows where you are. Everyone, who will use your unique domain name, will get a connection to your computer, even if you have dynamicly changing IP addresses. Thats the Trick! Your computer is now reachable from the internet, and also from the Metropolis servers.
New routers could have a build-in dynDNS updater. Please reffer to your router handbook and follow the instructions how to configure the tool. In this case, there is no need for a separate dynDNS updater.
Now the requests from the internet (either for fixed or dynamic IP address) will reach your router, but your SIM computer knows nothing about the OpenSim installation, which is waiting for this requests. Therefore, we must setup the router in that way, that requests from the Web will be forwarded to the internal IP address (usually 192.168.nnn.nnn) of your SIM computer.
Almost all routers have a setup function which can be accessed through a Web browser. Please look in your router manual, how you call this setup. The safest way to transfer the requests to your SIM computer is the port forwarding or port mapping.
Enter the routers setup program and forward the following ports to your internal IP address (192.168 etc):
- UDP + TCP : 9000 (Simulator)
- UDP + TCP : 9051 (first region)
- UDP + TCP : 9052 (second region)
- UDP + TCP : 905x (additional regions)
If the port forwarding function does not work propperly, you can also forward ALL REQUESTS from the Internet to your SIM computer. In this case, activate the NAT service of your router and fill in the internal IP address of your SIM computer. If there remain problems for sim owners to connect to the own sim it is possible, that the router has no NAT Loopback function. This tutorial can help on Windows 7 / XP / Vista.
Instructions on port forwarding for various router models can be found on the website portforward.com.
For more informations on this subject (especially for Linux users) please visit the OpenSimulator website.
The regions are assigned to X/Y coordinates on the Grid. The coordinates are stored in the XML files describing the regions. These coordinates must now be adapted to the Metropolis-Grid. The coordinates that you choose for your region may not be already occupied. Otherwise, you can not log on to your region.
To check the free coordinates open the Grid coordinates. This is a graphical map of the Metropolis-Grid. The previously used coordinates are marked with a red square and the free coordinates are shown in green. You will get more information on these coordinates when you move the mouse over the specific quadrants. If an coordinate is already taken, you can also be click on the box. It will open another window with more detailed information on this region.
Now choose one or more SIM coordinates (X-and Y-axis) for your regions. We need them later.
Coordinates close to *CenterWorld* (our Welcome Region with the coordinates 7000:7000) should only be assigned to regions that are permanently available. This would give new users a better experience of the Metropolis Grid.
If you have not yet registered an avatar on Metropolis, please follow this LINK for Registration. We will need the Avatar details later. Furthermore, the Metropolis-settings for your viewer will be explained.