Skip to content

clarabarsan/router

Repository files navigation

router

Repository for the first homework of the Communication Networks class. In this homework the students will implement the dataplane of a router.

Ca idee de implementare si algoritm m-am folosit de indicatiile din enuntul temei (https://pcom.pages.upb.ro/tema1 - acei pasi cu numere de la IPv4 si ARP) si unde au fost probleme m-am uitat la video-urile sugerate in enuntul temei, cat si in laborator.

Ideiile le-am concretizat folosindu-ma de:

Cerinte rezolvate: (checkerul da punctaj maxim)

  • procesul de dirijare (pachetele sunt trimise peste tot) - trece toate testele
  • longest prefix match eficient (cu trie) - trece toate testele
  • protocolul ARP (tabela arp e memorata dinamic, iar pachetele pentru care se asteapta ARP - reply sunt trecute in coada si cand primim raspunsul vor fi procesate) - trece toate testele
  • protocolul ICMP - trece toate testele

Pentru testare trebuie urmati urmatorii pasi:

  • checker.sh si checker.py trebuie facute executabile (sunt ambele fisiere in folderul checker)
  • trebuie sters fisierul arp_table.txt (pentru ca altfel nu se va lucra cu tabele de rutare dinamice)
  • pentru activarea checkerului se va rula din radacina repository-ului comanda sudo ./checker/checker.sh

About

Repository for the first homework of the Communication Networks class. In this homework the students will implement the dataplane of a router.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors