Skip to content
LeON-Nie-codePublic

About

计网大作业Lab2:Router

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Computer Networks: Project 2 (Build Your Own Router)

In this project, you will be writing a simple router with a static routing table. Your router will receive raw Ethernet frames and process them just like a real router: forward them to the correct outgoing interface, create new frames, etc. The starter code will provide the framework to receive Ethernet frames; your job is to create the forwarding logic.

You are allowed to use some high-level abstractions, including C++11 extensions, for parts that are not directly related to networking, such as string parsing, multi-threading, etc.

For more detailed information about the project and starter code, please refer to the project spec.

Acknowledgement

The implementation is based on thr oriingal code for UCLA CS118 Project3 by professor Alexander Afanasyev.

command

  1. in the first terminal, start pox /opt/pox/pox.py --verbose ucla_cs118
  2. in the second terminal, start Mininet chmod +x run.py sudo ./run.py To exit Mininet, type exit command in this terminal.
  3. in the third terminal, start your router make ./router

chmod +x autograde.py sudo ./autograde.py

sudo mn -c

About

计网大作业Lab2:Router

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors