The continuous network of membranes encompassing the nuclear outer membrane and the endoplasmic reticulum membrane.