I am not a big Ethernet user but I don’t think that will work if the OP hasn’t defined “the network” for the Arduino.
@Mic_Putignano the recent “W5100” thread I was referring to can be found at Brown outs or reboots - #60 by Costas
It’s probably worth you reading through the whole thread so you get some understanding of how the final sketch was arrived at. You will see in the sketch all the network definitions (MAC, IP, Gateway, DNS, Subnet etc). Obviously you will have to modify the definitions for your particular network.