A routing method for use in an ATM processing apparatus having a plurality of routing tables each storing routing data for indicating an output port of an ATM switch which transmits an incoming cell and a plurality of conversion tables each storing a virtual path identifier or a virtual channel identifier which is written into said incoming cell after said incoming cell has been routed, said routing method comprising the steps of:
- modifying said incoming cell so that said incoming cell comprises selection data specifying one routing table to be selected out of said plurality of routing tables and one conversion table to be selected out of said plurality of conversion tables;
- detecting said selection data when said modified cell has arrived at an address filter;
- selecting the routing table specified by said detected selection data out of said plurality of routing tables;
- routing said modified cell by using said ATM switch on the basis of said selected routing table;
- when said routed cell has arrived at a virtual path identifier converter or a virtual channel identifier converter, detecting said selection data out of said routed cell which has arrived;
- selecting the conversion table specified by said detected selection data out of said plurality of conversion tables;
- and
- rewriting a virtual path identifier or virtual channel identifier stored in said routed cell so as to replace the virtual path identifier or the virtual channel identifier by a virtual path identifier or virtual channel identifier stored in said selected conversion table.