Why it exists
Flashing gigabytes of software over CAN at 500 kbit/s takes too long. DoIP carries the same UDS messages over Ethernet.
What it is
- Vehicle discovery: the tester finds the vehicle on the network.
- Routing activation: the tester asks the DoIP edge node to route diagnostics into the vehicle.
- Transport: UDS messages wrapped in TCP/UDP.
Discovery and routing activation establish access before diagnostic messages are exchanged.
Simplified successful exchange: after UDP discovery, the tester establishes TCP before routing activation; the edge node may forward diagnostics to another ECU.
Best practices
- Enable the Ethernet diagnostic connection only when needed (activation line).
- Authenticate before routing requests to internal ECUs.
Common pitfalls
- Leaving DoIP reachable from infotainment or connectivity networks.