NETWORKS. ASSIGNMENT. In this assignment, you will writ
Added on - 18 Sep 2019
3
Pages
584
Words
70
Views
0
Downloads
Trusted by +2 million users,
assist thousands of students everyday
assist thousands of students everyday
Showing pages 1 to 1 of 3 pages
NETWORKSASSIGNMENTInthisassignment,youwillwritetwoprogramsforsimulation-oneforbridgeprocessingandoneforrouting.YoumayuseJava,C,C++orPythonasthelanguageforbuildingyourprograms.1.Writeasimpleprogramtosimulatethebridgeprocessingflowchartdiscussedinthelectures.Theprogramshouldreadatextfilethatcontainstheforwardingdatabase(FDB).Thefirstlineinthetextfilecontainsthenumberofportsonthebridge.Theprogramshouldthenreadanothertextfilecontainingrandomlygenerateframes–justthesourceanddestinationnumbersandportnumbersofarrival.Foreachframe,theprogramshouldusetheflowcharttomakeanupdateoftheforwardingdatabaseand/ortoforward/discardtheframe.IgnoretheCRCerrordetectionpart(thatis,assumethattheframesareerrorfree).Includethesourcecodeandsamplerunsoftheprogram.

You’re reading a preview
To View Complete Document
Become a Desklib Library Member.
Subscribe to our plans