Read ethernet subnet mask and gateway

I am using a Freetronics Etherten (Arduino uno compatible with ethernet shield) and Arduino 1.01 IDE with the standard ethernet library.
I have got to the point where I can connect my shield to the network and obtain an address via DHCP and can print my IP address to an LCD.
I also wish to print to LCD the subnet mask and default gateway obtained from DHCP. I can find no information on how to achieve this.
Is this at all possible with the standard ethernet library or do I need to modify the ethernet library or use a different one.

Don =)

Here are the network settings you can access:

IPAddress localIP();
IPAddress subnetMask();
IPAddress gatewayIP();
IPAddress dnsServerIP();

Access them like


Thanks heaps, that has worked a treat.