Ethernet Shield IP

Hello, I am lloking how to setup Ethernet Shield IP between 192.168.0.100 and 192.168.0.199. But DHCPaddressPrint sketch example displays me IP 192.168.2.15. any suggestions how to do it

Nick2012Future:
Hello, I am lloking how to setup Ethernet Shield IP between 192.168.0.100 and 192.168.0.199. But DHCPaddressPrint sketch example displays me IP 192.168.2.15. any suggestions how to do it

Dynamically created IP adresses are assigned by the DHCP server in your local network. Typically the DHCP server is your network router.

So if you want to limit the DHCP IP address range (i.e. 192.168.0.100...199), you will have to configure your DHCP server. Typically: Start the configuration page of your router and do the DHCP server setup there!

Otherwise: You can of course use a "fixed IP address" with your Arduino Ethernet shield as well as you can used dynamically assigned IP addresses from your DHCP server/router.