4

Possible Duplicate:
Server Fault Wiki: How does Subnetting Work?

I'm setting up rsync and I see this in the config file:

hosts allow = 127.0.0.1 192.168.1.1/24

Does this indicate that all hosts on the local (192.168.1.*) can use rsync? It's been awhile since my networking class; I just want to understand...

mmattax
  • 1,284
  • 7
  • 19
  • 30
  • 3
    @warner @kyle @splattne This question is much more specific and concise then the link you provided. What if someone didn't know this was subnetting? Ridiculous that this was closed; stop with the itchy trigger fingers people. You're doing more harm than good. – mmattax May 25 '10 at 14:43

3 Answers3

7

Indeed, that means the first 24 bits of the 192.168.1.1 address are required while the remaining eight can be anything. This is called CIDR.

jlliagre
  • 8,691
  • 16
  • 36
3

Yes. The notation is CIDR - have a look here for some more discussion.

user9517
  • 114,104
  • 20
  • 206
  • 289
1

Yes it means 127.0.0.1 and 192.168.1.* are allowed.

radius
  • 9,545
  • 23
  • 45