PCNSE · Question #603
How is an address object of type IP range correctly defined?
The correct answer is A. 192 168 40 1-192 168 40 255. This question tests the correct syntax for defining an address object of type "IP range" in Palo Alto Networks PAN-OS.
Question
How is an address object of type IP range correctly defined?
Options
- A192 168 40 1-192 168 40 255
- B192.168 40 1/24
- C192.168 40 1, 192.168 40.255
- D192 168 40 1-255
How the community answered
(35 responses)- A91% (32)
- C3% (1)
- D6% (2)
Why each option
This question tests the correct syntax for defining an address object of type "IP range" in Palo Alto Networks PAN-OS.
An address object of type IP range is defined by specifying the starting IP address followed by a hyphen and then the ending IP address (e.g., `192.168.40.1-192.168.40.255`). Although the example uses spaces instead of dots, the `start_IP-end_IP` structure is characteristic of an IP range definition.
This format `192.168.40.1/24` with a slash and a prefix length defines an IP netmask (CIDR block), not an IP range, and contains incorrect spacing.
This format `192.168.40.1, 192.168.40.255` uses a comma to separate two individual IP addresses, which would define a list of hosts, not a contiguous IP range, and has incorrect spacing.
This format `192.168.40.1-255` incorrectly specifies only the last octet for the end of the range, making it an incomplete and improperly defined IP range.
Concept tested: Address object IP range format
Source: https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/policy/create-an-address-object.html
Topics
Community Discussion
No community discussion yet for this question.