User Tools

Site Tools


networking-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
networking-en [2019/06/25 18:28] – [R2Rnet] rjversluisnetworking-en [2023/04/06 08:01] (current) – [Port] rjversluis
Line 9: Line 9:
 This technology can be usefull for XXL layouts or modular setups.\\ This technology can be usefull for XXL layouts or modular setups.\\
  
-Boundaries of Rocrail(R) systems should be also power district boundaries; A roaming train will be set to zero velocity if it has left a system.\\+Boundaries of Rocrail systems should be also power district boundaries; A roaming train will be set to zero velocity if it has left a system.\\
  
 + \\
 +=====UDP Multicast=====
 R2Rnet uses the UDP Multicast protocol for communicating with all systems.\\ R2Rnet uses the UDP Multicast protocol for communicating with all systems.\\
 +**Note:** Some routers/switches do not handle UDP Multicast; Check for supported hardware.\\
 +
 + \\
 +=====Mobile clients=====
 +Mobile clients like __**[[:android:androc2-en|andRoc]]**__ and __**[[:wio:overview-en|WIO]]**__ will write a R2RNet request for available server connections. All enabled R2RNet servers will respond to this with hostname, port and plan title.\\ 
 +See the [[#enable|Enable]] option.\\
  
-Mobile clients like andRoc will put a net-request for available client connections. All enabled R2RNet servers will respond to this with hostname, port and plan title.\\  
  
  \\  \\
Line 42: Line 49:
  \\  \\
 =====Setup===== =====Setup=====
-{{:rocrailini-r2rnet-en.png}}\\+{{:rocrailini-r2rnet-en.png?800}}\\ 
 + 
 +\\ 
 +  
 + 
 +====ID==== 
 +Server ID.\\ 
 +====Address==== 
 +UDP Multicast IP address, default **224.0.1.20**.\\ 
 +====Port==== 
 +UDP Multicast IP port, default **8051**.\\ 
 + 
 +==== Local IP ==== 
 +Only required if the PC has **more than one network interfaces** installed; In all other cases: Leave empty!\\ 
 +IP address of the **PC's network interface** which is used for communication with the WIOs to make sure the traffic runs on the right one.\\ 
 + \\ 
 + 
 +====NetRoutes==== 
 +The NetRoutes file name in case this server is route master.\\ 
 +===Poll=== 
 +If the NetRoutes file does not exist locally, it will be requested periodically.\\ 
 +====Enable==== 
 +Enable R2Rnet.\\ 
 +This option should be set in case clients are trying to look up a Rocrail Server. (Rocview, andRoc, WIOesp, WIOpi)\\ 
  \\  \\
 Every Rocrail system must be setup with an unique client connection, so if one or more systems reside on the same computer they should use different port numbers.\\ Every Rocrail system must be setup with an unique client connection, so if one or more systems reside on the same computer they should use different port numbers.\\
Line 52: Line 83:
  
 <code xml> <code xml>
-  <r2rnet id="r1" enable="true" port="1234"/>+  <r2rnet id="r1" enable="true" port="8051"/>
 </code> </code>
  
--> Make sure that no other service is running on the same port!\\+**Note:** Make sure that no other service is running on the same port!\\
  
  \\  \\
networking-en.1561480136.txt.gz · Last modified: 2019/06/25 18:28 by rjversluis