Network collision with multiple ethernet shield(w5100)

Hi,
I have 3 arduino(there will be 6) in my network with w5100 ethernet shield. I often run IP conflict. I'm realy confused and I can't out.

1st MAC: "0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEA" 1st IP: "192.168.1.11"
2nd MAC: "0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED" 2nd IP: "192.168.1.33"
3th MAC: "0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEF" 3th IP: "192.168.1.44"
Gateways: "192.168.1.1."
Subnets:"255.255.255.0"

I also tried different IP and MAC addresses. Adruinos are server.

Most of time one or more of them not running(can not ping). When power off and on they all works well. How to I fix this.
Thanks.

Are the IP addresses hard coded in the Arduinos?

Is the gateway running a DHCP server? If so, do any of the 11, 33 and 44 numbers overlap the address range reserved for DHCP? If so you will see conflicts.

Does your gateway support MAC address/IP reservations? If so you will probably find that to be an easier way of managing IP address assignments when you have a large number of devices.

If you connects a software/program on PC to Arduino via TCP/UDP, please try to clear the ARP table.

You can use the below command:

arp -a
arp -d

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.