One of the sources of spacetime curvature in Einstein's equations for Friedman models is pressure. In a "dust" universe, the dust is assumed to provide no pressure. However, electromagnetic radiation (photons) is assumed to provide a pressure that actually counteracts universe expansion. I'm having a hard time seeing this physically. Place an imaginary flat surface at any orientation in the universe and there will be as many photons crossing right to left as left to right. Yet the equation of state of radiation is derived from a photon gas in an imaginary container due to photons on the inside crossing the container walls to the outside (or at least that is how i derived the equation of state that appears in the literature). But there are as many photons entering the container and the momentum they carry would cancel the momentum crossing the container from the inside. Can anyone shed some light on this?