Re: Cannot set an IP address on the PIC32MZ board.
Probably you should use the network mask 255.255.255.0 for both PIC32 and PC and a gateway that's inside the PIC32 network, if there is a gateway machine.
Anyway, what do you mean you "cannot set an IP address"? Harmony TCP/IP stack will let you set whatever address you choose. Give some details.