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 (105, 110) 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 (120, 130, 140) having multiple input/output ports, the input/output ports, to each of which are connected segments (300, 305, 310, 315, 320) containing further network subscribers, being marked as terminal ports, segments (300, 305, 310, 315, 320) containing further network subscribers being connected to the terminal ports of the network distributor (120, 130, 140) via the data line network, characterized in that the master subscriber allocates a port address to each of the terminal ports, wherein the master subscriber allocates, as an identifier, the port address of the terminal port to which the segment (300, 305, 310, 315, 320) containing further network subscribers is connected to a telegram that is intended for a segment (300, 305, 310, 315, 320) containing further network subscribers for processing, and wherein, if the network distributor (120, 130, 140) receives a telegram containing a port address of a terminal port of the network distributor (120, 130, 140) as an identifier, the network distributor (120, 130, 140) outputs the telegram directly via the input/output port of the network distributor (120, 130, 140) that corresponds to the terminal port of the port address, wherein the port addresses of the terminal ports of the network distributor (120, 130, 140) are in the form of a continuous series, wherein the network distributor (120, 130, 140) 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 (105, 110) 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 (120, 130, 140) having multiple input/output ports, the input/output ports, to each of which are connected segments (300, 305, 310, 315, 320) containing further network subscribers, being marked as terminal ports, segments (300, 305, 310, 315, 320) containing further network subscribers being connected to the terminal ports of the network distributor (120, 130, 140) via the data line network, characterized in that the master subscriber allocates a port address to each of the terminal ports, wherein the master subscriber allocates, as an identifier, the port address of the terminal port to which the segment (300, 305, 310, 315, 320) containing further network subscribers is connected to a telegram that is intended for a segment (300, 305, 310, 315, 320) containing further network subscribers for processing, and wherein, if the network distributor (120, 130, 140) receives a telegram containing a port address of a terminal port of the network distributor (120, 130, 140) as an identifier, the network distributor (120, 130, 140) outputs the telegram directly via the input/output port of the network distributor (120, 130, 140) that corresponds to the terminal port of the port address, wherein the port addresses of the terminal ports of the network distributor (120, 130, 140) are in the form of a continuous series, wherein the network distributor (120, 130, 140) 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.