LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 06-21-2008, 06:35 PM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 13.37 (multilib)
Posts: 1,050

Rep: Reputation: 41
IP addresses subnetting and nfs


I would like to control what can connect to my home Pc with NFS by kimiting connections to PCs with particular static IP addresses.

Presently I have

192.168.1.0/255.255.255.0

in hosts.allow and exports

Suppose I want to limit connections

to
192.160.1.151 to 155

What would I have in this file.

Part of my problem is that I cannot get my head around subnets

TIA

Last edited by arubin; 06-22-2008 at 02:56 AM.
 
Old 06-21-2008, 10:57 PM   #2
tungvs
Member
 
Registered: May 2008
Distribution: Centos; Ubuntu; Fedora
Posts: 98

Rep: Reputation: 15
Have you tried "192.168.1.15[15]/255.255.255.0" yet ?
 
Old 06-22-2008, 08:05 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 13.37 (multilib)
Posts: 1,050

Original Poster
Rep: Reputation: 41
Thanks. That works
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 13 02-24-2008 08:16 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 1 02-09-2008 07:17 AM
mechanics of mapping process memory addresses to physical addresses on amd64 Tischbein Linux - Kernel 2 02-01-2007 08:09 PM
subnetting juanb Linux - Networking 1 06-30-2004 10:23 AM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration