i’m trying to set ip addresses to my network , please help

enter image description here

here’s my schema , i’m trying to set up ip addresses to be able to ping from the first floor ( etage 1 ) to the second ( etage 2) , i tried setting up an ip address 192.168.233.2/24 with the gateway 192.168.233.1 to pcD , and 192.168.233.3/24 with the gateway 192.168.233.1 but im not able to ping
please help