INTERNAL VEHICLE NETWORK
Unsolicited
Edge Node
Tester tool
UDP Boardcast (dest port 13400) Vehicle Identification Announcement (3x)
Vehicle Identification Reponse
ECU
Vehicle Network
link up
link up
link up
UDP Boardcast (dest port 13400) Vehicle Identification Request
ECU
link up
UDP Boardcast (dest port 13400) Vehicle Identification Announcement (3x)
gratuitous ARP
gratuitous ARP
assign own IP address
assign own IP address
edge node update vehicle DoIP entity list
external network setup *IP assignment
UDP Boardcast (dest port 13400) Vehicle Identification Announcement (3x)
Depend on whether external test equipment receive the initial Vehicle Identification Announcement then it will send out the request
internal vehicle network interface setup
A_DoIP_Announce_Wait
A_DoIP_Announce_Wait A_DoIP_Announce_Num A_DoIP_Announce_Interval
VIN/GID synchronization (optional) * in actual project, ECU DoIP entities usually preconfigured with VIN/GID/EID
create TCP socket connections and proceed with Routing Activation
EXTERNAL NETWORK
External Tester 192.168.1.100
DoIP Router/Gateway (Edge Node, VIN: VEHICLE_VIN) 192.168.1.1 (External) ─10.0.0.1 (Internal)
Internal DoIP Nodes: DoIP Gateway ( 10.0.0.1) Engine ECU (10.0.0.10) Transmission ECU (10.0.0.11) Brake System (10.0.0.12)
- Usually only DoIP edge node responds to External test equipment and internal nodes shall not be visible externally (i.e. edge node as a firewall to prevents direct access from external tool to internal vehicle network) - External test equipment(OEM) should have the vehicle ODX database so it knows the vehicle internal DoIP entities logical address. - DoIP edge node could act as internal on-board diagnostic tester (e.g. request identification from other internal DoIP nodes, UDS request to collect diagnostic data during operation,...), receive external tool diagnostic request, validate before sending it to target DoIP entity in side vehicle *The setup of internal vehicle network and edge node behavior for routing diagnostic request varies depend on OEM specification
A_DoIP_Announce_Wait
Address assignment: SLAAC in case of IPv6 network