Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: How Can I Set Up an IP address for Ethernet Shield???  (Read 445 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 1
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

As always... Thanks for posting!!!

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 234
Posts: 14296
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Sr. Member
****
Karma: 1
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

As always... Thanks for posting!!!

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 213
Posts: 9060
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Sr. Member
****
Karma: 1
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
Logged

As always... Thanks for posting!!!

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: