Mounting cifs volume fails with No route to host if not using IP address
Issue
-
Mounting cifs volume failed with the following error even if the specified server name can be resolved.
# mount -t cifs //cifs-server/share /mnt mount(2) system call failed: No route to host.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.