{
  "id": 21144853,
  "title": "Testing DHCP on tagged VLANs from a Raspberry Pi",
  "url": "https://urgent.news/2026/11/22/testing-dhcp-on-tagged-vlans-from-a-raspberry-pi",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-22T00:35:51.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jackedin_app/testing-dhcp-on-tagged-vlans-from-a-raspberry-pi-3n8e"
  },
  "original_language": "en",
  "account": "When connecting a network device to a trunk port, it may still assign a DHCP lease to the wrong VLAN, even if the port appears correct. To test this, a Raspberry Pi can serve as an easy and reliable client. The PathProbe tool, built by the author, is used for this purpose. Two main tests are performed: the first checks if an untagged client receives a lease from the expected VLAN, and the second verifies if a client sending a VLAN tag gets a lease from that specific VLAN. If the first test succeeds but the second fails, there might be an issue with the port, trunk, or DHCP helper. To set up the test, install the PathProbe package on the Raspberry Pi, connect it to the switch port being tested, and run the appropriate PathProbe command. The first test uses an untagged interface, while the second uses a single-tagged interface with a specific VLAN ID. If the tests yield different results, the issue lies with the port, trunk, or DHCP configuration. Remember to test only networks you have permission to test and not publish any sensitive information from the captures.",
  "summary": "A trunk port can look fine and still hand the wrong VLAN a DHCP lease. The usual check is to re-cable a laptop and add a temporary VLAN interface. A Raspberry Pi on the bench is a better test client: small, wired, and easy to leave on the switch port while you watch the offer. This post uses PathProbe, a command-line DHCP and VLAN tester we build, on Raspberry Pi OS 64-bit. The Free tier covers…",
  "key_points": [
    "Raspberry Pi used as reliable DHCP test client",
    "PathProbe tool checks untagged and tagged VLAN assignments",
    "Failure in second test indicates port, trunk, or DHCP issue"
  ],
  "editors_take": "Using a Raspberry Pi with PathProbe simplifies the identification of misconfigured trunk ports and DHCP helpers by isolating whether lease errors stem from untagged or tagged traffic.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}