Patent ID: 8422466

Claim:
A method comprising: establishing a connection of a first type to a network; receiving a request for a connection of the first type; registering a virtual connection as a response to receiving said request; receiving a request for establishing a connection of a second type through the virtual connection; associating the virtual connection with the connection of the first type; and establishing the connection of the second type through the connection of the first type; the method further comprising: establishing a second connection of the first type to a second network; establishing a second connection of the second type to the second network through the second connection of the first type established to the second network; investigating properties of the second network through at least one of the second connection of the first type and the second connection of the second type and determining at least one feature of the second network on the basis of information acquired by means of the second connection of the first type or the second connection of the second type to the second network; determining on the basis of the at least one feature of the second network, whether the second network meets criteria of the connection of the first type or the connection of the second type; and migrating, in case of the second network meeting said criteria, the connection of the first type to the second network and directing the connection of the second type through the connection of the first type, wherein said at least one feature of the second network comprises a L3 quality of service (QoS), availability of security features, communication costs or access to other networks through the second network; and further comprising, establishing the connection of the first type according to predetermined criteria, the predetermined criteria being determined by a default profile, a user profile, an operator-defined profile, or a combination of said profiles, and modifying any of the profiles according to configuration commands received from a network operator via a network.