[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8618.0. "NFS mount with server's IP alias" by AUBER::DORNANO () Tue Jan 28 1997 09:15

This one should be for Mr Werme.
Hope the traces will be OK, as I wouldn't like to be kicked off... ;-)

One of my customer called recently, about the problems encountered in
mounting from a PC a NFS partition on a D.U. V4.0x machine, when giving
in the mount command the IP alias address of the server. He also said
that this did not happen with the regular address, and that a UNIX client
would never experience the problem even with the IP alias address.

So I had to try ! I noticed that I could reproduce the problem at will.
From the traces I guess the problem lies around the locking feature. 

I made the test with 3 machines : 

ebene (Ultrix V4.4) which figures the Unix NFS client.
padpc (Windows 3.11 with Chameleon V4.6) which figures the PC NFS client.
youpla (D.U. V4.0) which is the NFS server. It's IP alias is ornano.


---------------------------------------------------------------------------


Here are the mount and umount sequences from Ultrix (ebene), first
with the regular server's address (youpla) :



tcpdump -t -s 400 udp and host ebene and \(youpla or ornano\)

mount /test_mount@youpla /mnt
umount /mnt



ebene.evt.DEC.COM.33d2fff3 > youpla.evt.dec.com.pmap-v2: 56 call getport prog
"nfs"  V2  prot UDP  port 0

youpla.evt.dec.com.33d2fff3 > ebene.evt.DEC.COM.pmap-v2: 28 reply getport 2049

ebene.evt.DEC.COM.33d2fff3 > youpla.evt.dec.com.nfs-v2: 40 call null

youpla.evt.dec.com.33d2fff3 > ebene.evt.DEC.COM.nfs-v2: 24 reply null

ebene.evt.DEC.COM.33d288a1 > youpla.evt.dec.com.pmap-v2: 56 call getport prog
"mount"  V1  prot UDP  port 0

youpla.evt.dec.com.33d288a1 > ebene.evt.DEC.COM.pmap-v2: 28 reply getport 1027

ebene.evt.DEC.COM.33d288a1 > youpla.evt.dec.com.mount-v1: 128 call mount
"/test_mount"

youpla.evt.dec.com.33d288a1 > ebene.evt.DEC.COM.mount-v1: 60 reply mount  OSF/1
fh 3493,382053/10.507

ebene.evt.DEC.COM.1d52b73c > youpla.evt.dec.com.nfs-v2: 144 call getattr OSF/1
fh 3493,382053/10.507

youpla.evt.dec.com.1d52b73c > ebene.evt.DEC.COM.nfs-v2: 96 reply getattr

ebene.evt.DEC.COM.1e52b73c > youpla.evt.dec.com.nfs-v2: 144 call statfs OSF/1 fh
3493,382053/10.507

youpla.evt.dec.com.1e52b73c > ebene.evt.DEC.COM.nfs-v2: 48 reply statfs tsize
8192 bsize 512 blocks 250736 bfree 87858 bavail 74096

ebene.evt.DEC.COM.33d69996 > youpla.evt.dec.com.pmap-v2: 56 call getport prog
"mount"  V1  prot UDP  port 0

youpla.evt.dec.com.33d69996 > ebene.evt.DEC.COM.pmap-v2: 28 reply getport 1027

ebene.evt.DEC.COM.33d6a850 > youpla.evt.dec.com.mount-v1: 128 call umount
"/test_mount"

youpla.evt.dec.com.33d6a850 > ebene.evt.DEC.COM.mount-v1: 24 reply umount

16 packets


--------------------------------------------------------------------------


And now : from Ultrix (ebene) with the IP alias (ornano) :


tcpdump -t -s 400 udp and host ebene and \(youpla or ornano\)

mount /test_mount@ornano /mnt
umount /mnt 



ebene.evt.DEC.COM.33dd6a0f > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog
"nfs"  V2  prot UDP  port 0

youpla.evt.dec.com.sunrpc > ebene.evt.DEC.COM.3821: udp 28

ebene.evt.DEC.COM.33dd6a0f > ornano.evt.DEC.COM.nfs-v2: 40 call null

youpla.evt.dec.com.2049 > ebene.evt.DEC.COM.3822: udp 24

ebene.evt.DEC.COM.33d2439e > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog
"mount"  V1  prot UDP  port 0

youpla.evt.dec.com.sunrpc > ebene.evt.DEC.COM.3823: udp 28

ebene.evt.DEC.COM.33d2439e > ornano.evt.DEC.COM.mount-v1: 128 call mount
"/test_mount"

youpla.evt.dec.com.1027 > ebene.evt.DEC.COM.1019: udp 60

ebene.evt.DEC.COM.1f52b73c > ornano.evt.DEC.COM.nfs-v2: 144 call getattr OSF/1
fh 3493,382053/10.507

youpla.evt.dec.com.2049 > ebene.evt.DEC.COM.1023: udp 96

ebene.evt.DEC.COM.2052b73c > ornano.evt.DEC.COM.nfs-v2: 144 call statfs OSF/1 fh
3493,382053/10.507

youpla.evt.dec.com.2049 > ebene.evt.DEC.COM.1023: udp 48

ebene.evt.DEC.COM.33d1ed0d > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog
"mount"  V1  prot UDP  port 0

youpla.evt.dec.com.sunrpc > ebene.evt.DEC.COM.3824: udp 28

ebene.evt.DEC.COM.33d1ed0d > ornano.evt.DEC.COM.mount-v1: 128 call umount
"/test_mount"

youpla.evt.dec.com.1027 > ebene.evt.DEC.COM.3825: udp 24

16 packets



All goes well. You'll notice that ebene talks to ornano, but the answer is
always seen "from" youpla. Could not explain this one...


------------------------------------------------------------------------------
------------------------------------------------------------------------------



Now, this is the mount from the PC (padpc), first using the regular address
(youpla) :


tcpdump -x -t -s 400 udp and host padpc and \(youpla or ornano\)



11:19:52.263095 padpc.evt.DEC.COM.69 > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "mount"  V1  prot UDP  port 0
			 4500 0054 03f6 0000 1e11 c613 10bd 3077
			 10bd 809f 0294 006f 0040 1c11 0000 0069
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0001 0000 0011
			 0000 0000
11:19:52.275790 youpla.evt.dec.com.69 > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 1453
			 4500 0038 9b25 0000 1e11 2f00 10bd 809f
			 10bd 3077 006f 0294 0024 23fc 0000 0069
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 05ad
11:19:52.296298 padpc.evt.DEC.COM.6a > youpla.evt.dec.com.mount-v1: 84 call
return export list
			 4500 0070 03f7 0000 1e11 c5f6 10bd 3077
			 10bd 809f 0295 05ad 005c 88e0 0000 006a
			 0000 0000 0000 0002 0001 86a5 0000 0001
			 0000 0005 0000 0001 0000 002c 03a8 66de
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 ffff fffe ffff fffe
			 0000 0001 ffff fffe 0000 0000 0000 0000
11:19:52.310946 youpla.evt.dec.com.6a > padpc.evt.DEC.COM.mount-v1: 284 reply
export"/var": "decgraph.evt.dec.com""/var/test_tino": "supevthos""/var/nsr": 
[|rpc]
			 4500 0138 9b26 0000 1e11 2dff 10bd 809f
			 10bd 3077 05ad 0295 0124 ae35 0000 006a
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0001 0000 0004 2f76 6172
			 0000 0001 0000 0014 6465 6367 7261 7068
			 2e65 7674 2e64 6563 2e63 6f6d 0000 0000
			 0000 0001 0000 000e 2f76 6172 2f74 6573
			 745f 7469 6e6f 0000 0000 0001 0000 0009
			 7375 7065 7674 686f 7300 0000 0000 0000
			 0000 0001 0000 0008 2f76 6172 2f6e 7372
			 0000 0001 0000 0014 6c6f 6e65 736f 6d65
			 2e65 7674 2e64 6563 2e63
11:20:09.763095 padpc.evt.DEC.COM.6b > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "pcnfsd"  V2  prot UDP  port 0
			 4500 0054 03f8 0000 1e11 c611 10bd 3077
			 10bd 809f 0296 006f 0040 58bf 0000 006b
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0002 49f1 0000 0002 0000 0011
			 0000 0000
11:20:09.767978 youpla.evt.dec.com.6b > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 965
			 4500 0038 9cf4 0000 1e11 2d31 10bd 809f
			 10bd 3077 006f 0296 0024 25e0 0000 006b
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 03c5
11:20:09.783603 padpc.evt.DEC.COM.663 > youpla.evt.dec.com.965: udp 40
			 4500 0044 03f9 0000 1e11 c620 10bd 3077
			 10bd 809f 0297 03c5 0030 dc3e 0000 006c
			 0000 0000 0000 0002 0002 49f1 0000 0002
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
11:20:09.957431 youpla.evt.dec.com.965 > padpc.evt.DEC.COM.663: udp 24
			 4500 0034 9cf7 0000 1e11 2d32 10bd 809f
			 10bd 3077 03c5 0297 0020 2655 0000 006c
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000
11:20:09.977939 padpc.evt.DEC.COM.6d > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "pcnfsd"  V2  prot UDP  port 0
			 4500 0054 03fa 0000 1e11 c60f 10bd 3077
			 10bd 809f 0298 006f 0040 58bb 0000 006d
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0002 49f1 0000 0002 0000 0011
			 0000 0000
11:20:09.980868 youpla.evt.dec.com.6d > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 965
			 4500 0038 9cf9 0000 1e11 2d2c 10bd 809f
			 10bd 3077 006f 0298 0024 25dc 0000 006d
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 03c5
11:20:09.997470 padpc.evt.DEC.COM.665 > youpla.evt.dec.com.965: udp 92
			 4500 0078 03fb 0000 1e11 c5ea 10bd 3077
			 10bd 809f 0299 03c5 0064 c78d 0000 006e
			 0000 0000 0000 0002 0002 49f1 0000 0002
			 0000 000d 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0011 7061 6470 632e 6576
			 742e 6465 632e 636f 6d00 0000 0000 0006
			 2b3a 2838 3a37 0000 0000 0008 363e 3634
			 3229 3e2b 0000 0000
11:20:10.916415 youpla.evt.dec.com.965 > padpc.evt.DEC.COM.665: udp 88
			 4500 0074 9da6 0000 1e11 2c43 10bd 809f
			 10bd 3077 03c5 0299 0060 586e 0000 006e
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0e3f 0000 000a 4e6f 2063 6f6d 6d65
			 6e74 0000
11:20:10.943759 padpc.evt.DEC.COM.6f > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "mount"  V1  prot UDP  port 0
			 4500 0054 03fc 0000 1e11 c60d 10bd 3077
			 10bd 809f 029a 006f 0040 1c05 0000 006f
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0001 0000 0011
			 0000 0000
11:20:10.946689 youpla.evt.dec.com.6f > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 1453
			 4500 0038 9da7 0000 1e11 2c7e 10bd 809f
			 10bd 3077 006f 029a 0024 23f0 0000 006f
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 05ad
11:20:10.965243 padpc.evt.DEC.COM.70 > youpla.evt.dec.com.mount-v1: 120 call
mount "/test_mount"
			 4500 0094 03fd 0000 1e11 c5cc 10bd 3077
			 10bd 809f 029b 05ad 0080 da4d 0000 0070
			 0000 0000 0000 0002 0001 86a5 0000 0001
			 0000 0001 0000 0001 0000 0040 03a8 afda
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0000 0000 000b 2f74 6573 745f 6d6f
			 756e 7400
11:20:10.969150 youpla.evt.dec.com.70 > padpc.evt.DEC.COM.mount-v1: 60 reply
mount  OSF/1 fh 3493,382053/10.507
			 4500 0058 9da8 0000 1e11 2c5d 10bd 809f
			 10bd 3077 05ad 029b 0044 436a 0000 0070
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 65d4 55da 0a00 0000
			 0c00 0000 fb01 0000 0680 0000 0c00 0000
			 fb01 0000 0680 0000
11:20:10.993564 padpc.evt.DEC.COM.71 > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "nfs"  V2  prot UDP  port 0
			 4500 0054 03fe 0000 1e11 c60b 10bd 3077
			 10bd 809f 029c 006f 0040 1c02 0000 0071
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a3 0000 0002 0000 0011
			 0000 0000
11:20:11.008212 youpla.evt.dec.com.71 > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 2049
			 4500 0038 9db2 0000 1e11 2c73 10bd 809f
			 10bd 3077 006f 029c 0024 2198 0000 0071
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0801
11:20:11.033603 padpc.evt.DEC.COM.72 > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "netlock"  V3  prot UDP  port 0
			 4500 0054 03ff 0000 1e11 c60a 10bd 3077
			 10bd 809f 029e 006f 0040 1bec 0000 0072
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86b5 0000 0003 0000 0011
			 0000 0000
11:20:11.040439 youpla.evt.dec.com.72 > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 1030
			 4500 0038 9db5 0000 1e11 2c70 10bd 809f
			 10bd 3077 006f 029e 0024 2590 0000 0072
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0406
11:20:11.056064 padpc.evt.DEC.COM.73 > youpla.evt.dec.com.netlock-v3: 40 call
null
			 4500 0044 0400 0000 1e11 c619 10bd 3077
			 10bd 809f 029f 0406 0030 9f2a 0000 0073
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
11:20:11.341220 youpla.evt.dec.com.73 > padpc.evt.DEC.COM.netlock-v3: 24 reply
null
			 4500 0034 9dc7 0000 1e11 2c62 10bd 809f
			 10bd 3077 0406 029f 0020 2605 0000 0073
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000
11:20:11.352939 padpc.evt.DEC.COM.74 > youpla.evt.dec.com.netlock-v3: 132 call
free_all name "D:padpc.evt.dec.com" state 0
			 4500 00a0 0401 0000 1e11 c5bc 10bd 3077
			 10bd 809f 029f 0406 008c 4de7 0000 0074
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0017 0000 0001 0000 0040 03a8 afda
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0000 0000 0013 443a 7061 6470 632e
			 6576 742e 6465 632e 636f 6d00 0000 0000
11:20:11.534579 youpla.evt.dec.com.74 > padpc.evt.DEC.COM.netlock-v3: 24 reply
free_all
			 4500 0034 9dd0 0000 1e11 2c59 10bd 809f
			 10bd 3077 0406 029f 0020 2604 0000 0074
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000
11:20:17.547275 padpc.evt.DEC.COM.75 > youpla.evt.dec.com.pmap-v2: 56 call
getport prog "mount"  V1  prot UDP  port 0
			 4500 0054 0402 0000 1e11 c607 10bd 3077
			 10bd 809f 02a0 006f 0040 1bf9 0000 0075
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0001 0000 0011
			 0000 0000
11:20:17.550204 youpla.evt.dec.com.75 > padpc.evt.DEC.COM.pmap-v2: 28 reply
getport 1453
			 4500 0038 9f01 0000 1e11 2b24 10bd 809f
			 10bd 3077 006f 02a0 0024 23e4 0000 0075
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 05ad
11:20:17.567782 padpc.evt.DEC.COM.76 > youpla.evt.dec.com.mount-v1: 120 call
umount "/test_mount"
			 4500 0094 0403 0000 1e11 c5c6 10bd 3077
			 10bd 809f 02a1 05ad 0080 da3f 0000 0076
			 0000 0000 0000 0002 0001 86a5 0000 0001
			 0000 0003 0000 0001 0000 0040 03a8 afda
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0000 0000 000b 2f74 6573 745f 6d6f
			 756e 7400
11:20:17.571689 youpla.evt.dec.com.76 > padpc.evt.DEC.COM.mount-v1: 24 reply
umount
			 4500 0034 9f03 0000 1e11 2b26 10bd 809f
			 10bd 3077 05ad 02a1 0020 2459 0000 0076
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000





Everything is OK here, although you'll notice that padpc asks for the program
netlock on youpla, in order to "free all" in a subsequent RPC call. (I guess
it is to free all locks in order to start working sane).



----------------------------------------------------------------------------



And now, here we are, mounting from the PC, giving the IP alias
address/name (ornano) of the NFS server. The mount takes about 30 seconds
when it takes a couple of seconds with the regular address. I also asked
for ICMP in order to track the problem, and there it is : 


tcpdump -x -t -s 400 \(udp or icmp\) and host padpc and \(youpla or ornano\)



padpc.evt.DEC.COM.4b > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "mount" 
V1  prot UDP  port 0
			 4500 0054 005b 0000 1e11 ca36 10bd 3077
			 10bd 8017 027c 006f 0040 1ccf 0000 004b
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0001 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.636: udp 28
			 4500 0038 6575 0000 1e11 64b0 10bd 809f
			 10bd 3077 006f 027c 0024 2432 0000 004b
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 05ad
padpc.evt.DEC.COM.4c > ornano.evt.DEC.COM.mount-v1: 84 call return export list
			 4500 0070 005c 0000 1e11 ca19 10bd 3077
			 10bd 8017 027d 05ad 005c 2bf3 0000 004c
			 0000 0000 0000 0002 0001 86a5 0000 0001
			 0000 0005 0000 0001 0000 002c 000d c824
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 ffff fffe ffff fffe
			 0000 0001 ffff fffe 0000 0000 0000 0000
youpla.evt.dec.com.1453 > padpc.evt.DEC.COM.637: udp 284
			 4500 0138 6577 0000 1e11 63ae 10bd 809f
			 10bd 3077 05ad 027d 0124 ae6b 0000 004c
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0001 0000 0004 2f76 6172
			 0000 0001 0000 0014 6465 6367 7261 7068
			 2e65 7674 2e64 6563 2e63 6f6d 0000 0000
			 0000 0001 0000 000e 2f76 6172 2f74 6573
			 745f 7469 6e6f 0000 0000 0001 0000 0009
			 7375 7065 7674 686f 7300 0000 0000 0000
			 0000 0001 0000 0008 2f76 6172 2f6e 7372
			 0000 0001 0000 0014 6c6f 6e65 736f 6d65
			 2e65 7674 2e64 6563 2e63 6f6d 0000 0000
			 0000 0001 0000 0001 2f00 0000 0000 0001
			 0000 0006 7861 6d69 616c 0000 0000 0000
			 0000 0001 0000 000b 2f74 6573 745f 6d6f
			 756e 7400 0000 0000 0000 0001 0000 0004
			 2f75 7372 0000 0001 0000 0006 7861 6d69
			 616c 0000 0000 0000 0000 0001 0000 000f
			 2f75 7372 2f6f 7074 2f42 5258 3332 3100
			 0000 0000 0000 0000
padpc.evt.DEC.COM.4d > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "pcnfsd"
 V2  prot UDP  port 0
			 4500 0054 005d 0000 1e11 ca34 10bd 3077
			 10bd 8017 027e 006f 0040 597d 0000 004d
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0002 49f1 0000 0002 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.638: udp 28
			 4500 0038 6593 0000 1e11 6492 10bd 809f
			 10bd 3077 006f 027e 0024 2616 0000 004d
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 03c5
padpc.evt.DEC.COM.639 > ornano.evt.DEC.COM.965: udp 40
			 4500 0044 005e 0000 1e11 ca43 10bd 3077
			 10bd 8017 027f 03c5 0030 dcfc 0000 004e
			 0000 0000 0000 0002 0002 49f1 0000 0002
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
youpla.evt.dec.com.965 > padpc.evt.DEC.COM.639: udp 24
			 4500 0034 6594 0000 1e11 6495 10bd 809f
			 10bd 3077 03c5 027f 0020 268b 0000 004e
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000
padpc.evt.DEC.COM.4f > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "pcnfsd"
 V2  prot UDP  port 0
			 4500 0054 005f 0000 1e11 ca32 10bd 3077
			 10bd 8017 0280 006f 0040 5979 0000 004f
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0002 49f1 0000 0002 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.640: udp 28
			 4500 0038 6595 0000 1e11 6490 10bd 809f
			 10bd 3077 006f 0280 0024 2612 0000 004f
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 03c5
padpc.evt.DEC.COM.641 > ornano.evt.DEC.COM.965: udp 96
			 4500 007c 0060 0000 1e11 ca09 10bd 3077
			 10bd 8017 0281 03c5 0068 52f7 0000 0050
			 0000 0000 0000 0002 0002 49f1 0000 0002
			 0000 000d 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0011 7061 6470 632e 6576
			 742e 6465 632e 636f 6d00 0000 0000 0009
			 3833 3e36 3235 3a35 2f00 0000 0000 0008
			 383a 293f 3235 3a37 0000 0000
youpla.evt.dec.com.965 > padpc.evt.DEC.COM.641: udp 64
			 4500 005c 659e 0000 1e11 6463 10bd 809f
			 10bd 3077 03c5 0281 0048 5dd4 0000 0050
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0002 ffff fffe ffff fffe
			 0000 0000 0000 0000 0000 0e3f 0000 000a
			 4e6f 2063 6f6d 6d65 6e74 0000
padpc.evt.DEC.COM.51 > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "pcnfsd"
 V2  prot UDP  port 0
			 4500 0054 0061 0000 1e11 ca30 10bd 3077
			 10bd 8017 0282 006f 0040 5975 0000 0051
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0002 49f1 0000 0002 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.642: udp 28
			 4500 0038 65e1 0000 1e11 6444 10bd 809f
			 10bd 3077 006f 0282 0024 260e 0000 0051
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 03c5
padpc.evt.DEC.COM.643 > ornano.evt.DEC.COM.965: udp 40
			 4500 0044 0062 0000 1e11 ca3f 10bd 3077
			 10bd 8017 0283 03c5 0030 dcf4 0000 0052
			 0000 0000 0000 0002 0002 49f1 0000 0002
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
youpla.evt.dec.com.965 > padpc.evt.DEC.COM.643: udp 24
			 4500 0034 65e2 0000 1e11 6447 10bd 809f
			 10bd 3077 03c5 0283 0020 2683 0000 0052
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000
padpc.evt.DEC.COM.53 > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "pcnfsd"
 V2  prot UDP  port 0
			 4500 0054 0063 0000 1e11 ca2e 10bd 3077
			 10bd 8017 0284 006f 0040 5971 0000 0053
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0002 49f1 0000 0002 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.644: udp 28
			 4500 0038 65e3 0000 1e11 6442 10bd 809f
			 10bd 3077 006f 0284 0024 260a 0000 0053
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 03c5
padpc.evt.DEC.COM.645 > ornano.evt.DEC.COM.965: udp 92
			 4500 0078 0064 0000 1e11 ca09 10bd 3077
			 10bd 8017 0285 03c5 0064 d724 0000 0054
			 0000 0000 0000 0002 0002 49f1 0000 0002
			 0000 000d 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0011 7061 6470 632e 6576
			 742e 6465 632e 636f 6d00 0000 0000 0006
			 2b3a 2838 3a37 0000 0000 0008 383a 293f
			 3235 3a37 0000 0000
youpla.evt.dec.com.965 > padpc.evt.DEC.COM.645: udp 88
			 4500 0074 6673 0000 1e11 6376 10bd 809f
			 10bd 3077 03c5 0285 0060 589c 0000 0054
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0e3f 0000 000a 4e6f 2063 6f6d 6d65
			 6e74 0000
padpc.evt.DEC.COM.55 > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "mount" 
V1  prot UDP  port 0
			 4500 0054 0065 0000 1e11 ca2c 10bd 3077
			 10bd 8017 0286 006f 0040 1cbb 0000 0055
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0001 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.646: udp 28
			 4500 0038 6674 0000 1e11 63b1 10bd 809f
			 10bd 3077 006f 0286 0024 241e 0000 0055
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 05ad
padpc.evt.DEC.COM.56 > ornano.evt.DEC.COM.mount-v1: 120 call mount "/test_mount"
			 4500 0094 0066 0000 1e11 c9eb 10bd 3077
			 10bd 8017 0287 05ad 0080 78ea 0000 0056
			 0000 0000 0000 0002 0001 86a5 0000 0001
			 0000 0001 0000 0001 0000 0040 000e 158e
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0000 0000 000b 2f74 6573 745f 6d6f
			 756e 7400
youpla.evt.dec.com.1453 > padpc.evt.DEC.COM.647: udp 60
			 4500 0058 6675 0000 1e11 6390 10bd 809f
			 10bd 3077 05ad 0287 0044 4398 0000 0056
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 65d4 55da 0a00 0000
			 0c00 0000 fb01 0000 0680 0000 0c00 0000
			 fb01 0000 0680 0000
padpc.evt.DEC.COM.57 > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "nfs" 
V2  prot UDP  port 0
			 4500 0054 0067 0000 1e11 ca2a 10bd 3077
			 10bd 8017 0288 006f 0040 1cb8 0000 0057
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a3 0000 0002 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.648: udp 28
			 4500 0038 6676 0000 1e11 63af 10bd 809f
			 10bd 3077 006f 0288 0024 21c6 0000 0057
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0801
padpc.evt.DEC.COM.58 > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog
"netlock"  V3  prot UDP  port 0
			 4500 0054 0068 0000 1e11 ca29 10bd 3077
			 10bd 8017 028a 006f 0040 1ca2 0000 0058
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86b5 0000 0003 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.650: udp 28
			 4500 0038 6678 0000 1e11 63ad 10bd 809f
			 10bd 3077 006f 028a 0024 25be 0000 0058
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0406
padpc.evt.DEC.COM.59 > ornano.evt.DEC.COM.netlock-v3: 40 call null
			 4500 0044 0069 0000 1e11 ca38 10bd 3077
			 10bd 8017 028b 0406 0030 9fe0 0000 0059
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
ornano.evt.DEC.COM > padpc.evt.DEC.COM: icmp: ornano.evt.DEC.COM udp port 1030
unreachable
			 4500 0038 667b 0000 4001 4242 10bd 8017
			 10bd 3077 0303 f63b 0000 0000 4500 0044
			 0069 0000 1e11 ca38 10bd 3077 10bd 8017
			 028b 0406 0030 0000
padpc.evt.DEC.COM.59 > ornano.evt.DEC.COM.netlock-v3: 40 call null
			 4500 0044 006a 0000 1e11 ca37 10bd 3077
			 10bd 8017 028b 0406 0030 9fe0 0000 0059
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
ornano.evt.DEC.COM > padpc.evt.DEC.COM: icmp: ornano.evt.DEC.COM udp port 1030
unreachable
			 4500 0038 667f 0000 4001 423e 10bd 8017
			 10bd 3077 0303 f63b 0000 0000 4500 0044
			 006a 0000 1e11 ca37 10bd 3077 10bd 8017
			 028b 0406 0030 0000
padpc.evt.DEC.COM.59 > ornano.evt.DEC.COM.netlock-v3: 40 call null
			 4500 0044 006b 0000 1e11 ca36 10bd 3077
			 10bd 8017 028b 0406 0030 9fe0 0000 0059
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
ornano.evt.DEC.COM > padpc.evt.DEC.COM: icmp: ornano.evt.DEC.COM udp port 1030
unreachable
			 4500 0038 6689 0000 4001 4234 10bd 8017
			 10bd 3077 0303 f63b 0000 0000 4500 0044
			 006b 0000 1e11 ca36 10bd 3077 10bd 8017
			 028b 0406 0030 0000
padpc.evt.DEC.COM.59 > ornano.evt.DEC.COM.netlock-v3: 40 call null
			 4500 0044 006c 0000 1e11 ca35 10bd 3077
			 10bd 8017 028b 0406 0030 9fe0 0000 0059
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
ornano.evt.DEC.COM > padpc.evt.DEC.COM: icmp: ornano.evt.DEC.COM udp port 1030
unreachable
			 4500 0038 669c 0000 4001 4221 10bd 8017
			 10bd 3077 0303 f63b 0000 0000 4500 0044
			 006c 0000 1e11 ca35 10bd 3077 10bd 8017
			 028b 0406 0030 0000
padpc.evt.DEC.COM.59 > ornano.evt.DEC.COM.netlock-v3: 40 call null
			 4500 0044 006d 0000 1e11 ca34 10bd 3077
			 10bd 8017 028b 0406 0030 9fe0 0000 0059
			 0000 0000 0000 0002 0001 86b5 0000 0003
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000
ornano.evt.DEC.COM > padpc.evt.DEC.COM: icmp: ornano.evt.DEC.COM udp port 1030
unreachable
			 4500 0038 66c2 0000 4001 41fb 10bd 8017
			 10bd 3077 0303 f63b 0000 0000 4500 0044
			 006d 0000 1e11 ca34 10bd 3077 10bd 8017
			 028b 0406 0030 0000
padpc.evt.DEC.COM.5a > ornano.evt.DEC.COM.pmap-v2: 56 call getport prog "mount" 
V1  prot UDP  port 0
			 4500 0054 006e 0000 1e11 ca23 10bd 3077
			 10bd 8017 028c 006f 0040 1cb0 0000 005a
			 0000 0000 0000 0002 0001 86a0 0000 0002
			 0000 0003 0000 0000 0000 0000 0000 0000
			 0000 0000 0001 86a5 0000 0001 0000 0011
			 0000 0000
youpla.evt.dec.com.sunrpc > padpc.evt.DEC.COM.652: udp 28
			 4500 0038 6728 0000 1e11 62fd 10bd 809f
			 10bd 3077 006f 028c 0024 2413 0000 005a
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 05ad
padpc.evt.DEC.COM.5b > ornano.evt.DEC.COM.mount-v1: 120 call umount "/test_mount"
			 4500 0094 006f 0000 1e11 c9e2 10bd 3077
			 10bd 8017 028d 05ad 0080 78dd 0000 005b
			 0000 0000 0000 0002 0001 86a5 0000 0001
			 0000 0003 0000 0001 0000 0040 000e 158e
			 0000 0011 7061 6470 632e 6576 742e 6465
			 632e 636f 6d00 0000 0000 0110 0000 0055
			 0000 0006 0000 0000 0000 014e 0000 00b9
			 0000 00de 0000 0051 0000 005f 0000 0000
			 0000 0000 0000 000b 2f74 6573 745f 6d6f
			 756e 7400
youpla.evt.dec.com.1453 > padpc.evt.DEC.COM.653: udp 24
			 4500 0034 6729 0000 1e11 6300 10bd 809f
			 10bd 3077 05ad 028d 0020 2488 0000 005b
			 0000 0001 0000 0000 0000 0000 0000 0000
			 0000 0000
42 packets


This time, when padpc asks for the netlock program, it is ornano which answers
(for the first time !) saying that the port is unreachable. Although the
program registered itself to portmap, according to the following rpcinfo,
it looks like there is something wrong here.
I tried to stop and restart NIS and NFS in order to restart portmap AFTER
the add of the IP alias, but no luck.


rpcinfo -p ornano | grep 1030 
    100021    3   udp   1030  nlockmgr
    100021    4   tcp   1030  nlockmgr


rpcinfo -p youpla | grep 1030 
    100021    3   udp   1030  nlockmgr
    100021    4   tcp   1030  nlockmgr


I don't know exactly where is the problem. Your advice would be appreciated.
Thank you for listening.


Pascal d'Ornano
CSC Evry, France.

T.RTitleUserPersonal
Name
DateLines
8618.1answerAUBER::DORNANOFri Jan 31 1997 06:1025

To answer my own question (solution given by my collegue C. MEYER) :

/usr/sbin/rpc.lockd -b ornano

This is not documented, but is sometimes used with ASE.



From prot_main.c (part of rpc.lockd sources) :




                case 'b':
                        bindhostname = optarg;
                        break;
                default:
                        fprintf(stderr, "rpc.lockd -t[timeout] -g[grace_period]
-h[hashsize] -s -b[hostname] -d[debug]\n");



Pascal d'Ornano