it sounds like you just have a flaky internet connection. Check that your cables aren't crimped, try to keep your modem away from wireless and high wattage electronic equipment. But most likely it's a problem on comcast's end.
Try pinging yourself, your gateway, your dns, and cnn or yahoo...