Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Nfs Access From Two Networks, Configuring export to be visible
syacko
post Sep 30 2003, 12:05 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 22-August 03
Member No.: 1,306



Hi,
I have a NFS file service on 192.168.0.0/255.255.255.0 and want the NFS mounts to be visible to machines on 172.168.0.0/255.255.255.0.

I have tried the following formats with no success.

/sys_data/prod 192.168.0.0/255.255.255.0 172.16.0.0/255.255.255.0(rw,sync)

/sys_data/prod 192.168.0.0/255.255.255.0,172.16.0.0/255.255.255.0(rw,sync)

/sys_data/prod 192.168.0.0/255.255.255.0172.16.0.0/255.255.255.0(rw,sync)

I can not find any documentation on the net that talks about this type of configuration.

Any help would be great :)

Thanks,
Scott
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 30 2003, 06:35 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I think the answer would be this (all in one line)

/sys_data/prod 192.168.0.0/255.255.255.0(rw,sync) 172.16.0.0/255.255.255.0(rw,sync)

You would need to have a router involved so that the 172.16.0 network can see the 192.168.0 network ... BTW, do you mean 172.16.0.xxx (a private IP) or 172.168.0.xxx (a network owned by AOL)?

After you try the above in /etc/exports, use the command (and after restarting nfs):

showmount -e

from the server to see the exports and the permissions....


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
syacko
post Oct 2 2003, 07:06 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 22-August 03
Member No.: 1,306



Thanks for the feed back. This is for two private networks behind firewalls, no AOL.

The simple solution that hit me after asking was to configure two lines. It turns out, NFS is start enough to take 172.16.0.xxx and 192.168.0.xxx configuration and match it to the requesting machines IP address.

Example:
/sys_data/prod 192.168.0.xxx/255.255.255.0(rw,sync)
/sys_data/prod 172.16.0.xxx/255.255.255.0(rw,sync)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 06:32 AM