To simulate a 3 layer protocol stack