arduino ethernet shield

Hello folks,

I am trying to setup my ethernet shiled W100 when i use the share connection with my laptop it worked however when i connect directly to my router it doesn’t do you have idea what need to be configure?
THe error message:
[0] MAC: FE-A1-E9-D0-E0-A8
[0] Getting IP…

It seems that the shield doest not get an ip address ,i tryied to put static ,also the Dhcp printer
nothing work.
I am trying to connect to cayenne here is the code

//#define CAYENNE_DEBUG         // Uncomment to show debug messages
#define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
#include <CayenneEthernet.h>

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "4mvsjfuk9o";

void setup()

void loop()

Sorry you can close the topic found the solution here: Ethernet sheild(W5100) not working with Uno - Networking, Protocols, and Devices - Arduino Forum