A method for transmitting a packet via a sequence of nodes in a network is disclosed. The transmitted-packet contains a sequence of one or more identifiers in a sequence of fields 410, 420, 430, 440, 450, 460, 470, 480 and a pointer pointing to a particular identifier in the sequence of identifiers in a field 485 of a routing section of a header in the packet. A node of the sequence of nodes at which the packet is located selects a forwarding table from a set of forwarding tables maintained in a memory at that node. The node then retrieves an entry from the selected forwarding table indexed by the identifier in the sequence of identifiers pointed to by the pointer. The node then transmits the packet to the next node of the sequence of nodes indicated by the retrieved forwarding table entry.