Write a program to simulate processing of a packet

Assignment Help Computer Engineering
Reference no: EM132098938

Please you need help in this Question:

Write a (simple) program to simulate processing of a packet at a router interface with an ACL bound to that interface.

Given an ACL (standard or extended) bound to a router interface, your program should accept as input a packet with a source IP address, destination IP address, source port number and destination port number, check the ACL permit and deny statements in sequence and determine if the packet gets discarded or forwarded.

In order to do this, your program should read two text files:

File no. 1 contains the ACL (for example):

access-list 1 deny 172.16.4.13 0.0.0.0

access-list 1 deny 172.16.5.0 0.0.0.255

etc.

interface EO

ip access-group 1 out

File no.2 contains a list of packets (just source and destination addresses)

172.16.4.13 172.16.3.2

172.16.5.2 172.16.3.4

etc.

Your output should be something like this:

172.16.4.13 172.16.3.2 denied

172.16.5.2 172.16.3.4 denied

etc. etc. permitted

Reference no: EM132098938

Questions Cloud

Create an enum type and say cartype : Please create an enum type, say Cartype, featuring all rental car types -- SUBCOMPACT, COMPACT, MIDSIZE, FULLSIZE.
Write Research Paper related to HRM : Students will select among a provided list of relevant HR "hot" topics which currently have an impact on HRM
Explain the concept of unified change management : Describe the concept of "change request" in your own words. List down the activities performed by "Software Review Board" in the change request process.
Identify components used in building an IT infrastructure : SBM4104 IT Infrastructure Assignment - Poster. Identify and classify the different components used in building an IT infrastructure
Write a program to simulate processing of a packet : Write a (simple) program to simulate processing of a packet at a router interface with an ACL bound to that interface.
Find the events that led up to the liquidation : ACC701 Accounting Financial Assignment - Discuss all three companies above and find (via electronic journals) the events that led up to the liquidation
Define a complete binary heap : List 5 uses of heaps. Define a d-ary heap. Define a complete binary heap.
Write a pl-sql stored function that takes username as input : Write a PL/SQL stored function that takes username as input and returns number of documents that user has permissions to view.
Determine the total cost of manufacturing : Using the current cost system, determine the total cost of manufacturing one unit of each product and the profit per unit for each product

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd