Don't know what IP-adress to pick

I used to have a linkys router with IP-address 192.168.1.1 and my arduino w/ ethernetshield was running at 192.168.1.177.

Now we have a different router which has 192.168.2.254 as IP address. My arduino didnt want to run on this router. So I figured, the router must not like that IP address or something..

So my question: does anybody knows in which range I can pick a working IP-address

Now we have a different router

Can you configure it? I googled "a different router" and could not determine whether you could, or not.

IP addresses beginning with 192.168 are local (non-internet) IP-addresses.
Most often a netmask of 255.255.255.0 is used to make the third byte of the IP-address a subnet.
You could try to use 192.168.2.177 in this new environment (subnet 2 <> subnet 1).

Check what the netmask of your environment really is!

Depending on the environment you have to ask the administrator to get a free IP address.

Using DHCP would be the best solution.

PaulS:
Can you configure it? I googled "a different router" and could not determine whether you could, or not.

If you type: "It helps if you can tell us which router you have". It would be a whole lot less contemptuous than your autistic respons >:(

I have a kpn experia box v10 aka ZTE ZXHN H369A. And yes I can log in

Whandall:
IP addresses beginning with 192.168 are local (non-internet) IP-addresses.
Most often a netmask of 255.255.255.0 is used to make the third byte of the IP-address a subnet.
You could try to use 192.168.2.177 in this new environment (subnet 2 <> subnet 1).

Check what the netmask of your environment really is!

Depending on the environment you have to ask the administrator to get a free IP address.

Using DHCP would be the best solution.

Luckily it is my home network, I am my own administrator :slight_smile:

I will test new IP address first thing, my main computer no longer recognizes the arduino mega :angry: . And my bluetooth programming shield does not work properly when that ethernet shield is attached plus that my laptop has to be within 50cm in order to program the thing.

Is it safe to cut the reset line of the ethernet shield or does it also resets an anboard chip?

With a netmask of 255.255.255.0, your "network address" is the first 3 "octets" (192.168.1 or 2 as in your example) and the last octet (where the "0" is is the host address on that network. If you are trying to use a 192.168.1.??? on a network that is 192.168.2.? it will not work - they are two different networks - 192.168.1 is one network and 192.168.2. is the other network (they can be on the same wires, but they are still different networks and the 192.168.?.? family is not routable) (most routers will NOT route between networks with those addresses - your router lets you get to the outside world by using NAT (Network Address Translation) so your PC on the local side with a 192.168.whatever address is seen from the outside as the address the router has on the WAN side.

The problem I am having is that the arduino is not responding at all. I tried 192.168.2.177 but it just does not respond. I also cannot find the thing in the router LAN settings. I have written the SS of Sd card high, I tried removing SD card just nothing.

As far as I can tell I can pick any random IP addres between 192.168.2.1 and 192.168.2.252

Well, kind of - your router has been configured to use DHCP to hand out IP addresses to requesting devices (which is normal), however it is set to hand out the full range from 1 to 252. What I do on my router is set it to hand out IP addresses with host numbers from 100 to 150 (192.168.2.100 - 192.168.2.150). That means addresses outside that range are not going to be handed out by the router and can be used with other devices where you want to use static IP addresses. For example, my Linux server on my network is 192.168.2.210 (although on my whiteboard, I have reserved 210-219 for servers) Network printers I give the range of 230-235. Limiting the number of addresses the router hands out via DHCP means you can give something a static IP address outside that range (but still in the 192.168.2.? range) without the danger that the router will hand out your address at some point to some other device on the network. I use static IP addresses for some of my hardware because I hate shooting at moving targets (where they may get a new address next time the boot via DHCP).