Hi, list
I can't mount shared resource over nfs, when use alias on network interface:
$ sudo mount_nfs 192.168.2.3:/usr/local/cvsroot /var/cvsbackup
[udp] clh.cluster:/usr/local/cvsroot: NFSPROC_NULL: RPC: Timed out
My config:
$ cat /etc/exports
/usr -alldirs -mapall=nobody
$ ifconfig rl0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 192.168.0.221 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet 192.168.2.3 netmask 0xffffffff broadcast 192.168.2.3
ether 00:00:5e:00:01:01
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
Problem in the netmask. When I try 192.168.2.1 all work fine.
How I can fix the problem?
By.
Dmitriy
On Jul 26, 2005, at 11:38 AM, Dmitriy Kirhlarov wrote:> Problem in the netmask. When I try 192.168.2.1 all work fine. > How I can fix the problem?You might have to restart portmap, and/or feed it the -h option: -h Specify specific IP addresses to bind to for UDP requests. This option may be specified multiple times and is typically necessary when running on a multi-homed host. If no -h option is speci- fied, portmap will bind to INADDR_ANY, which could lead to prob- lems on a multi-homed host due to portmap returning a UDP packet from a different IP address than it was sent to. Note that when specifying IP addresses with -h, portmap will automatically add 127.0.0.1 to the list. -- -Chuck