A hybrid wavelength division multiple access (WDMA)/optical code division multiplexing (OCDM) system is proposed, where the optical code is not the same as the address of every optical network unit (ONU); rather, the code is a virtual fiber of hybrid passive optical network (PON). To our knowledge,