Jump to content
Dataton Forum

How to set a fixed Gateway IP address on a WATCHPAX?


Recommended Posts

I used Watchpax4. I must set a fixed Ip ,subnet mask and Gateway ip address on a Watchpax.

I edit the Startup Script in WATCHOUT to define initial WATCHPAX settings.

setIP 172.16.3.114 255.255.255.128 172.16.3.126

Then I restarted the watchpax, and checked the watchpax' Ip address. It only saved the Ip address and Subnet mask,

But the Gateway ip address could no save. I  tried many times, but the problem is still not solved. Is there any other way to solve it?

Thanks very much.

 

 

Link to post
Share on other sites
  • 2 weeks later...

Hi Jonsth,

 

I know that the setIP command is not documented in the standard WATCHOUT users guide but we added the documentation for this command in the specific documentation for the WATCHPAX series of server. Mainly because this command is only valid for this range of servers.

The command setIP only works in the startup scrip if run on a WATCHPAX server and needs to be preceded by a "authenticate 2". It takes one mandatory parameter and three optional:

setIP IP_number_to_set [Network_Mask] [Default_Gateway] [Default_DNS_server]

example:

authenticate 2

setIP 192.168.0.100 255.255.255.0 192.168.0.1 8.8.8.8

Note that you need to have a space between each parameter, a single dot between the number and no leading zeros on the numbers.

 

I have tested the parameters you used, on a WATCHPAX 4, and as far as I can tell it works as expected:

setIP_WP4.thumb.JPG.7b53604820b8b983f030a2b82840fa3d.JPG

 

Please check if there is a typo or some illegal characters in startup script that prevent the system from setting the correct network parameters.

 

Best regards,

/jme

Senior Product Specialist

Dataton AB

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...