Courseiva
Networking And ComposemediumMultiple ChoiceObjective-mapped

EX188 Networking And Compose Practice Question

You want to create a Podman network with a specific subnet and gateway. Which command correctly specifies these parameters?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

podman network create --subnet 192.168.200.0/24 --gateway 192.168.200.1 customnet

'podman network create --subnet 192.168.200.0/24 --gateway 192.168.200.1 customnet' sets up custom IPAM settings.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • podman network create --subnet 192.168.200.0/24 --gateway 192.168.200.1 customnet

    Why this is correct

    --subnet and --gateway configure IPAM for the custom bridge network.

  • podman network create --ip-range 192.168.200.0/24 customnet

    Why it's wrong here

    --ip-range restricts allocation but doesn't define the subnet/gateway explicitly without subnet parameter.

  • podman network new --subnet=192.168.200.0/24 customnet

    Why it's wrong here

    'new' is not a valid subcommand.

  • podman network create customnet --network 192.168.200.0/24

    Why it's wrong here

    --network is not used when creating networks.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

This EX188 question is part of Courseiva's 301-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Red Hat exam blueprint

This EX188 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX188 exam.