Skip to content

Smart Cities: Parking and Governance

Trigger one simulated bay signal, verify its local indicator and gateway view, then observe how a disconnected operator path makes that view stale or unavailable.

Packet Pete, your practice guide

Packet Pete
Predict the reading, then compare it with the measurement.

Cisco Packet Tracer

Desktop lab

Trigger one simulated bay signal, verify its local indicator and gateway view, then observe how a disconnected operator path makes that view stale or unavailable.

Tier 3 · Install required · Cisco account required

Version tested: Cisco Packet Tracer 9.0.1 on Ubuntu 22.04 (Apptainer/Xvfb); byte-identical learner project reopened and tested 2026-10-10. Date: 2026-10-10.

Install the tool; build from the steps. No file yet.

Download the Packet Tracer file

Need the app? Get Packet Tracer free from Cisco Networking Academy (free NetAcad login required).

Steps

Screens captured against Cisco Packet Tracer Cisco Packet Tracer 9.0.1 on Ubuntu 22.04 (Apptainer/Xvfb); byte-identical learner project reopened and tested 2026-10-10 on 2026-10-10; the tool may have moved on — the text steps are the contract.

  1. 1 Step 1

    Do
    Open lab.pkt in Packet Tracer and choose the Physical tab. Locate Home City, then the Corporate Office location. Find Bay-01-Car, Bay-01-Trip and Bay-Indicator together. Use Logical to inspect their network connections afterward.
    You will see
    The Physical view shows the car beside the Trip Sensor. Bay-Indicator is to their right in the same location. Home Gateway0 and PC0 appear in the wiring closet. The location bar reads Corporate Office.
    Why it matters
    These three objects define one simulated observation bay. The car icon gives context but does not actuate the sensor. The gateway and PC identify the reporting consumer path. One bay state must not be described as a citywide count.
    Real Packet Tracer Physical view with the car, Trip Sensor and indicator together in Corporate Office.
    Step 1 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  2. 2 Step 2

    Do
    On PC0, open the Desktop tab and Web Browser. Visit http://192.168.25.1 and sign in with admin/admin. Open the gateway Devices page with the beam clear. Record the Trip Sensor and indicator baseline.
    You will see
    The gateway page lists Bay-01-Trip and Bay-Indicator. The Trip Sensor status dot is red in the clear state. The indicator's Off selection is blue. Both readings appear in the operator browser.
    Why it matters
    A baseline makes the later change interpretable. The remote page is a simulated operator view. The sensor and light should agree before fault injection. A displayed state also needs a freshness check.
    Real PC0 Packet Tracer browser listing the clear Trip Sensor and Off indicator.
    Step 2 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  3. 3 Step 3

    Do
    In the gateway browser, open the Conditions tab. Find the Bay occupied signal rule. Find the Bay clear signal rule below it. Read both the Trip Sensor test and light action.
    You will see
    Bay occupied signal tests Bay-01-Trip On is true. Its action sets Bay-Indicator Status to On. Bay clear signal tests Bay-01-Trip On is false. Its action sets Bay-Indicator Status to Off.
    Why it matters
    The light is driven by explicit gateway logic. The two rules map one binary signal to two states. This is a local simulator rule, not a city policy. The operator can audit the mapping before trusting a display.
    Real Home Gateway Conditions page showing separate occupied and clear Trip Sensor rules.
    Step 3 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  4. 4 Step 4

    Do
    Return to Logical and open Bay-01-Trip. Choose the Attributes tab to read its state. Hold Alt and move the pointer across the sensor beam. Watch the Trip Sensor dot and state field change.
    You will see
    The Trip Sensor Attributes state reads 1. A lit dot appears on the sensor after the beam event. Bay-Indicator is visibly lit in the canvas. The car remains a separate visual object.
    Why it matters
    The state field proves the simulated event source. The rule converts that source into a local indication. Alt-pointer motion is PT's supported Trip Sensor input. Moving the car graphic alone did not provide this evidence.
    Real Trip Sensor Attributes window with state 1 and the lit local bay indicator.
    Step 4 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  5. 5 Step 5

    Do
    On PC0, return to the gateway Devices list. Refresh it after the beam event if necessary. Compare Bay-01-Trip with Bay-Indicator. Record the operator's occupied state before any fault.
    You will see
    Bay-01-Trip has a green status indicator. Bay-Indicator's rightmost On selection is blue. The local indicator graphic is lit on the canvas. The browser and local signal agree at this moment.
    Why it matters
    The operator sees the mapped event through the gateway. Agreement shows the reporting path works while connected. The browser is a consumer, not the source of the event. Its cached contents can later outlive the connection.
    Real gateway Devices page with the Trip Sensor green and indicator On.
    Step 5 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  6. 6 Step 6

    Do
    Open the PC0 Config tab and select FastEthernet0. Turn Port Status Off to break the operator path. Confirm the PC-to-gateway cable markers turn red. Keep the sensor and indicator locally active.
    You will see
    PC0 FastEthernet0 Port Status is unchecked. The wired path to Home Gateway0 shows red markers. The Trip Sensor and indicator remain on the canvas. Only the PC reporting path has been disabled.
    Why it matters
    This is a specific, repeatable network fault. It isolates the operator from a still local rule. A failed browser connection does not prove sensor failure. The precise fault matters when interpreting stale data.
    Real PC0 FastEthernet0 panel with Port Status Off and a red gateway link.
    Step 6 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  7. 7 Step 7

    Do
    With PC0 disconnected, Alt-move across the beam again. Observe the local Bay-Indicator change. Return to the already open gateway browser tab. Compare its cached state with the physical light.
    You will see
    The local bay indicator is lit after the beam event. The disconnected browser still shows Trip Sensor red. Its cached Bay-Indicator selection remains Off. The PC-to-gateway link marker is red.
    Why it matters
    The local rule continues to react to the sensor. The disconnected operator page has an older state. Without a freshness cue, Off could mislead a user. This is observed staleness, not a live occupancy count.
    Real PT browser with cached clear state while the local light is lit and the PC link is red.
    Step 7 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  8. 8 Step 8

    Do
    Keep PC0 FastEthernet0 Off. Refresh the gateway page in its Web Browser tab. Wait for Packet Tracer's response. Record the error rather than inferring a new bay state.
    You will see
    The PT browser URL remains http://192.168.25.1. The content area says Request Timeout. The PC-to-gateway cable markers remain red. No current bay value is delivered to this browser.
    Why it matters
    A timeout is evidence of missing remote data. It is not evidence that the bay became clear. Operators should flag the view as unavailable or stale. The local controller may still hold a valid state.
    Real PT browser Request Timeout while PC0 remains disconnected from the gateway.
    Step 8 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)
  9. 9 Step 9

    Do
    Turn PC0 FastEthernet0 Port Status back On. Allow DHCP and the wired link to settle. Reload http://192.168.25.1 and sign in if asked. Verify the Devices list returns; leave the beam clear.
    You will see
    The PT browser again lists Bay-01-Trip. Bay-Indicator is also back in the Devices list. The PC-to-gateway link markers are green. The screen shows a fresh gateway page after recovery.
    Why it matters
    Restoring transport lets the operator fetch a new view. The page must be reloaded before trusting its state. Recovery does not validate a real parking service. The exercise ends with the operator path restored.
    Real PT browser showing the gateway Devices list after PC0 link recovery.
    Step 9 · Cisco Packet Tracer; numbered callout added to a real capture. Enlarge screenshot (new tab)

Chapter checks

These questions refer to the chapter’s examples. Use the return links to review their answers.

  1. Per this chapter, when is a city sensor deployment still just an 'instrumentation pilot' rather than a smart-city service?

    Return to the chapter’s knowledge check
  2. Per this chapter's integration-contract guidance, what should happen to the public and operator view when a LoRaWAN gateway goes down or an air-quality sensor drifts after calibration expires?

    Return to the chapter’s knowledge check

Caution

A car icon is only context; Trip Sensor state changes through Alt-pointer motion across its beam. This single simulated bay, local gateway rule and PC browser are not a real parking count, privacy policy or city-scale reliability test. The fault is PC0 FastEthernet0 Off, which produced a cached stale view and then Request Timeout; restore the port afterward.

Return to Smart Cities: Parking and Governance · Browse Labs