Well, without further information, we're going to be shooting in the dark...
But, assuming you've been able to use the ifconfig command correctly, and have the ip address, and mask set correctly, more than likely you're default gateway entry is now missing.
Something along the lines of:
Code:
route add default gw 1.2.3.4
where 1.2.3.4 is replaced by the address of the router's interface that is serving that network, should do the trick.
Hope this helps,
-Scott