How Can I Set Up an IP address for Ethernet Shield???

every time i connect the ethernet shield to my laptop after it has been turned off/logged off i have to go into the arduino's code and change the ethernet's ip address...
this is because the ip address is "auto-assigned". see highlighted pic 1...
is there a way of assigning a pernament ip address by using the stuff in pic 2?

pic 1

pic 2

Yes, just fill it in with the prefered numbers.
Be aware that you should use a number thatis not within the DHCP range.

assume DHCP manages 192.168.1.100 and up

e.g. IP Address 192.168.1.10
Gateway : 192.168.1.1 // your routers IP address
Netmask : 255.255.255.0

For DNS server you can use 192.168.1.1 // your router

hopes this helps.

thanks i think that might work. will have to try it later when i am done tinkering with a robot...

If you have control over the wireless router you may be able to configure it to assign a fixed address to your laptop so it always gets the same IP address when it asks for an address to be assigned.

johnwasser:
If you have control over the wireless router you may be able to configure it to assign a fixed address to your laptop so it always gets the same IP address when it asks for an address to be assigned.

that's good to know... i just wish i knew what you were saying...
can u explain it so i, a simi-newbie to software, can understand it?

thanks
ps. i currently have more knowlage about circiutry, than i do software, or anything related to software for that mater.
(e.g. a few days ago I learned two new things in both of those fields: #1 what a digitalpotentiomiter is and how to use it #2 what the meaning of a "long" is)