Default Gateway for Ethernet Shield

I am trying to get my arduino with ethernet shield to send data to pachube. It works fine when I'm not on my home network. I've tried it at 2 other locations and it works fine. But when I try it from home the arduino can't connect. I'm able to ping pachube.com from my computer. And I'm able to ping the ethernet shield form my computer. I set the IP to the same as my home subnet and it doesn't confict with any other IPs at my home. I'm wondering if the default gateway is the problem. On the networks where the arduino works, the default gateway ends with 1, which is pretty common. But at home it ends with 2. How does the ethernet shield know what the default gateway is? Only the IP and MAC are defined in the sketch. I'm using the pachube tutorial found here: http://community.pachube.com/node/112

--Scott
--Scott

I figured it out. I saw on Ethernet - Arduino Reference that I can add the gateway and subnet as additional parameters. I added these to my sketch and it works now!

--Scott