|
Not much software came out of this class, but I did code of some basic simulators for a bridge and a switch. Technically, the point of the excercise was to develope a software bridge and incorporate that code inside of the switch simulator, but it was not a hard requirement so I did not.
- bde_bridge.c - bridge code; simulates traffic internally
- bde_switch.c - switch code; simulates traffic internally, but requires external routing table such as host.conf below
- host.conf - default routing table for bde_switch.c
- run.sh
Instructions:
- Download code
- Rename run.sh.txt to run.sh
- Make run.sh executable - "chmod 755 run.sh"
- Run run.sh - "run.sh"
run.sh compiles and runs bde_bridge.c and bde_switch.c at in succession.
|
|