Skyhawk 172/Cutlass 172
Flight Crew Flight Instructor; Flight Crew Commercial
Flight Crew Last 90 Days 80; Flight Crew Total 860; Flight Crew Type 800
Situational Awareness
Airspace Violation All Types; Conflict NMAC; Deviation / Discrepancy - Procedural FAR; Deviation / Discrepancy - Procedural Published Material / Policy
Air Traffic Control Issued Advisory / Alert; Flight Crew Took Evasive Action
Human Factors
On departure from MTN; I was involved in an NMAC as well as a possible restricted airspace violation. I was talking to Potomac Departure on 124.55 on VFR flight following. They immediately notified [me] about an inbound aircraft that was 12 o'clock same altitude. They told me that I could start a climb - and if need be; in the class B airspace above my present position. As I started to climb; they notified me that the inbound aircraft began a climb. The inbound aircraft was a collision hazard at 12 o'clock; yet slightly trending left to right. I felt that a descent underneath them would be unsafe; as this aircraft seemed to be leveling off and possibly descending at that point.I made an immediate left turn to avoid the inbound airplane. I am extremely aware of the lateral and vertical boundaries of R-4001A. As I turned left the aircraft passed to my right; same altitude. Potomac instructed me that I was headed towards the restricted airspace- possibly in it. I was already in a right turn to head away from that area as they told me this.This aircraft is not equipped with a traffic reporting map.
C172 instructor pilot reported entering restricted airspace during a maneuver to avoid another aircraft.