Ethernet shield on UNO.

Please I need some assistance. I am new to Arduino and just cant make the Ethernet Shield to give me an IP address within my Gateway range.

Subtnet = 255.255.255.0
Gateway = 192.168.1.254

This PC has = 192.168.1.85 assign by the router via DHCP.

I am using the Webserver, created 18 Dec 2009 by David A. Mellis, modified 9 Apr 2012, by Tom Igoe.

The modifications that I have made trying to assign an IP address are as follows:

Changed:
byte mac[] = { 0x00, 0x20, 0x4A, 0x93, 0x8D, 0x2D };
IPAddress ip(192,168,1,99);

Added:
pinMode(4, OUTPUT);
digitalWrite(4, HIGH);

No change:
// start the Ethernet connection and the server:
Ethernet.begin(mac , ip);
server.begin();
Serial.print("server is at ");
Serial.println(Ethernet.localIP());

Problem:

It returns an IP address outside of my range: server is at 240.8.164.5 , which I cant even PING.

I know that my router provides DHCP and it works because I can see it assigning new IP to other devices at home.

I have read many other posts and have tried the advices, but to no avail.

I am using UNO R3, and the Ethernet Shield is from Seeds.. Both purchased at RadioShack.

Any suggestion are welcomed please.

fixed by using #include <EthernetV2_0.h>