Sei sulla pagina 1di 6

Rules UI Level

1.AS number
a) Allowed range:- 0.0 - 65535.65535 / 0 - 4294967295
b) Reserved and Private numbers which cant be used:0 / 0.0, 65535 / 0.65535, 4294967295 / 65535.65535,
64512 - 65534 / 0.64512 - 0.65534,
4200000000 - 4294967295 / 64086.59904 - 65535.65535 (private numbers)
2.Supernet/Subnet
a) Public:
i.IPv4
-Can be any address from 0.0.0.0 to 255.255.255.255 excluding:
table 1
10.0.0.0 10.255.255.255 or 10.0.0.0/8
172.16.0.0 172.31.255.255 or 172.16.0.0/12
192.168.0.0 192.168.255.255 or 192.168.0.0/16
0.0.0.0/8
10.0.0.0/8
100.64.0.0/10
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.0.0.0/24
192.0.2.0/24
192.88.99.0/24
192.168.0.0/16
198.18.0.0/15
198.51.100.0/24
203.0.113.0/24
224.0.0.0/4
240.0.0.0/4
255.255.255.255
-Allowed range for CIDR mask: 1 30
-IP address should not have any non zero bits set to right of mask.
Example: 172.20.20.0/20 is Invalid
10101100 00010100 00010100 00000000
20th bit

Non zero bit right of netmask(/20)

While 172.20.20.0/22 is Valid


-Gateway and broadcast address must lie in the range of the subnet and should have a cidr
32 and both should be different.
ii.IPv6
-Can be any address from 0000:0000:0000:0000:0000:0000:0000:0000 to
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff excluding
table 2

0000::/8
Reserved by IETF
0100::/8
Reserved by IETF
0200::/7
Reserved by IETF
0400::/6
Reserved by IETF
0800::/5
Reserved by IETF
1000::/4
Reserved by IETF
2000::/3
Global Unicast
4000::/3
Reserved by IETF
6000::/3
Reserved by IETF
8000::/3
Reserved by IETF
a000::/3
Reserved by IETF
c000::/3
Reserved by IETF
e000::/4
Reserved by IETF
f000::/5
Reserved by IETF
f800::/6
Reserved by IETF
fc00::/7
Unique Local Unicast
fe00::/9
Reserved by IETF
fe80::/10
Link-Scoped Unicast
fec0::/10
Reserved by IETF
ff00::/8
Multicast
-Allowed range for CIDR mask: 1 127
-IP address should not have any non zero bits set to right of mask.
-IPv4-mapped IPv6 address This will have the format like below:
::ffff:(standard Ipv4 address in dot-decimal notation)
or
0000:0000:0000:0000:0000:ffff:(standard IPv4 address in dot-decimal
notation)
Example:- ::ffff:192.0.2.128 or 0000:0000:0000:0000:0000:ffff:192.0.2.128
-Removing leading zeroes from any groups of hexadecimal digits and replacing
consicutive sections of zeroes with (::) is also allowed.
Example:Initial address: 2001:0db8:0000:0000:0000:ff00:0042:8329
After removing all leading zeroes: 2001:db8:0:0:0:ff00:42:8329
After omitting consecutive sections of zeroes: 2001:db8::ff00:42:8329
b) Private
i.IPv4
-Must be within the following range:
table 3
10.0.0.0 10.255.255.255
172.16.0.0 172.315.255.255
192.168.0.0 192.168.255.25
-Allowed range for CIDR mask: 1 30
-IP address should not have any non zero bits set to right of mask.
-Gateway and broadcast address must lie in the range of the subnet and should have a cidr 32
ii.IPv6
-Must be within the following range:

table 4
fc00::/7
fe80::/10
-Allowed range for CIDR mask: 1 127 (for supernet only, see - 3 a) i for subnet)
-IP address should not have any non zero bits set to right of mask.
-Removing leading zeroes from any groups of hexadecimal digits and replacing
consicutive sections of zeroes with (::) is also allowed.
Example:Initial address: 2001:0db8:0000:0000:0000:ff00:0042:8329
After removing all leading zeroes: 2001:db8:0:0:0:ff00:42:8329
After omitting consecutive sections of zeroes: 2001:db8::ff00:42:8329
3.Subnet
a) Private/Public
i.IPv6
-Minimum CIDR mask = 1 maximum = 126 (by convention Minimum CIDR mask = 64 )
4.Host
a) Public
i.IPv4
- Can be any address from 0.0.0.0 to 255.255.255.255 excluding addresses listed in table1
- CIDR mask must be 32 (or without a CIDR mask - also considered as 32)
ii.IPv6
Can be any address from 0000:0000:0000:0000:0000:0000:0000:0000 to
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff excluding address listed in table 2
IPv4-mapped IPv6 address allowed
CIDR mask must be 128 (or without a CIDR mask - also considered as 128)
b) Private
i.IPv4
Must be within the following range of address listed in table 3
CIDR mask must be 32 (or without a CIDR mask - also considered as 32)
ii.IPv6
- Must be within the following range of address listed in table 4
- CIDR mask must be 128 (or without a CIDR mask - also considered as 128)
- Removing leading zeroes from any groups of hexadecimal digits and replacing
consicutive sections of zeroes with (::) is also allowed.
Example:Initial address: 2001:0db8:0000:0000:0000:ff00:0042:8329
After removing all leading zeroes: 2001:db8:0:0:0:ff00:42:8329
After omitting consecutive sections of zeroes: 2001:db8::ff00:42:8329

DB Level
1. AS
a) autonomous system number (asn)
Must be unique in both form. For example 4200000000 and 64086.59904 are same and
should not co-exist in DB.
2. Area
a) common_name
Must be unique
3. IPv4 Public Supernet
a) netblock address
Must be unique.
Should not overlap. Example: if 122.20.0.0/16 is already available one should not be able to
create 122.0.0.0/8 and vice versa
4. IPv6 Public Supernet
a) netblock address
Must be unique.
Should not overlap.
5. IPv4 Public Subnet
a) netblock address
Must be unique.
Must be equal to the parent supernet/subnet address or contained within the range of parent
supernet or subnet
Must not overlap with any subnet or host of the parent supernet or subnet.
The no of addresses available in the IP range must be minimum 4.
b) broadcast address
Must be within the range of addresses of the Subnet netblock address (generally the last
address in the range).
c) gateway address
Must be within the range of addresses of the Subnet netblock address.
6. IPv6 Public Subnet
a) netblock address
Must be unique.
Must be equal to the parent supernet/subnet address or contained within the range of parent
supernet or subnet
Must not overlap with any subnet or host of the parent supernet or subnet.
The no of addresses available in the IP range must be minimum 4.
b) gateway address
Must be within the range of addresses of the Subnet netblock address.

7. IPv4 Public Host


a) netblock address
Must be within the range of addresses of the parent Subnet netblock address.
Must be unique.
Must not be the same as the gateway/broadcast address of the parent subnet.
8. IPv6 Public Host
a) netblock address
Must be within the range of addresses of the parent Subnet netblock address.
Must be unique.
Must not be the same as the gateway address of parent subnet.
9. IPv4 Private Supernet
a) netblock address
10. IPv6 Private Supernet
a) netblock address
11. IPv4 Private Subnet
a) netblock address
Must be unique within the parent supernet.
Must be equal to the parent supernet/subnet address or contained within the range of parent
supernet or subnet
Must not overlap with any subnet or host of the parent supernet or subnet.
The no of addresses available in the IP range must be minimum 4.
b) broadcast address
Must be within the range of addresses of the Subnet netblock address (generally the last
address in the range).
c) gateway address
Must be within the range of addresses of the Subnet netblock address.
12. IPv6 Private Subnet
a) netblock address
Must be within the parent supernet.
Must be equal to the parent supernet/subnet address or contained within the range of parent
supernet or subnet
Must not overlap with any subnet or host of the parent supernet or subnet.
The no of addresses available in the IP range must be minimum 4.
b) gateway address
Must be within the range of addresses of the Subnet netblock address.
13. IPv4 Private Host
a) netblock address
Must be within the range of addresses of the parent Subnet netblock address.
Must be unique within parent subnet.
Must not be the same as the gateway/broadcast address of the parent subnet.

14. IPv6 Private Host


a) netblock address
Must be within the range of addresses of the parent Subnet netblock address.
Must be unique within parent subnet.
Must not be the same as the parent subnet gateway address.

Potrebbero piacerti anche