Not wanting to completely hijack another thread...here is my issue and testing to date.
SurferTim - I did test with the abbreviated ethernet code removing the pin 4 set to OUTPUT and only setting to HIGH but still wrong IP.
To quickly summarize - I have been trying to get both Ethernet and SD to work in the same program. I keep getting the incorrect ip address when I define a static IP at begin...even when using your abbreviated startup code. (now removing pin 4 OUTPUT)
Assuming that you are referring to the Official Arduino Ethernet R2 Shield - can you even get them anymore? The only Official Arduino Ethernet shields I see available cost $45-$50 which is not an ideal solution for this application but ...
Anyway I have some interesting results if not success in testing the following:
I first started with the ENC28J60 module and UIPEthernet library and made good progress testing sockets client but it locks on begin when the SD is powered.
Then tried W5100 shield to move to the Ethernet library but with static IP even with abbreviated code returns wrong IP address This one says R3 and has SCL/SDA and RESET.
W5100 (NHW5100) HanRun HR911105A 15/26 - WRONG ADDRESS but lots of lights including RX
http://www.ebay.com/itm/161406767490?_trksid=p2057872.m2749.l2648&ssPageName=STRK%3AMEBIDX%3AIT
Same symptoms as #2 the W5200 including updated lib doesn't have all of the lights
http://www.ebay.com/itm/131603255867?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
Same symptoms as #2 with W5500 - updated lib
http://www.ebay.com/itm/291495860309?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
The most promising has been the Red Board Module (NOT SHIELD) with W5100 which returns the CORRECT IP from the abbreviated test code IF the separate SD module is NOT powered on, however with the SD powered on it also returns an incorrect IP. I also get plenty of lights with this one including RX and TX IF the SD in NOT POWERED ON.
http://www.ebay.com/itm/252056619027?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
on this one I also added 10k pullup resistors on both CS as well as 10k voltage divider on the MISO as mentioned below:
http://www.dorkbotpdx.org/blog/paul/better_spi_bus_design_in_3_steps
I'm wondering if there might just be something wrong with my SD module even though I am trying to run it at 3.3V and I need to use external level shifters somehow...however the SD module works fine without the Ethernet.
Thank you!