nerdexam
Fortinet

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.

Submitted by stefanr· Apr 18, 2026Firewall Policies and Authentication

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)
  • A
    17% (3)
  • B
    6% (1)
  • C
    6% (1)
  • D
    72% (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.

A192.168.2.0 / 255.255.255.0

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.

B192.168.2.2 / 255.255.255.0

While it specifies the correct host IP, the subnet mask 255.255.255.0 incorrectly defines an entire subnet, not a single host.

C192.168.2.0 / 255.255.255.255

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.

D192.168.2.2 / 255.255.255.255Correct

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

#Firewall policies#Firewall addresses#Host objects#IP addressing

Community Discussion

No community discussion yet for this question.

Full NSE4 Practice