If your Arduino is an Uno, the led is on D13, and it is also the clock line for the SPI. The ethernet shield uses the SPI, so you can't use D13 for the led.
If your Arduino is an Uno, the led is on D13, and it is also the clock line for the SPI. The ethernet shield uses the SPI, so you can't use D13 for the led.