I have to define an ip range
sintax is "#{ {'127.0.0.1/32', '::1/128'} }"
If i right understand it means that can access only 127.0.0.1
If I want allow access to the range 172.25.5.0 to 172.25.5.255
somebody can tell me how to configure the rule.
Everytime I found this very difficult, where found I documentation that explain this logic?
Thank's in advance
How to define allowed range
-
- Posts: 79
- Joined: 2015/03/14 07:57:15
Re: How to define allowed range
If I understand rigth the configuration is 172.25.5.0/24 but what is the rule for ::1/128?
Re: How to define allowed range
Correct, it's the 255.255.255.0 subnet (i.e.: the first to third octets).172.25.5.0/24
To do what? For IPv4 encapsulation in IPv6? For what range? For what reason?but what is the rule for ::1/128
The /32 in IPv4 is the same as 255.255.255.255, that means this address (in your case 127.0.0.1) and no other address (not even 127.0.0.2 etc.). The /128 in IPv6 is the same thing - in the sense that IPv6 uses a 128 bit address space (and IPv4 is a 32 bit address space).
What do you want to achieve?