A communication apparatus capable of being connected to a network, the communication apparatus comprising: reception means configured to receive a packet that is transmitted via the network; setting means (311, 313) configured to determine whether the communication apparatus is set to analyze network setting data, when determining that the communication apparatus is set to analyze network setting data, analyze the packet received by the reception means, and to determine, based on the received packet, whether network setting has been completed; first determination means configured to determine whether the packet received by the reception means is a packet addressed to the communication apparatus, wherein, if a physical address specified as a destination of the packet received by the reception means corresponds to a physical address of the communication apparatus, the first determination means is configured to determine that the packet received by the reception means is addressed to the communication apparatus, and, if the physical address specified by the reception means as the destination of the packet received by the reception means means broadcast transmission, the first determination means is configured to determine that the packet received by the reception means is not addressed to the communication apparatus; and second determination means configured to determine whether the packet received by the reception means is the setting packet, wherein, if it is determined by the first determination means that the received packet is the packet addressed to the communication apparatus and the second determination means determines that the received packet is the setting packet, the setting means is configured to perform network setting for the communication apparatus according to data included in the setting packet, wherein, if the first determination means determines that the packet received by the reception means is the packet addressed to the communication apparatus and the second determination means determines that the packet received by the reception means is not the setting packet, the settings means is configured to determine that the network setting has been completed, and wherein when it is determined by the setting means that the network setting has been completed, the setting means is set to not analyze network setting data. reception means configured to receive a packet that is transmitted via the network; setting means (311, 313) configured to determine whether the communication apparatus is set to analyze network setting data, when determining that the communication apparatus is set to analyze network setting data, analyze the packet received by the reception means, and to determine, based on the received packet, whether network setting has been completed; first determination means configured to determine whether the packet received by the reception means is a packet addressed to the communication apparatus, wherein, if a physical address specified as a destination of the packet received by the reception means corresponds to a physical address of the communication apparatus, the first determination means is configured to determine that the packet received by the reception means is addressed to the communication apparatus, and, if the physical address specified by the reception means as the destination of the packet received by the reception means means broadcast transmission, the first determination means is configured to determine that the packet received by the reception means is not addressed to the communication apparatus; and second determination means configured to determine whether the packet received by the reception means is the setting packet, wherein, if it is determined by the first determination means that the received packet is the packet addressed to the communication apparatus and the second determination means determines that the received packet is the setting packet, the setting means is configured to perform network setting for the communication apparatus according to data included in the setting packet, wherein, if the first determination means determines that the packet received by the reception means is the packet addressed to the communication apparatus and the second determination means determines that the packet received by the reception means is not the setting packet, the settings means is configured to determine that the network setting has been completed, and wherein when it is determined by the setting means that the network setting has been completed, the setting means is set to not analyze network setting data.