A method for configuring a communication network comprising a gateway adapted for connecting said communication network to a wide area communication network, said gateway being connected to a plurality of nodes implementing an access point functionality to a wireless local communication network, said plurality of nodes comprising a current master node selected from said plurality of nodes, said current master node being configured to define the configuration of the communication network, said method comprising the following steps implemented by said current master node: - obtaining (S100) a first IP address associated with a base MAC address of said current master node, - obtaining (S102, S208, S220) a virtual MAC address and a second IP address associated with said virtual MAC address, said second IP address being reserved for a configuration of network services and being different from and decorrelated from said first IP address; and - configuring (S104, S210, S222) a virtual network interface configured to host said network services with said second IP address associated with said virtual MAC address; and characterised in that the step of obtaining a virtual MAC address and a second IP address associated with said virtual MAC address comprises: - when the current master node is a newly elected master node and when furthermore the virtual MAC address and the associated second IP address are already allocated on the communication network: ∘ obtaining said virtual MAC address and the second IP address associated with said virtual MAC address from said current master node (S202), if said virtual MAC address and associated second IP address are already available to said current master node, or ∘ receiving said virtual MAC address and the associated second IP address from another node of the communication network otherwise (S208). - obtaining (S100) a first IP address associated with a base MAC address of said current master node, - obtaining (S102, S208, S220) a virtual MAC address and a second IP address associated with said virtual MAC address, said second IP address being reserved for a configuration of network services and being different from and decorrelated from said first IP address; and - configuring (S104, S210, S222) a virtual network interface configured to host said network services with said second IP address associated with said virtual MAC address; - when the current master node is a newly elected master node and when furthermore the virtual MAC address and the associated second IP address are already allocated on the communication network: ∘ obtaining said virtual MAC address and the second IP address associated with said virtual MAC address from said current master node (S202), if said virtual MAC address and associated second IP address are already available to said current master node, or ∘ receiving said virtual MAC address and the associated second IP address from another node of the communication network otherwise (S208). ∘ obtaining said virtual MAC address and the second IP address associated with said virtual MAC address from said current master node (S202), if said virtual MAC address and associated second IP address are already available to said current master node, or ∘ receiving said virtual MAC address and the associated second IP address from another node of the communication network otherwise (S208). <EOS>