Pagina 1 di 1

nfs su eth1

Inviato: gio 29 dic 2011, 18:38
da Meskalamdug
Supponiamo 2 schede di rete eth0 e eth1,voglio mettere nfs su eth1
rpc.portmap -i eth1 va bene ma per rcp.statd come si fa?
Su BSD c'è la opzione -h(host),su slackware non vedo nessuna opzione per
il bind a un altra intefaccia.
Che mi suggerite?

Re: nfs su eth1

Inviato: gio 29 dic 2011, 18:45
da Ansa89
man rpc.statd ha scritto:-n, --name ipaddr | hostname
Specifies the bind address used for RPC listener sockets. The ipaddr form can be expressed as either an IPv4 or an IPv6 presentation
address. If this option is not specified, rpc.statd uses a wildcard address as the transport bind address.

This string is also passed to the sm-notify command to be used as the source address from which to send reboot notification requests.
See sm-notify(8) for details.
Può fare al caso tuo?

Re: nfs su eth1

Inviato: gio 29 dic 2011, 19:44
da Meskalamdug
Ansa89 ha scritto:
man rpc.statd ha scritto:-n, --name ipaddr | hostname
Specifies the bind address used for RPC listener sockets. The ipaddr form can be expressed as either an IPv4 or an IPv6 presentation
address. If this option is not specified, rpc.statd uses a wildcard address as the transport bind address.

This string is also passed to the sm-notify command to be used as the source address from which to send reboot notification requests.
See sm-notify(8) for details.
Può fare al caso tuo?
Da errore
sm-notify: Version 1.2.3 starting
sm-notify: Already notifying clients; Exiting!
Cannot register service: RPC: Unable to receive; errno = Connection refused

Strano
Ovviamente questo con rcp.portmap sull'alatra interfaccia