# Forcing Client to use IPV4?

**URL:** <https://cernvm-forum.cern.ch/t/forcing-client-to-use-ipv4/449>\
**Category:** Client\
**Created:** [June 6, 2024, 11:10am UTC](https://cernvm-forum.cern.ch/t/forcing-client-to-use-ipv4/449 "2024-06-06T11:10:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![angel.de.vicente](https://cernvm-forum.cern.ch/user_avatar/cernvm-forum.cern.ch/angel.de.vicente/32/66_2.png) [@angel.de.vicente](https://cernvm-forum.cern.ch/u/angel.de.vicente)\
**Post date:** [June 6, 2024, 11:10am UTC](https://cernvm-forum.cern.ch/t/forcing-client-to-use-ipv4/449/1 "2024-06-06T11:10:39Z")

</div>

Hello,  
in one of our clients we are having issues downloading the repository manifest, and I’m trying to figure out exactly what is going on and whether there is a simple fix to it.

The client is connecting directly to a Stratum-1 server named “cernie1”.

I can “ping cernie1” and “wget [http://cernie1](http://cernie1)” without problems and both use IPV4.

If I try “ping -6 cernie1” I get a “Network is unreachable”.

In the conf file for this domain I set:  
CVMFS\_SERVER\_URL=“[http://cernie1/cvmfs/@fqrn@;http://cernie2/cvmfs/@fqrn@](http://cernie1/cvmfs/@fqrn@;http://cernie2/cvmfs/@fqrn@)”

but then the logs show me:

```auto
jun 06 12:03:09 proton cvmfs2[18029]: (sie_u22.iac.es) switching host from http://cernie1/cvmfs/sie_u22.iac.es to http://cernie2/cvmfs/sie_u22.iac.es (failed to resolve host address)
jun 06 12:03:11 proton cvmfs2[18029]: (sie_u22.iac.es) failed to download repository manifest (4 - failed to resolve host address)

```

I thought perhaps adding CVMFS\_IPFAMILY\_PREFER=4 to the conf file would force CVMS to use only IPV4, but it seems to be doing the same. Any suggestions to fix this?

(if I use an IPV4 IP address directly in the CVMFS\_SERVER\_URL variable, then all is good, but I’m hoping to avoid that, so that I can switch servers quickly in case of failure, without having to change the clients’ configuration)

---

<div class="post-metadata">

**Author:** ![thartman](https://cernvm-forum.cern.ch/user_avatar/cernvm-forum.cern.ch/thartman/32/16_2.png) [@thartman](https://cernvm-forum.cern.ch/u/thartman)\
**Post date:** [June 6, 2024, 11:52am UTC](https://cernvm-forum.cern.ch/t/forcing-client-to-use-ipv4/449/2 "2024-06-06T11:52:19Z")

</div>

does it work with the instance’s FQDN?

What kind of records do you have for the instance in your DNS?

---

<div class="post-metadata">

**Author:** ![angel.de.vicente](https://cernvm-forum.cern.ch/user_avatar/cernvm-forum.cern.ch/angel.de.vicente/32/66_2.png) [@angel.de.vicente](https://cernvm-forum.cern.ch/u/angel.de.vicente)\
**Post date:** [June 6, 2024, 12:22pm UTC](https://cernvm-forum.cern.ch/t/forcing-client-to-use-ipv4/449/3 "2024-06-06T12:22:07Z")

</div>

Indeed, with the FQDN it does work just fine.

In all the other clients just “cernie1” was enough and working fine, not sure why, but I guess there is no harm in always setting the FQDN.

---

<div class="post-metadata">

**Author:** ![system](https://cernvm-forum.cern.ch/uploads/default/original/1X/3e336816dfbfe00295701fad16d3bf5b3fca3a02.jpeg) [@system](https://cernvm-forum.cern.ch/u/system)\
**Post date:** [June 6, 2026, 11:10am UTC](https://cernvm-forum.cern.ch/t/forcing-client-to-use-ipv4/449/4 "2026-06-06T11:10:46Z")

</div>

Closed on June 6, 2026, 11:10am UTC

This topic was automatically closed after 730 days. New replies are no longer allowed.
