A321
Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Confusion; Human-Machine Interface; Situational Awareness
Aircraft Equipment Problem Critical; Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance; Deviation / Discrepancy - Procedural Published Material / Policy
Air Traffic Control Provided Assistance; Flight Crew Became Reoriented; Flight Crew Overcame Equipment Problem; Flight Crew Requested ATC Assistance / Clarification
Human Factors; ATC Equipment / Nav Facility / Buildings; Company Policy; Environment - Non Weather Related; Equipment / Tooling
We were flying just North of White Sands Missile test at 33;000 feet. We started to get multiple intermittent EICAM messages related to the GPS system.  We notified ATC and they confirmed that the military was doing GPS jamming at White Sands.  Eventually; we lost both GPS units; (GPS Primary FAIL) and developed a bad drift in our inertials (20+ miles).  We confirmed the position error with our IPAD GPS; VOR; and by RADAR position with ATC.  Our NDs showed us north of a NAVAID by 10 miles; when we were actually about 10 miles south of it.  We disabled GPS input to the inertials; and used automatic radio updates to calm the inertial units down.  Number 2 was still showing excessive drift; so we went to ATT REF on Number 2; and switched the First Officer displays to Number 3.  We called Dispatch on the Crew Phone App; and had a group discussion with him and a rep from Maintenance.  The Maintenance Rep and the book had no way to get the GPS units back on line.  Both units were showing blanks on their position ref pages.  We were down to VOR navigation; and headings from ATC.  We discussed diverting; but decided to press on after checking the weather and confirming with ATC that they could handle the additional work load of vectoring us; as we were unable to do any RNAV navigation. GPS jamming needs to be discontinued near commercial aviation.  Had we been IMC or the weather had been worse at our destination; we would have had to divert.  Our position was over 20 miles off of what was displayed on our screen. We confirmed this by the GPS in our IPADS; VOR; and RADAR position with ATC.
An air carrier pilot reported losing both GPS units and was off course due to military GPS jamming.