generate route table