• connect your computer and the raspberries to the same switch
  • in the raspberry command line type: sudo nano /etc/network/interfaces
  • edit the eth0 interface:

iface eth0 inet static
address 192.168.[address of the subnet].[the address of the pi]

  • if you want to connect to the PI with your PC, then you have to set up static IP for your PC with the same subnet