matsui888
2005-03-03 09:36:15 UTC
matsui888$B$H?=$7$^$9!#(BRedhat9$B$G$N4D6-$G$9!#(B
Redhat9(nfs$B%5!<%P(B hoge.dyndns.net)
|
WAN
|
Redhat9(nfs$B%/%i%$%"%s%H(B)
$B$H$J$C$F$$$^$7$F!"(B
[nfsServer]# cat /etc/fstab | grep fat32
/dev/hdb1 /mnt/fat32 vfat
codepage=932,iocharset=euc-jp,dafaults,rw,user,exec,umask=0 0 0
[nfsServer]# exportfs -v | grep hoge.dyndns.net
/mnt/fat32 hoge.dyndns.net(rw,wdelay,no_root_squash)
[nfsServer]# ifconfig ppp0 | grep inet
inet addr:xxx.xxx.xxx.xxx P-t-P:210.130.183.132
Mask:255.255.255.255
[nfsClient]# host hoge.dyndns.net
hoge.dyndns.net has address xxx.xxx.xxx.xxx
[nfsClient]# mount -
t nfs -o soft,timeo=1 hoge.dyndns.net:/mnt/fat32 /mnt/hoge_dyndns_net_nfs
$B$G%^%&%s%H=PMh$^$9!#(B
[nfsClient]# mount | grep hoge.dyndns.net
hoge.dyndns.net:/mnt/fat32 on /mnt/hoge_dyndns_net_nfs type nfs
(rw,soft,timeo=1,addr=xxx.xxx.xxx.xxx)
$B$H$3$m$,(BnsfServer$BB&$,%j%V!<%H$7$F%0%m!<%P%k%"%I%l%9$,JQ$o$j$^$7$?$N$K(B
[nfsServer]# ifconfig ppp0 | grep inet
inet addr:yyy.yyy.yyy.yyy P-t-P:210.130.183.132
Mask:255.255.255.255
[nfsClient]# host hoge.dyndns.net
hoge.dyndns.net has address yyy.yyy.yyy.yyy
mount$B%3%^%s%I$G%^%&%s%H>u67$r3NG'$7$F$_$^$7$?$iAjJQ$o$i$:(B
[nfsClient]# mount | grep hoge.dyndns.net
hoge.dyndns.net:/mnt/fat32 on /mnt/hoge_dyndns_net_nfs type nfs
(rw,soft,timeo=1,addr=xxx.xxx.xxx.xxx)
$B$H%^%&%s%H$5$l$?$^$^$J$N$G$9!#$7$+$b(B
[nfsClient]# umount /mnt/hoge_dyndns_net_nfs
Cannot MOUNTPROG RPC: RPC: $B%]!<%H%^%C%Q!<$N<:GT$G$9(B - RPC: $B%?%$%`%"%&%H$7$^(B
$B$7$?(B
umount: /mnt/hoge_dyndns_net_nfs: $B%G%P%$%9$r;HMQCf$G$9(B
$B$H$J$j!"%"%s%^%&%s%H$G$-$^$;$s!#(B
$B$3$l$O2?$,860x$J$N$G$7$g$&$+(B?
Redhat9(nfs$B%5!<%P(B hoge.dyndns.net)
|
WAN
|
Redhat9(nfs$B%/%i%$%"%s%H(B)
$B$H$J$C$F$$$^$7$F!"(B
[nfsServer]# cat /etc/fstab | grep fat32
/dev/hdb1 /mnt/fat32 vfat
codepage=932,iocharset=euc-jp,dafaults,rw,user,exec,umask=0 0 0
[nfsServer]# exportfs -v | grep hoge.dyndns.net
/mnt/fat32 hoge.dyndns.net(rw,wdelay,no_root_squash)
[nfsServer]# ifconfig ppp0 | grep inet
inet addr:xxx.xxx.xxx.xxx P-t-P:210.130.183.132
Mask:255.255.255.255
[nfsClient]# host hoge.dyndns.net
hoge.dyndns.net has address xxx.xxx.xxx.xxx
[nfsClient]# mount -
t nfs -o soft,timeo=1 hoge.dyndns.net:/mnt/fat32 /mnt/hoge_dyndns_net_nfs
$B$G%^%&%s%H=PMh$^$9!#(B
[nfsClient]# mount | grep hoge.dyndns.net
hoge.dyndns.net:/mnt/fat32 on /mnt/hoge_dyndns_net_nfs type nfs
(rw,soft,timeo=1,addr=xxx.xxx.xxx.xxx)
$B$H$3$m$,(BnsfServer$BB&$,%j%V!<%H$7$F%0%m!<%P%k%"%I%l%9$,JQ$o$j$^$7$?$N$K(B
[nfsServer]# ifconfig ppp0 | grep inet
inet addr:yyy.yyy.yyy.yyy P-t-P:210.130.183.132
Mask:255.255.255.255
[nfsClient]# host hoge.dyndns.net
hoge.dyndns.net has address yyy.yyy.yyy.yyy
mount$B%3%^%s%I$G%^%&%s%H>u67$r3NG'$7$F$_$^$7$?$iAjJQ$o$i$:(B
[nfsClient]# mount | grep hoge.dyndns.net
hoge.dyndns.net:/mnt/fat32 on /mnt/hoge_dyndns_net_nfs type nfs
(rw,soft,timeo=1,addr=xxx.xxx.xxx.xxx)
$B$H%^%&%s%H$5$l$?$^$^$J$N$G$9!#$7$+$b(B
[nfsClient]# umount /mnt/hoge_dyndns_net_nfs
Cannot MOUNTPROG RPC: RPC: $B%]!<%H%^%C%Q!<$N<:GT$G$9(B - RPC: $B%?%$%`%"%&%H$7$^(B
$B$7$?(B
umount: /mnt/hoge_dyndns_net_nfs: $B%G%P%$%9$r;HMQCf$G$9(B
$B$H$J$j!"%"%s%^%&%s%H$G$-$^$;$s!#(B
$B$3$l$O2?$,860x$J$N$G$7$g$&$+(B?