Search found 6 matches

by ronw
Wed Oct 30, 2013 2:42 pm
Forum: NetBurner Software
Topic: fallback to AutoIP if DHCP fails
Replies: 8
Views: 6190

Re: fallback to AutoIP if DHCP fails

The project has been canceled.

If I have time before we have to return the NetBurner to our customer, I will try to continue this investigation.

In any case, sorry to distract you.

Thanks again
by ronw
Tue Oct 29, 2013 3:18 pm
Forum: NetBurner Software
Topic: fallback to AutoIP if DHCP fails
Replies: 8
Views: 6190

Re: fallback to AutoIP if DHCP fails

On power up, the NetBurner displays:

Code: Select all

 Waiting 2sec to start 'A' to abort
Configured IP = 0.0.0.0
Configured Mask = 0.0.0.0
I will add the additional code and let you know.
by ronw
Tue Oct 29, 2013 1:49 pm
Forum: NetBurner Software
Topic: fallback to AutoIP if DHCP fails
Replies: 8
Views: 6190

Re: fallback to AutoIP if DHCP fails

Also, our app in the NetBurner only receives UDP messages as the sensor device only sends UDP messages. The sensor sends on the broadcast address of what ever network it "finds" itself connected to. When the system is connected to our LAN, the sensor broadcasts to 192.168.9.255. When the LAN is not ...
by ronw
Tue Oct 29, 2013 1:40 pm
Forum: NetBurner Software
Topic: fallback to AutoIP if DHCP fails
Replies: 8
Views: 6190

Re: fallback to AutoIP if DHCP fails

Did not intend this as a bug report, just trying to figure out how to get what we want. (We are using ver 2.6 of the SDK as that is what our customer gave us to use.)

With the system connected to the LAN, I got:

Interface: 1
IP: 192.168.9.99
Mask: 255.255.255.0
Gate: 192.168.9.1
DNS: 192.168.9.1 ...
by ronw
Mon Oct 28, 2013 3:13 pm
Forum: NetBurner Software
Topic: fallback to AutoIP if DHCP fails
Replies: 8
Views: 6190

Re: fallback to AutoIP if DHCP fails

My application logs data from a sensor device that connects via UDP over ethernet. Most of the time, the system will operate without a network connection in the field, thus the need for AutoIP. When the device is brought into the lab, we strongly prefer it "play nicely" with the lab's LAN, so proper ...
by ronw
Mon Oct 28, 2013 11:59 am
Forum: NetBurner Software
Topic: fallback to AutoIP if DHCP fails
Replies: 8
Views: 6190

fallback to AutoIP if DHCP fails

I could not find an example, but I think the following should work despite the warnings in the documentation about not mixing DHCP and AutoIP.

if (GetDHCPAddress() != DHCP_OK)
{
StopDHCP(0);
AutoIPClient(0);
iprintf("\r\nAutoIP: ");
}
else
{
iprintf("\r\nDHCP assigned: ");
}
ShowIP(EthernetIP ...