MOD54415 IP Address question

Discussion to talk about software related topics only.
Post Reply
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

MOD54415 IP Address question

Post 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
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: MOD54415 IP Address question

Post 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.
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 IP Address question

Post 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
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 IP Address question

Post 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
Dan Ciliske
Project Engineer
Netburner, Inc
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 IP Address question

Post 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
Dan Ciliske
Project Engineer
Netburner, Inc
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 IP Address question

Post 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
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 IP Address question

Post by dciliske »

Actually, scratch that. Just take a look at the ChangeIP example under DHCP (why it's there? I don't know...).

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 IP Address question

Post by jediengineer »

Well Dan, a little complicated, but I think I got it. This should do the trick. Thanks!!!!

T
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: MOD54415 IP Address question

Post by Ridgeglider »

see the example file: C:\nburn\examples\DHCP\ChangeIP
Post Reply