NSE4 · Question #201
You wish to create a firewall policy that applies only to traffic intended for your web server. The server has an IP address of 192.168.2.2 and belongs to a class C subnet.When defining the firewall…
The correct answer is D. 192.168.2.2 / 255.255.255.255. This question tests the understanding of how to define a firewall address object for a single host using IP address and subnet mask.
Question
You wish to create a firewall policy that applies only to traffic intended for your web server. The server has an IP address of 192.168.2.2 and belongs to a class C subnet.When defining the firewall address for use in this policy, which one of the following addressing formats is correct?
Options
- A192.168.2.0 / 255.255.255.0
- B192.168.2.2 / 255.255.255.0
- C192.168.2.0 / 255.255.255.255
- D192.168.2.2 / 255.255.255.255
How the community answered
(18 responses)- A17% (3)
- B6% (1)
- C6% (1)
- D72% (13)
Why each option
This question tests the understanding of how to define a firewall address object for a single host using IP address and subnet mask.
This format defines an entire Class C subnet (192.168.2.0/24) and would apply the policy to all hosts within that subnet, not just the single web server.
While it specifies the correct host IP, the subnet mask 255.255.255.0 incorrectly defines an entire subnet, not a single host.
This format specifies a network address (192.168.2.0) with a host mask, which is an invalid combination for defining either a network or a specific host.
To define a specific host in a firewall policy, the address object must use the exact host IP address (192.168.2.2) combined with a host mask (255.255.255.255). This ensures the policy applies exclusively to traffic destined for or originating from that particular web server.
Concept tested: Defining host-specific firewall address objects
Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/469440/firewall-addresses
Topics
Community Discussion
No community discussion yet for this question.