Connect with us

best way to set IP on web server MCU based device

Discussion in 'Electronic Design' started by Igor, May 24, 2013.

Scroll to continue with content
  1. Igor

    Igor Guest

    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 ?
  2. hamilton

    hamilton Guest

    Atmel what ??
    What board ??
    What device ??
    Give enough information to receive a real answer.
  3. Jasen Betts

    Jasen Betts Guest

    atmel what? what net interface?
    can you do zeroconf?
  4. mi

    mi Guest

    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)

    I strongly prefer the server method as incoming traffic is limited in many
    places by NAT or firewall.
  5. 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)
  6. Don't forget IPV6 and the IPV4 translators some ISP use. It breaks VPN
    More reason to use a second server.

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day