I think you don't really understand what you are asking. A fiber is a layer-1 link and it will transmit network traffic. It doesn't matter the what the source or destination addresses are on the layer-3 packets; the fiber neither knows or cares what network traffic it carries.
What matters is that you use routers. Routers route traffic between networks. You terminate the fiber with a router on each end, and use a routing protocol between the routers to share routes between the routers.