NETWORKS. ASSIGNMENT. In this assignment, you will writ

Added on - Sep 2019

Trusted by 2+ million users,
1000+ happy students everyday
Showing pages 1 to 1 of 3 pages
NETWORKSASSIGNMENTInthisassignment,youwillwritetwoprogramsforsimulation-oneforbridgeprocessingandoneforrouting.YoumayuseJava,C,C++orPythonasthelanguageforbuildingyourprograms.1.Writeasimpleprogramtosimulatethebridgeprocessingflowchartdiscussedinthelectures.Theprogramshouldreadatextfilethatcontainstheforwardingdatabase(FDB).Thefirstlineinthetextfilecontainsthenumberofportsonthebridge.Theprogramshouldthenreadanothertextfilecontainingrandomlygenerateframesjustthesourceanddestinationnumbersandportnumbersofarrival.Foreachframe,theprogramshouldusetheflowcharttomakeanupdateoftheforwardingdatabaseand/ortoforward/discardtheframe.IgnoretheCRCerrordetectionpart(thatis,assumethattheframesareerrorfree).Includethesourcecodeandsamplerunsoftheprogram.
Desklib Logo
You are reading a preview
Upload your documents to download or

Become a Desklib member to get access