Method for providing network connectivity to at least one client device, the at least one client device being connected to a telecommunications network via an access gateway device and an internet protocol edge function, wherein in order to provide the network connectivity to the at least one client device, a network connectivity link is provided, the network connectivity link comprising: -- a local area network-segment between the at least one client device and the access gateway device, and -- a wide area network-segment between the access gateway device and the internet protocol edge function, wherein the access gateway device comprises a default gateway functionality related to a local area network, the local area network-segment being part of the local area network, wherein the internet protocol edge function comprises at least one local area network extension instance, wherein a further local area network-segment is provided between the local area network extension instance and the access gateway device, the further local area network-segment being likewise part of the local area network, wherein the method comprises the step of -- connecting the at least one client device to the access gateway device - thereby creating the local area network of the access gateway device -, and -- connecting the access gateway device to the internet protocol edge function; the method further comprises the steps of -- data transmission traffic within the local area network to be switched locally by the access gateway device, and -- data transmission traffic between the local area network and the telecommunications network to be routed via the access gateway device and the internet protocol edge function, wherein a wide area network tunnel is used on the wide area network-segment, wherein data transmission traffic to and from the local area network extension instance is routed via the access gateway device, wherein the access gateway device comprises a dynamic host configuration protocol server functionality related to the local area network, wherein the local area network extension instance or virtual devices inside it is/are a member of the local area network of the access gateway device, connected to the access gateway device by means of a tunneled local area network bridge on the further local area network-segment, wherein an address mapping between, on the one hand, internet protocol addresses of devices (51, 52) within the local area network, and, on the other hand, medium access control address of devices (51, 52) within the local area network is performed by a dynamic host configuration protocol server functionality comprised in the access gateway device, wherein ethernet data packet frames are carried by the local area network bridge on the further local area network-segment, wherein the local area network extension instance is directly connected to a local switch inside of the access gateway device, and wherein any logical network interface of the local area network extension instance receives an internet protocol address upon a dynamic host configuration protocol request from the access gateway device, wherein such internet protocol addresses are either internet protocol version 4-internet protocol addresses or internet protocol version 6-internet protocol addresses, using stateless address autoconfiguration. -- a local area network-segment between the at least one client device and the access gateway device, and -- a wide area network-segment between the access gateway device and the internet protocol edge function, -- connecting the at least one client device to the access gateway device - thereby creating the local area network of the access gateway device -, and -- connecting the access gateway device to the internet protocol edge function; the method further comprises the steps of -- data transmission traffic within the local area network to be switched locally by the access gateway device, and -- data transmission traffic between the local area network and the telecommunications network to be routed via the access gateway device and the internet protocol edge function, wherein a wide area network tunnel is used on the wide area network-segment,