Do you have a valid internet connection?
look in the /etc/yum.repo directory and look at some of the *.repo files in there.
do a dig, or ping on some of the urls, see what you get.