How to set a fixed IP address on a WATCHPAX?

Problem description: How to set a fixed IP address, subnet mask, gateway IP address and DNS IP address on a WATCHPAX 30 and WATCHPAX 62.

A static IP for WATCHPAX 62 and WATCHPAX 30 (when using WATCHOUT 7) can be set up using an XML file.  

You can see an example XML file below, and it is stored on W:\Config\network.xml on every WATCHPAX with r28 or higher hardware image: 
 

<?xml version="1.0" ?>  
<network>  
<!-- Names: Ethernet, Ethernet 2, Ethernet 3, Wi-Fi etc. -->  
<adapter name="Ethernet">  
<address>192.168.70.20</address>  
<netmask>255.255.0.0</netmask>  
<gateway></gateway>  
<dns></dns>  
</adapter>  
<adapter name="Ethernet 2">  
<address>192.168.70.21</address>  
<netmask>255.255.0.0</netmask>  
<gateway></gateway>  
<dns></dns>  
</adapter>  
</network> 


Empty fields will default to automatic dhcp assigned values


To set up a static IP please follow the steps below: 
1. Create or load network.xml file in the root (it cannot be nested in any folder!) of a removable drive or USB stick.
2. Plug the drive or USB stick into one of WATCHPAX server ports and start/restart the unit.
3. During the startup, the network.xml file will be transferred to the W:\ drive and applied.  


 

The same settings apply to WATCHOUT 6 as well, the only difference is that "Ethernet 2" is automatically disabled. Settings from a network.xml file can be overwritten by the autostart script.  

For more instructions about autostart script, please refer to this article: https://knowledge.dataton.com/knowledge/how-can-i-set-a-fixed-ip-address-on-a-watchpax  

 

Please note that the network.xml file is always applied first (regardless of the WATCHOUT version), but if WATCHOUT 6 is detected, autostart script will be parsed afterwards, overwriting all settings.  

The autostart script is not parsed for WATCHOUT 7 at all. 

  

Using the same method with a USB stick, you can delay WATCHPAX 62 or WATCHPAX 30 from starting WATCHOUT. For more details, please refer to this article: https://knowledge.dataton.com/knowledge/watchpax/adding-a-delay-on-startup-for-watchout


Last Updated: 24 May 2024 10:49