Problems with Ethernet Shield on Mega

It is difficult to tell which sample code you are running. Is it from the Arduino IDE ethernet library?

Have you tried another site?