7 Replies Latest reply on Feb 12, 2014 3:30 PM by Intel_Jesus

    Ethernet.begin() problem with static IP address



      I have the simple WebClient sketch from Arduino web site examples.

      If I use Ethernet.begin(mac) using DHCP on the LAN, all works fine but the example doesn't work if I use static ip address.

      I have changed the example using the full methods Ethernet.begin(mac, ip, dns, gateway, subnet) but the connection to the web fails.

      If I start the board with SD and connect via SSH, after the sketch starts, I see with "ifconfig" command that the IP address is set but with "route" command that the gateway isn't set.

      Is there any problem using Ethernet.begin() with static ip address ?