<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Force mount to use UDP?? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955038#M4359</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Edit /etc/fstab of the linux client.&lt;BR /&gt;&lt;BR /&gt;yournfsserver:/nfsdata /nfsdata  nfs  noauto,ro,hard,intr,bg,udp&lt;BR /&gt;&lt;BR /&gt;Save the file&lt;BR /&gt;&lt;BR /&gt;Now &lt;BR /&gt;&lt;BR /&gt;#mount /nfsdata&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 19 Apr 2003 04:29:35 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2003-04-19T04:29:35Z</dc:date>
    <item>
      <title>Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955036#M4357</link>
      <description>Calling all Linux Guru's!  :)&lt;BR /&gt;&lt;BR /&gt;We had a working setup: NFS Linux client mounting from an NFS Linux server.&lt;BR /&gt;&lt;BR /&gt;Then we put a PIX firewall between them. I've opened the correct ports on the PIX (111 and 2049).&lt;BR /&gt;&lt;BR /&gt;For another NFS client (HP-UX) on the same subnet as the Linux NFS client, NFS mounts work.&lt;BR /&gt;&lt;BR /&gt;* This is because HP-UX mount requests _first_ contact portmap (port 111) on the Linux NFS server via UDP. The Cisco PIX is stateful and watches the UDP query and the response from the Linux NFS server and allows the follow-on communications and NFS mount to work. &lt;BR /&gt;&lt;BR /&gt;The Cisco PIX only supports NFS over UDP.&lt;BR /&gt;&lt;BR /&gt;* Linux mount requests to the Linux NFS server use TCP rather than UDP for their initial query to the server's portmapper. These fail because the PIX does not support NFS over TCP and doesn't watch TCP queries to portmap.&lt;BR /&gt;&lt;BR /&gt;** Is there a way to for Linux's mount process to contact portmap using UDP?&lt;BR /&gt;&lt;BR /&gt;FYI, using the -o udp mount option doesn't have any effect because that is for NFS traffic, but this issue is before the NFS connections are made.&lt;BR /&gt;&lt;BR /&gt;Thanks for any help! I've done a good bit of Googling and come up short.</description>
      <pubDate>Fri, 18 Apr 2003 19:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955036#M4357</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-04-18T19:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955037#M4358</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm wondering if commenting this line in /etc/services:&lt;BR /&gt;&lt;BR /&gt;sunrpc      111/tcp&lt;BR /&gt;&lt;BR /&gt;would force it to use UDP since the tcp one is comment out.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Apr 2003 21:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955037#M4358</guid>
      <dc:creator>Jean-Pierre Denis</dc:creator>
      <dc:date>2003-04-18T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955038#M4359</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Edit /etc/fstab of the linux client.&lt;BR /&gt;&lt;BR /&gt;yournfsserver:/nfsdata /nfsdata  nfs  noauto,ro,hard,intr,bg,udp&lt;BR /&gt;&lt;BR /&gt;Save the file&lt;BR /&gt;&lt;BR /&gt;Now &lt;BR /&gt;&lt;BR /&gt;#mount /nfsdata&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Apr 2003 04:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955038#M4359</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-04-19T04:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955039#M4360</link>
      <description>Thanks for the suggestion! Unfortunately, that won't the problem for this scenario.&lt;BR /&gt;The udp mount option only specifices the NFS should run over UDP. It doesn't force the initial query to the NFS server's portmapper to use UDP... that's what I really need to find out how to do.</description>
      <pubDate>Sat, 19 Apr 2003 12:51:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955039#M4360</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-04-19T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955040#M4361</link>
      <description>Can you modify the PIX to allow TCP from the Linux client to port 111 on the NFS server?  This would not be any less secure than allowing NFS traffic through.</description>
      <pubDate>Sat, 19 Apr 2003 15:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955040#M4361</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-04-19T15:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955041#M4362</link>
      <description>What about JP's suggestion (repeated in full here in case you missed it)? Did you try it?&lt;BR /&gt;April 18, 2003 22:58 PM GMT   [ unassigned ]   &lt;BR /&gt;&lt;BR /&gt;======paste=====&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;I'm wondering if commenting this line in /etc/services: &lt;BR /&gt;&lt;BR /&gt;sunrpc 111/tcp &lt;BR /&gt;&lt;BR /&gt;would force it to use UDP since the tcp one is comment out. &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;JP</description>
      <pubDate>Sun, 20 Apr 2003 12:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955041#M4362</guid>
      <dc:creator>Sorrel G. Jakins</dc:creator>
      <dc:date>2003-04-20T12:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955042#M4363</link>
      <description>JP,&lt;BR /&gt;  Editing /etc/services was a good idea. Unfortunately, it didn't have the desired affect. :(&lt;BR /&gt;&lt;BR /&gt;I was capturing packets on both LANs and even with 111/tcp commented out of /etc/services, when I issue the mount command on the Linux NFS client, it attempts to contact the Linux NFS server on port 111 with tcp packets. These don't get through the PIX.&lt;BR /&gt;&lt;BR /&gt;I wonder if it is Linux's TCP stack or the mount command which causes this tcp-only behavior I had hoped that at least linux would try UDP after failing to establish a TCP connection to portmapper, but it doesn't even try (according to packet traces on my net.) It really seems like linux is alone here, other UNIX's use UDP rather than TCP to contact portmap on the NFS server.&lt;BR /&gt;&lt;BR /&gt;Do you have any other ideas for forcing the Linux NFS client to contact the NFS server's portmapper using udp packets?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 21 Apr 2003 14:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955042#M4363</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-04-21T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955043#M4364</link>
      <description>Bill,&lt;BR /&gt;  I can allow 111/tcp through the PIX. The problem is, the PIX is dynamic and stateful, and the PIX is only aware/able to properly support NFS over UDP. &lt;BR /&gt;&lt;BR /&gt;  So, while my HP-UX NFS client can set up a successful NFS connection to my NFS server with a single rule in the firewall:&lt;BR /&gt;&lt;BR /&gt;access-list 101 permit udp host &lt;NFS_CLIENT&gt; host &lt;NFS_SERVER&gt; eq sunrpc&lt;BR /&gt;&lt;BR /&gt;  My Linux NFS cannot currently set up the NFS mount with any less than FOUR firewall rules:&lt;BR /&gt;&lt;BR /&gt;access-list 101 permit udp host &lt;NFS_CLIENT&gt; host &lt;NFS_SERVER&gt; eq sunrpc&lt;BR /&gt;access-list 101 permit tcp host &lt;NFS_CLIENT&gt; host &lt;NFS_SERVER&gt; eq sunrpc&lt;BR /&gt;access-list 101 permit udp host &lt;NFS_CLIENT&gt; host &lt;NFS_SERVER&gt; eq 2049&lt;BR /&gt;access-list 101 permit udp host &lt;NFS_CLIENT&gt; host &lt;NFS_SERVER&gt; eq 32771&lt;BR /&gt;&lt;BR /&gt;If 4 rules were enough to do it right, I might be willing to accept 3 more rules for the Linux client compared to the HP-UX client. HOWEVER, the Linux rules only work no if rpc.mountd on the NFS server always runs on port 32771 and nfsd always runs on the server on port 2049. So technically, I also need to add -p parameters to mountd and possibly nfsd in the NFS server's startup scripts AND I need to add additional parameters to the fstab file on the Linus NFS client system:&lt;BR /&gt;&lt;BR /&gt;port=2049,mountport=32771&lt;BR /&gt;&lt;BR /&gt;All of this adds a lot of complexity to the configuration and is totally unnecessary IF I could find a way to force the Linux NFS client to use UDP when contacting the portmapper on the NFS server.&lt;BR /&gt;&lt;BR /&gt;The problem boils down to the PIX's UDP-only support for NFS and LINUX's TCP-only connection method for the initial connection to the NFS server's portmapper.&lt;/NFS_SERVER&gt;&lt;/NFS_CLIENT&gt;&lt;/NFS_SERVER&gt;&lt;/NFS_CLIENT&gt;&lt;/NFS_SERVER&gt;&lt;/NFS_CLIENT&gt;&lt;/NFS_SERVER&gt;&lt;/NFS_CLIENT&gt;&lt;/NFS_SERVER&gt;&lt;/NFS_CLIENT&gt;</description>
      <pubDate>Mon, 21 Apr 2003 14:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955043#M4364</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-04-21T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Force mount to use UDP??</title>
      <link>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955044#M4365</link>
      <description>Hi,&lt;BR /&gt;I'm using HP-UX client (nfs), HP-UX server (nfs) and a pix firewall between them (6.2(2)).&lt;BR /&gt;And I'm using tcp (I forced it on the client side) .&lt;BR /&gt;Yes it's not a linux client, but it works !&lt;BR /&gt;But to be complete, the nfs server is in an area where the nfs client can access without restrictions.&lt;BR /&gt;I tried with udp, but I had some trouble for the coming back of the datas. With tcp it works like a charm.&lt;BR /&gt;I didn't try to reduce the entrance to the nfs server area. Then I cannot tell you what ports are used to established the connections...&lt;BR /&gt;&lt;BR /&gt;This post is just there to explain that pix can handle nfs over tcp...&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Benoit&lt;BR /&gt;__________&lt;BR /&gt;"Les femmes ont plus de honte de confesser une chose d'amour que de la faire." Marguerite De Navarre</description>
      <pubDate>Wed, 23 Apr 2003 11:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/force-mount-to-use-udp/m-p/2955044#M4365</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2003-04-23T11:49:00Z</dc:date>
    </item>
  </channel>
</rss>

