NFS mounting problem (RPCPROG_MNT: RPC: Timed out)

Platoali Platoali at gmail.com
Tue Jun 6 07:26:30 UTC 2006


Hi,

I've two Freebsd boxes, One is NFS server which have a valid ip address and 
the second one is NFS client behind NAT with an invalid IP .

On the server side, I've the following configurations:

	# vi /etc/exports 
	/usr/local/www/data-dist/ripe/graphs  213.217.100.111 # The IP of NAT server
	/usr/local/www/data-dist/ripe/graphs 127.0.0.1 # this was for the test
	/usr/local/www/data-dist/ripe/graphs 213.217.100.115  # The IP  of the NFS
													server

I can mount localy without any problem:
	# mount -t nfs 213.217.100.115:/usr/local/www/data-dist/ripe/graphs /mnt
or 	
	# mount -t nfs 127.0.0.1:/usr/local/www/data-dist/ripe/graphs /mnt

But On NFS cleint I got the following error:

	# mount 213.217.100.115:/usr/local/www/data-dist/ripe/graph /mnt
	[udp] 213.217.100.115:/usr/local/www/data-dist/ripe/graph: RPCPROG_MNT: RPC: 
Timed out
	[udp] 213.217.100.115:/tmp/test: RPCPROG_MNT: RPC: Timed out
	...

I'm sure there is no network problem. Here is the dump on the client : 
	# tcpdump -n host 213.217.100.115
	tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
	listening on fxp0, link-type EN10MB (Ethernet), capture size 96 bytes
	10:40:22.785099 IP 192.168.32.254.612 > 213.217.100.115.111: UDP, length 56
	10:40:22.786797 IP 213.217.100.115.111 > 192.168.32.254.612: UDP, length 28
	10:40:22.786923 IP 192.168.32.254.1149886527 > 213.217.100.115.2049: 40 null
	10:40:22.787897 IP 213.217.100.115.2049 > 192.168.32.254.1149886527: reply ok 
24 null
	10:40:22.787971 IP 192.168.32.254.779 > 213.217.100.115.111: UDP, length 56
	10:40:22.789326 IP 213.217.100.115.111 > 192.168.32.254.779: UDP, length 28
	10:40:22.789420 IP 192.168.32.254.680 > 213.217.100.115.729: UDP, length 140

As you can see there is no NAT problem. Client recieves the packets from 
server. But I just don't understand why mount cammand get the Time out error.


Best Regards
Ali
















More information about the freebsd-questions mailing list