Maker Pro
Maker Pro

best way to set IP on web server MCU based device

I

Igor

OK. i think that subject covers most of my question :)

My PCB is running on atmel and one small web server.
I use this on board web server to connect MCU device to web
and of course to easily send /receive data.

The device must be all the time online (on web) so now i have to find,
or better define way how the set IP of this MCU device.

What would you do in my situation ?
Dynamic IP ?
 
H

hamilton

OK. i think that subject covers most of my question :)

My PCB is running on atmel and one small web server.

Atmel what ??
I use this on board web server to connect MCU device to web
and of course to easily send /receive data.

What board ??
The device must be all the time online (on web) so now i have to find,
or better define way how the set IP of this MCU device.

What device ??
What would you do in my situation ?

Give enough information to receive a real answer.
 
J

Jasen Betts

OK. i think that subject covers most of my question :)

My PCB is running on atmel and one small web server.
I use this on board web server to connect MCU device to web
and of course to easily send /receive data.

atmel what? what net interface?
The device must be all the time online (on web) so now i have to find,
or better define way how the set IP of this MCU device.

What would you do in my situation ?
Dynamic IP ?

can you do zeroconf?
 
M

mi

Igor said:
The device must be all the time online (on web) so now i have to find,
or better define way how the set IP of this MCU device.

I've used two approaches:
1. Device connects to a server at fixed address/name and the clients
also connect the server to fetch data. The server can also
store or perform other operations on the data.

2. DHCP to set the IP configuration and DynDNS (or other similar)
service.

I strongly prefer the server method as incoming traffic is limited in many
places by NAT or firewall.
 
J

John Devereux

I've used two approaches:
1. Device connects to a server at fixed address/name and the clients
also connect the server to fetch data. The server can also
store or perform other operations on the data.

2. DHCP to set the IP configuration and DynDNS (or other similar)
service.

I strongly prefer the server method as incoming traffic is limited in many
places by NAT or firewall.

Hey Mikko,

It is a shame that the internet has turned into this... Soon everything
will have to communicate via facebook posts.

(But I agree it is probably the best way now)
 
M

Martin Riddle

I've used two approaches:
1. Device connects to a server at fixed address/name and the clients
also connect the server to fetch data. The server can also
store or perform other operations on the data.

2. DHCP to set the IP configuration and DynDNS (or other similar)
service.

I strongly prefer the server method as incoming traffic is limited in many
places by NAT or firewall.

Don't forget IPV6 and the IPV4 translators some ISP use. It breaks VPN
connections.
More reason to use a second server.

Cheers
 
Top