Ethernet Shield & Routers Broadcast Domain

Hi Guys,

I'm have a software running with ethernet shield, the problem is that i have to input the IP manually into the software.

Is there anyway for me to get this IP address of the ethernet shield, using a broadcast domain from the router?

Or any other ideas??

Is there anyway for me to get this IP address of the ethernet shield, using a broadcast domain from the router?

Your router can assign a static IP address to be used by the Arduino.

The Arduino can't ask the router what that IP address is.

The Arduino includes the IP address you assign it in the code in the packets it sends, so that responses get routed back correctly.

If your router supports DHCP, you can have the Arduino request a dynamic IP address, and use that address in the packets it sends. But, that's a big if.