Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
cat /etc/sysconfig/network-scripts/ifcfg-eth0

I get the following:

yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
Error: Cannot find a valid baseurl for repo: base

BROADCAST is depreciated I read on the CentOS site. What am I missing?

share|improve this question
How is your interface actually currently configured? – Michael Hampton Sep 18 '13 at 1:39
It's choosing to use IPv6 rather than IPv4. Either configure IPv6 correctly or disable it. – 200_success Sep 18 '13 at 1:42

For whatever reason, you have an IPv6 address other than the link-local address, but it doesn't have a route to where that server is (most likely because it doesn't have a default route).

IPv6 addresses can become configured a number of different ways. For instance, you might be running a teredo daemon (eg. miredo), you may have set up a script that sets an IPv6 address somewhere else, or you might have something announcing routes on one of the network segments this computer is attached to. Either way, use ip -6 addr to determine which interface it is that has this address, and use that to infer where it is coming from.

Either fix your IPv6 routing, or disable it entirely. How to fix it depends very much on what the specific problem is; in any case, the configuration is very strange (teredo configurations should basically never experience this problem, nor should RA-configured addresses). You can prevent the host from loading an IPv6 stack by blacklisting the ipv6 module, though really everyone should try to support dual-stack.

This would make the reasoning behind the error more clear; as you've mentioned in your answer it is also possible that both ipv4 and ipv6 have failed.

It's also possible that you are using ipv6 through a tunnel, and your IPv4 routing is broken.

share|improve this answer
up vote 1 down vote accepted

Fixed. The router/firewall or Gateway was

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.