Shield ethernet is not working

Hello! I'm triying to execute this example and is not working for me.

#include <Ethernet.h>
 
byte mac[]= { 0x90, 0xA2, 0xDA, 0x10, 0x6B, 0xE1 }; // Dirección MAC 
byte ip[] = { 192, 168, 1, 255 }; // Dirección IP

void setup()
{
  Serial.begin(9600);
  Ethernet.begin(mac, ip);
  printConectionDetails();
}
 
void loop(){}

void printConectionDetails(){
  Serial.print("IP: ");
  Serial.println(Ethernet.localIP());

  Serial.print("GATEWAY: ");
  Serial.println(Ethernet.gatewayIP());

  Serial.print("SUBNET MASK: ");
  Serial.println(Ethernet.subnetMask());

  Serial.print("DNS: ");
  Serial.println(Ethernet.dnsServerIP());
}

I got this output:

IP: 0.206.206.206
GATEWAY: 0.0.0.0
SUBNET MASK: 0.0.0.0
DNS: 192.168.1.1

which is clearly wrong. Anyone can help? Thanks!

There are multiple different versions of the Ethernet Shield which have different Ethernet Controller chips on them: Wiznet W5100, W5200, W5500 and ENC29j60. Can you post a link to where you bought the shield or can you look at the largest chip on the shield to see what it says?

Don't set set your IP address to end with 255.
It's a broadcast address, as I assume your network subnetmask is 255.255.255.0

Regs
ffur