Ethernet shield behaving strange?

Hi everyone,

I just got the Ethernet shield and was testing it a little bit with a very simple code (see below). What I observe is, that the Ethernet is behaving different, every time i reset/restart the board. Sometimes it is getting the site very fast, somtimes it takes up to 30 seconds and sometimes it is saying connection failed.
Why is this? does anybody know how to get a little bit more continuity into the behaviour? (I would like to get the site always very fast;)
Or might the problem on router side?

#include <Ethernet.h>

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };  //funky standart mac
byte ip[] = { 192, 168, 1, 4 };  //Arduino behind the router
byte server[] = { 93, 83, 209, 230 }; // Server

Client client(server, 80);

void setup()
  Ethernet.begin(mac, ip);
  if (client.connect()) {
    client.println("GET /test/index.html HTTP/1.1");
  } else {
    Serial.println("connection failed");

void loop()
  if (client.available()) {
    char c =;
  if (!client.connected()) {