About this list Date view Thread view Subject view Author view Attachment view

From: Robert Cope (robert_at_gonkgonk.com)
Date: Sun 17 Oct 2004 - 03:25:14 BST


Hello,

This may have been covered before, but I haven't found it searching
Google, etc. And this may not even be a vserver problem, though I've
certainly done this other places without a problem.

What I've got is a vserver that needs to mount a few NFS shares. The
vserver has two IP addresses, a public and a private, on two network
interfaces. The NFS shares are mounted over the private network. The
problem is that the NFS server is getting the wrong IP sent to it (but
over the right interface), causing the the mount to fail.

The external IP is 172.17.19.114, internal is 172.17.20.114. You can see
that at some point in the conversation, the internal IP gets used, which
is wrong, since I'm only tcpdumping on the private interface. Here's TCP
output:

>From client:

21:18:11.460901 172.17.20.114.836 > 172.17.20.21.sunrpc: S
1648716476:1648716476(0) win 5840 <mss 1460,sackOK,timestamp 11931124
0,nop,wscale 0> (DF)
21:18:11.461060 172.17.20.21.sunrpc > 172.17.20.114.836: S
1959198516:1959198516(0) ack 1648716477 win 5792 <mss
1460,sackOK,timestamp 133480605 11931124,nop,wscale 0> (DF)
21:18:11.461071 172.17.20.114.836 > 172.17.20.21.sunrpc: . ack 1 win
5840 <nop,nop,timestamp 11931125 133480605> (DF)
21:18:11.461102 172.17.20.114.836 > 172.17.20.21.sunrpc: P 1:45(44) ack
1 win 5840 <nop,nop,timestamp 11931125 133480605> (DF)
21:18:11.461190 172.17.20.21.sunrpc > 172.17.20.114.836: . ack 45 win
5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:18:11.461464 172.17.20.21.sunrpc > 172.17.20.114.836: P 1:401(400)
ack 45 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:18:11.461468 172.17.20.114.836 > 172.17.20.21.sunrpc: . ack 401 win
6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:18:11.461550 172.17.20.21.sunrpc > 172.17.20.114.836: P 401:517(116)
ack 45 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:18:11.461553 172.17.20.114.836 > 172.17.20.21.sunrpc: . ack 517 win
6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:18:11.461566 172.17.20.114.836 > 172.17.20.21.sunrpc: F 45:45(0) ack
517 win 6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:18:11.461613 172.17.19.114.837 > 172.17.20.21.32771: udp 140 (DF)
21:18:11.461721 172.17.20.21.sunrpc > 172.17.20.114.836: F 517:517(0)
ack 46 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:18:11.461727 172.17.20.114.836 > 172.17.20.21.sunrpc: . ack 518 win
6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:18:11.610940 172.17.20.21.32771 > 172.17.19.114.837: udp 28 (DF)
[ttl 0]

>From server:
21:16:41.800374 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: S
1648716476:1648716476(0) win 5840 <mss 1460,sackOK,timestamp 11931124
0,nop,wscale 0> (DF)
21:16:41.800396 labemsms-1i.messageone.com.sunrpc > 172.17.20.114.836: S
1959198516:1959198516(0) ack 1648716477 win 5792 <mss
1460,sackOK,timestamp 133480605 11931124,nop,wscale 0> (DF)
21:16:41.800500 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: .
ack 1 win 5840 <nop,nop,timestamp 11931125 133480605> (DF)
21:16:41.800517 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: P
1:45(44) ack 1 win 5840 <nop,nop,timestamp 11931125 133480605> (DF)
21:16:41.800524 labemsms-1i.messageone.com.sunrpc > 172.17.20.114.836: .
ack 45 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:16:41.800785 labemsms-1i.messageone.com.sunrpc > 172.17.20.114.836: P
1:401(400) ack 45 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:16:41.800876 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: .
ack 401 win 6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:16:41.800884 labemsms-1i.messageone.com.sunrpc > 172.17.20.114.836: P
401:517(116) ack 45 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:16:41.800999 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: .
ack 517 win 6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:16:41.801003 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: F
45:45(0) ack 517 win 6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:16:41.801009 172.17.19.114.837 > labemsms-1i.messageone.com.32771:
udp 140 (DF)
21:16:41.801052 labemsms-1i.messageone.com.sunrpc > 172.17.20.114.836: F
517:517(0) ack 46 win 5792 <nop,nop,timestamp 133480605 11931125> (DF)
21:16:41.801126 172.17.20.114.836 > labemsms-1i.messageone.com.sunrpc: .
ack 518 win 6432 <nop,nop,timestamp 11931125 133480605> (DF)
21:16:41.950270 labemsms-1i.messageone.com.32771 > 172.17.19.114.837:
udp 28 (DF) [ttl 0]

Any thoughts would be appreciated,

robert
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 17 Oct 2004 - 03:27:11 BST by hypermail 2.1.3