Ask a question to Desklib · AI bot

Ask NowBETA

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 containingrandomlygenerateframesjustthesourceanddestination numbersandportnumbersof arrival.Foreachframe,theprogramshouldusetheflowchart tomakeanupdateoftheforwarding databaseand/ortoforward/discardtheframe.IgnoretheCRCerrordetectionpart(thatis,assumethat theframesareerrorfree).Includethesourcecodeandsamplerunsoftheprogram.
Simulation Programs for Bridge Processing and Routing_1

Found this document preview useful?

Related Documents
COIT20261 Network Routing and Switching Term 1, 2019
|5
|1350
|2

Assignment based on the Network Management
|8
|1595
|44

COIT20261 Network Routing and Switching Assignment 2022
|5
|913
|6

Network Routing and Switching Assessment 2022
|4
|943
|19

Firewall Rules for Network Security: Accessing, Mitigating Virus Attack, VPN Access, VLAN Access, Blocking RFC 1918
|10
|922
|63