LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2003, 06:43 AM   #1
HugOnline
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Rep: Reputation: 0
Question NFS Problems in 2 Subnetworks


Hello,

Computer X is connected to subnetA and subnetB via 2 eth-interfaces. Computer Y is connected to subnetB and serves NFS. These NFS can be mounted by other computers in subnetB but not by computer X, which can only connect to NFS in subnetA and this is the problem. Exports is right (open for all), portmapper is working (rpc.info -p is ok),ping is working, in /var/log/messages of Computer Y mount is allowed, but computer X always gets signal : mount: RCP: time out


Where is the mistake ?

Regards

HugOnline
 
Old 04-08-2003, 09:15 AM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
The problem must be with computer X. Most likely it's a network configuration issue because if it only had one interface, it'd be working like all your other NFS clients. Take a look at the 'route' output on X, and see if the machine is aware of a path to get to machine Y. Can you use any other services on machine Y, from machine X? Can you ping Y from X?
 
Old 04-09-2003, 01:41 AM   #3
HugOnline
LQ Newbie
 
Registered: Apr 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your response !!!
(Ping works and route is ok as well)

I found the mistake, but not really: I stopped the iptables and then it worked - but if it was an security problem before, why could I reach the other computers in SubnetA with NFS ? I didn't find the switch to force iptables just to eth1 and not eth0 .

Regards HugOnline
 
Old 04-09-2003, 11:15 AM   #4
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Well, for example, to block incomming http requests to eth1, but not eth0, you'd use:

iptables -t filter -I INPUT -p TCP -i eth1 --dport 80 -j DROP

To view this interface specification, you'll need to use:

iptables -t filter -L INPUT -v
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Problems cdeverapalli Linux - Networking 4 10-23-2004 11:52 PM
Smaba and subnetworks linuxpyro Linux - Networking 15 05-20-2004 10:35 PM
NFS problems graham Slackware 2 02-12-2004 05:59 PM
NFS problems darthczyz Linux - Networking 3 12-19-2003 04:02 PM
NFS on RH 8 Problems Gargomel7 Linux - Networking 0 09-13-2003 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration