NFS server not seen from other hosts: RPC - no route to host

Hello,

installed Galileo, started NFS server via systemctl start nfsv4-server.service but on client (192.168.2.139) I get for rpcinfo -p 192.168.2.131:

192.168.2.131: RPC: Remote system error - No route to host

This is what I see on the Galileo host:

# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp47s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether d4:93:90:2a:ae:d8 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 74:c6:3b:25:76:71 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.131/24 brd 192.168.2.255 scope global dynamic noprefixroute wlan0
       valid_lft 1206990sec preferred_lft 1206990sec
    inet6 fe80::1659:f8ee:dae3:99a5/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
# rpcinfo -p 192.168.2.131
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100003    4   tcp   2049  nfs
    100005    1   udp  20048  mountd
    100024    1   udp  58636  status
    100005    1   tcp  20048  mountd
    100024    1   tcp  34931  status
    100005    2   udp  20048  mountd
    100005    2   tcp  20048  mountd
    100005    3   udp  20048  mountd
    100005    3   tcp  20048  mountd
# iptables -L -v -n
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Both are laptops on the same WiFi network. What am I missing?

Did you check the firewall?

By default, EOS uses nftables/firewalld, not iptables.

Ahaaa, thanks. I had to enable nfs, rpc-bind and mountd via firewall-config GUI, then I was able to get available mounts and mount the exported NFS.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.