The general point of this question is to understand how civilian aircraft operate around controlled airspace designated for military airports, in terms of communications, in the US. I think the best way to phrase it is to give a few of specific examples--
The image below shows the airspace around Wichita KS. My question is about civilian aircraft transiting through the Class D airspace designated for McConnell Air Force Base (KIAB). The ground level in this area is around 1300' MSL, so an aircraft below about 1400' AGL would be below the overlying Class C shelf designated for Eisenhower National Airport (KICT). I know civilian airplanes on pipeline patrol missions sometimes fly as low as about 500' AGL on a flight path that takes them roughly along the course of the river that flows through the SW portion of the KIAB Class D airspace, approaching within about 1.5 miles of the nearest runway of KIAB.
Would the pilot of such an aircraft, assuming that he/she is flying VFR and has no intention of actually landing (or shooting an approach) at KIAB, typically be talking to the tower at KIAB? Or would the pilot more likely be talking only to civilian entities, such as the tower at KICT, or Wichita Approach Control?
If it matters -- which I'm not sure that it would-- assume that the flight originated at KICT, flew due east to the river, then followed the river though the KIAB Class D airspace at roughly 500' AGL/ 1400' MSL, exiting KIAB airspace in a generally southerly direction.
Similarly, what about a civilian aircraft doing pattern work at Beech Factory airport (KBEC) when the KBEC tower was open and the KBEC Class D was therefore in effect? Would the pilot of such an aircraft typically be talking to the tower at KIAB whenever the aircraft was in the KIAB Class D airspace? Or would communications more likely be handled entirely by the tower at KBEC, even when the aircraft was in the KIAB Class D airspace?
And what about a civilian aircraft doing pattern work at Beech Factory airport (KBEC) when the KBEC tower was closed and the KBEC Class D airspace therefore had reverted to surface-level Class E airspace? Again, would the pilot of such an aircraft typically be talking to the tower at KIAB whenever the aircraft was in the KIAB Class D airspace? Or would communications more likely be handled entirely by a civilian entity, such as Wichita Approach Control?

