Simulation Programs for Bridge Processing and Routing
3 Pages584 Words321 Views
Added on 2019-09-18
About This Document
In this assignment, you will write two programs for simulation - one for bridge processing and one for routing. The program should read a text file that contains the forwarding database (FDB) and routing table respectively. Produce output showing how each packet will be handled by the router. Your program should be written in a general manner, in the sense, it should work for any routing table and any packet. Submit the source code and sample runs of the program.
BookmarkShareRelated Documents
NETWORKSASSIGNMENTInthisassignment,youwillwritetwoprogramsforsimulation-oneforbridgeprocessingandonefor routing.YoumayuseJava,C,C++orPythonasthelanguageforbuildingyourprograms.1.Write asimple program tosimulate the bridge processing flowchart discussed inthelectures.The programshouldreadatextfilethatcontainstheforwardingdatabase(FDB).Thefirstlineinthetext file contains the number of ports on the bridge. The program should then read another textfile containingrandomlygenerateframes–justthesourceanddestination numbersandportnumbersof arrival.Foreachframe,theprogramshouldusetheflowchart tomakeanupdateoftheforwarding databaseand/ortoforward/discardtheframe.IgnoretheCRCerrordetectionpart(thatis,assumethat theframesareerrorfree).Includethesourcecodeandsamplerunsoftheprogram.
Found this document preview useful?
Related Documents
COIT20261 Network Routing and Switching Term 1, 2019lg...
|5
|1350
|2
Assignment based on the Network Managementlg...
|8
|1595
|44
COIT20261 Network Routing and Switching Assignment 2022lg...
|5
|913
|6
Network Routing and Switching Assessment 2022lg...