Abstract: In a method and apparatus for providing a flexible network architecture, an apparatus operable in a communication system comprises one or more logical entities adapted to provide a set of functions related to a connection through the communication system, wherein said logical entities are connected in series, and a subset of said functions are provided by each occurrence of said logical entities.