| 56 | Suppose we are using two domains, Amsterdam.nl (IP: 50.50.50.50) and Poznan.pl (IP: 100.100.100.100). For the former, we use port range 5000-5999, and it does not have any open ports but it can contact the latter, with port range 6000-6999 and an open port 20300. Then the global topology becomes |
| 57 | |
| 58 | {{{ |
| 59 | # <name> <address> [<port>] |
| 60 | Ams amsterdam.nl |
| 61 | Poz poznan.pl 20300 |
| 62 | }}} |
| 63 | |
| 64 | In Ams, we have the local configuration |
| 65 | {{{ |
| 66 | myName = Ams |
| 67 | localPortLow = 5002 |
| 68 | localPortHigh = 5999 |
| 69 | internalPort = 5001 |
| 70 | internalAddress = 50.50.50.50 |
| 71 | }}} |
| 72 | |
| 73 | And in Poz, the configuration becomes: |
| 74 | {{{ |
| 75 | myName = Poz |
| 76 | localPortLow = 6002 |
| 77 | localPortHigh = 6999 |
| 78 | internalPort = 6001 |
| 79 | internalAddress = 100.100.100.100 |
| 80 | }}} |
| 81 | |
| 82 | For this configuration to work, on Ams port 5001 must be available and on Poz port 6001 and port 20300 must be available. |