The Location Table Lifetime That Passes Review and Breaks Multi-hop Forwarding

The GeoNetworking misconfiguration that keeps coming back is a pair of values that are each valid but wrong together: the location table entry lifetime and the beacon retransmit timer. Each one passes schema validation and looks sensible in a diff. Set the lifetime too close to the beacon interval, though, and the first lost beacon removes a working neighbour, so greedy forwarding loses its next hop and packets that should have crossed the intersection sit in a buffer until they expire.

Why the lab never shows it

A GeoNetworking router refreshes a neighbour's location table entry from any packet that carries that neighbour's position vector, not only from beacons. On a test track full of vehicles sending CAMs several times a second, entries are refreshed constantly and beacons are mostly suppressed, so a short lifetime does no harm. The fault shows up when traffic thins out: vehicles parked at a light lower their CAM rate, and roadside units that send no CAMs at all depend on beacons alone. At that point the beacon retransmit timer, 3000 ms by default in the ETSI network layer profiles plus a random jitter, is the only thing keeping the entry alive, and one beacon lost to channel congestion or a passing truck shadowing the antenna is enough to remove a node that is still in range.

What actually fails

Once a forwarder's neighbour set empties in the direction of the destination area, greedy forwarding finds no node closer to the target and puts the packet in the store-carry-forward buffer. The neighbour usually comes back with its next beacon, but by then the packet may have used up much of its lifetime, and DENM-type hazard warnings that only matter for a few seconds arrive late or not at all. Contention-based forwarding hides part of this, because a receiver does not need a location table entry for the sender in order to rebroadcast. That only helps where CBF is configured, and many deployments run greedy forwarding on the roadside units precisely because they are stationary and assumed reliable. The incident ticket then reads as intermittent RSU packet loss, someone restarts the unit, entries fill up again under load, and the ticket closes with no root cause.

A check you can run today

Put this in CI against every rendered node config, with the lifetime in seconds and the timers in milliseconds: awk F= '$1=="itsGnLocationTableEntryLifetime"{lt=$2} $1=="itsGnBeaconServiceRetransmitTimer"{bt=$2} $1=="itsGnBeaconServiceMaxJitter"{j=$2} END{exit!(lt*1000 >= 3*(bt+j))}' gn.conf, passing the F= field separator as the usual awk option. A nonzero exit means a node can drop a live neighbour after fewer than three consecutive missed beacons. That is the decision rule: the lifetime must cover at least three worst-case beacon intervals, jitter included, so a single loss or even two in a row never removes an entry. Run it on the final merged configuration, after vendor defaults, site overlays and per-RSU overrides have been applied, because the bad value is almost never in the file the reviewer reads.

The rule protects you against too short, but too long has a cost of its own: entries for vehicles that have left keep being chosen as greedy next hops, so the next tuning decision is how much stale-neighbour forwarding you accept in exchange for never losing a live one, and on dense urban corridors that is worth measuring from real beacon captures rather than inheriting from a profile.

Why not just enable contention-based forwarding everywhere and stop caring about the location table?

CBF trades next-hop selection for timer-based rebroadcast contention, so it adds per-hop latency and duplicate transmissions on a channel that decentralized congestion control is already throttling. It also leaves location service and area containment checks dependent on the same table, so a flapping neighbour set still causes damage, just less visibly.

Back to V2XNet · Domains

← Back to V2XNet
Engineering & Architecture Brief

The Location Table Lifetime That Passes Review and Breaks Multi-hop Forwarding

The GeoNetworking misconfiguration that keeps coming back is a pair of values that are each valid but wrong together: the location table entry lifetime and the beacon retransmit timer. Each one passes schema validation and looks sensible in a diff. Set the lifetime too close to the beacon interval, though, and the first lost beacon removes a working neighbour, so greedy forwarding loses its next hop and packets that should have crossed the intersection sit in a buffer until they expire.

Why the lab never shows it

A GeoNetworking router refreshes a neighbour's location table entry from any packet that carries that neighbour's position vector, not only from beacons. On a test track full of vehicles sending CAMs several times a second, entries are refreshed constantly and beacons are mostly suppressed, so a short lifetime does no harm. The fault shows up when traffic thins out: vehicles parked at a light lower their CAM rate, and roadside units that send no CAMs at all depend on beacons alone. At that point the beacon retransmit timer, 3000 ms by default in the ETSI network layer profiles plus a random jitter, is the only thing keeping the entry alive, and one beacon lost to channel congestion or a passing truck shadowing the antenna is enough to remove a node that is still in range.

What actually fails

Once a forwarder's neighbour set empties in the direction of the destination area, greedy forwarding finds no node closer to the target and puts the packet in the store-carry-forward buffer. The neighbour usually comes back with its next beacon, but by then the packet may have used up much of its lifetime, and DENM-type hazard warnings that only matter for a few seconds arrive late or not at all. Contention-based forwarding hides part of this, because a receiver does not need a location table entry for the sender in order to rebroadcast. That only helps where CBF is configured, and many deployments run greedy forwarding on the roadside units precisely because they are stationary and assumed reliable. The incident ticket then reads as intermittent RSU packet loss, someone restarts the unit, entries fill up again under load, and the ticket closes with no root cause.

A check you can run today

Put this in CI against every rendered node config, with the lifetime in seconds and the timers in milliseconds: awk F= '$1=="itsGnLocationTableEntryLifetime"{lt=$2} $1=="itsGnBeaconServiceRetransmitTimer"{bt=$2} $1=="itsGnBeaconServiceMaxJitter"{j=$2} END{exit!(lt*1000 >= 3*(bt+j))}' gn.conf, passing the F= field separator as the usual awk option. A nonzero exit means a node can drop a live neighbour after fewer than three consecutive missed beacons. That is the decision rule: the lifetime must cover at least three worst-case beacon intervals, jitter included, so a single loss or even two in a row never removes an entry. Run it on the final merged configuration, after vendor defaults, site overlays and per-RSU overrides have been applied, because the bad value is almost never in the file the reviewer reads.

The rule protects you against too short, but too long has a cost of its own: entries for vehicles that have left keep being chosen as greedy next hops, so the next tuning decision is how much stale-neighbour forwarding you accept in exchange for never losing a live one, and on dense urban corridors that is worth measuring from real beacon captures rather than inheriting from a profile.

Technical FAQ: Why not just enable contention-based forwarding everywhere and stop caring about the location table?

CBF trades next-hop selection for timer-based rebroadcast contention, so it adds per-hop latency and duplicate transmissions on a channel that decentralized congestion control is already throttling. It also leaves location service and area containment checks dependent on the same table, so a flapping neighbour set still causes damage, just less visibly.

Related Architecture Specifications (AUTOMOTIVEV2X): v2orchestration.com · v2sensor.com · v2uav.com

More Technical Articles on v2xnet.com

Mastering ETSI EN 302 636 GeoNetworking: Design Principles and Field Performance →Efficient Neighbor Table Management in Ultra-High Density Vehicular Topologies →Catching Silent Forwarding Timer Mismatches in Vehicular GeoNetworking Before Roadside Units Partition →