Method for routing telegrams in an automation network , the automation network comprising network subscribers connected to one another via a data line network , wherein at least one network subscriber is in the form of a master subscriber and sends telegrams to the network subscribers via the data line network , wherein at least one network subscriber is in the form of a network distributor having multiple input/output ports (PX), the input/output ports (PX), to each of which are connected segments containing further network subscribers , being marked as terminal ports, segments containing further network subscribers being connected to the terminal ports of the network distributor via the data line network , characterized in that the master subscriber allocates a port address (IDY) to each of the terminal ports, wherein the master subscriber allocates, as an identifier, the port address (IDY) of the terminal port to which the segment containing further network subscribers is connected to a telegram that is intended for a segment containing further network subscribers for processing, and wherein, if the network distributor receives a telegram containing a port address (IDY) of a terminal port of the network distributor as an identifier, the network distributor outputs the telegram directly via the input/output port (PX) of the network distributor that corresponds to the terminal port of the port address (IDY), wherein the port addresses (IDY) of the terminal ports of the network distributor are in the form of a continuous series, wherein the network distributor is able to take operators from a set of the continuous series as a basis for selecting a subset of the continuous series for routing the telegrams containing port addresses as identifiers, and wherein the operators are in the form of comparison operators and/or in the form of logic operators. wherein at least one network subscriber is in the form of a master subscriber and sends telegrams to the network subscribers via the data line network , wherein at least one network subscriber is in the form of a network distributor having multiple input/output ports (PX), the input/output ports (PX), to each of which are connected segments containing further network subscribers , being marked as terminal ports, segments containing further network subscribers being connected to the terminal ports of the network distributor via the data line network , characterized in that the master subscriber allocates a port address (IDY) to each of the terminal ports, wherein the master subscriber allocates, as an identifier, the port address (IDY) of the terminal port to which the segment containing further network subscribers is connected to a telegram that is intended for a segment containing further network subscribers for processing, and wherein, if the network distributor receives a telegram containing a port address (IDY) of a terminal port of the network distributor as an identifier, the network distributor outputs the telegram directly via the input/output port (PX) of the network distributor that corresponds to the terminal port of the port address (IDY), wherein the port addresses (IDY) of the terminal ports of the network distributor are in the form of a continuous series, wherein the network distributor is able to take operators from a set of the continuous series as a basis for selecting a subset of the continuous series for routing the telegrams containing port addresses as identifiers, and wherein the operators are in the form of comparison operators and/or in the form of logic operators. <EOS>