Examples
Summarize two reserved subnets 1
Summarize two reserved subnets 1. This is a constructed public fixture.
Input
192.0.2.1
192.0.2.10
198.51.100.1Expected checks
Case-insensitiveContains "192.0.2.0/24"
Contains "198.51.100.0/24"- Delimiter
Line feed- Subnet (CIDR)
24- Only show the subnets
On
Summarize two reserved subnets 2
Summarize two reserved subnets 2. This is a constructed public fixture.
Input
192.0.2.2
192.0.2.11
198.51.100.2Expected checks
Case-insensitiveContains "192.0.2.0/24"
Contains "198.51.100.0/24"- Delimiter
Line feed- Subnet (CIDR)
24- Only show the subnets
On
Summarize two reserved subnets 3
Summarize two reserved subnets 3. This is a constructed public fixture.
Input
192.0.2.3
192.0.2.12
198.51.100.3Expected checks
Case-insensitiveContains "192.0.2.0/24"
Contains "198.51.100.0/24"- Delimiter
Line feed- Subnet (CIDR)
24- Only show the subnets
On
Summarize two reserved subnets 4
Summarize two reserved subnets 4. This is a constructed public fixture.
Input
192.0.2.4
192.0.2.13
198.51.100.4Expected checks
Case-insensitiveContains "192.0.2.0/24"
Contains "198.51.100.0/24"- Delimiter
Line feed- Subnet (CIDR)
24- Only show the subnets
On
Summarize two reserved subnets 5
Summarize two reserved subnets 5. This is a constructed public fixture.
Input
192.0.2.5
192.0.2.14
198.51.100.5Expected checks
Case-insensitiveContains "192.0.2.0/24"
Contains "198.51.100.0/24"- Delimiter
Line feed- Subnet (CIDR)
24- Only show the subnets
On
Format reference: Group IP addresses background and specification