would be great if you could include information on the results of troubleshooting steps that you had taken so far.
If you are using OS X and above, you could check the network connection via the menu bar selection, as listed below.
select "Go"> "Applications" > "Utilities" > Network tools.
You will be able to perform basic network testing function from there. It would help to know if you are working with DHCP or fixed IP.
If you are using OS 9 or earlier, you might have to download the network utility from http://developer.apple.com/macos/opentransport/nw_tools.html
from what you mentioned so far, it seems like the Mac has 'lost' the IP or something... therefore causing it to be dysfunctional? I should be able to help youa little more if you could provide more details.