Page 1 of 1
MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:27 am
by jediengineer
Hi all,
How do I assign a static IP address on the unit? I don't want the DHCP server to do that...
Thanks!
Tony
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:30 am
by seulater
Open IP setup, find the device you want to change on your lan and change the IP from 0.0.0.0 to what you want and fill in the rest like netmask and so on.
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:34 am
by jediengineer
seulater - this needs to be something I code into my software. It also needs to be able to be changed without IP setup. Thanks!
T
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:36 am
by dciliske
Ah... the multitude of ways you can do that
You're probably after the simple way though. For that you'll want to use the handy program that is IPSetup. Simply launch IPSetup, and select your unit when it appears (if you've got multiple units on your LAN, check it's MAC address. Failure to do that will lead to shouting across the office "Hey, whoever had a <insert module here>, sorry, but I reprogrammed your board"

).
After selecting the unit, you'll see on the left side of the window it will fill in the currently static values for the various IP addresses. Simply fill in the values you want. Note that an address of 0.0.0.0 means that no static value has been assigned to that entry.
-Dan
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:38 am
by dciliske
Or... you actually want the complicated way.
Take a look at any of the factory apps, in the web functions. They will have code to set the address of the module. You'll want to look for information relating to InterfaceBlock and saveConfig(?).
-Dan
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:41 am
by jediengineer
Thanks Dan, I was actually digging through some of them, trying to figure it out... IF you can point me to any specifics, that'd be great!!!
Tony
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:47 am
by dciliske
Actually, scratch that. Just take a look at the ChangeIP example under DHCP (why it's there? I don't know...).
-Dan
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 8:58 am
by jediengineer
Well Dan, a little complicated, but I think I got it. This should do the trick. Thanks!!!!
T
Re: MOD54415 IP Address question
Posted: Mon Mar 11, 2013 10:51 am
by Ridgeglider
see the example file: C:\nburn\examples\DHCP\ChangeIP