A simple router implementation running on top of Mininet. The router can routes normal packets/frames like Ethernet Frames, IP Packets, TCP/UDP segments, etc. Some networking protocols are also implemented, such as Ethernet, ARP, IP and ICMP.

Stack

C, Mininet, VirtualBox

Associated with

CSE 123 - Computer Networks

Highlights

  • Developed a high-performance router using C language.
  • Implemented a subset of Ethernet, IP, ARP, and ICMP protocols to handle relevant packets.
  • Developed an ARP cache to improve routing efficiency.
  • Implemented packet forwarding using Longest Prefix Match.
  • Tested the router with a variety of network topologies and conducted functional testing using commands such as ping, traceroute, and wget.

Demo

(Note: VPN is needed for the video if you are accessing from China)

© 2023 Yong Liang | Powered by