Ethernet shield DHCP/Static IP error

i did that and it worked! now i'm trying to connect to a webserver, using this tutorial http://bildr.org/2011/06/arduino-ethernet-client/ but I'm getting connection error..

EDIT: defining pin 4 as output and set it to HIGH made it work on the previous example but if I try to do with DHCP and aplying HIGH to pin 4 it will show "DHCP failed"