SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
Name:Ahmed Osama Osman
ID number :11010214464
Date: November 19th
2014
Problem # 5 Solutions
Q1.
In this question, we consider some of the pros and
cons of virtual-circuit and datagram networks.
a.) Suppose that routers were subjected to conditions
that might cause them to fail fairly often. Would this
argue in favor of a VC or datagram architecture?
Why?
b.) Suppose that a source node and a destination
require that a fixed amount of capacity always be
available at all routers on the path between the source
and destination node, for the exclusive use of traffic
flowing between this source and destination node.
Would this argue in favor of a VC or datagram
architecture? Why?
c.) Suppose that the links and routers in the network
never fail and that routing paths used between all
source/destination pairs remains constant. In this
scenario, does a VC or datagram architecture have
more control traffic overhead? Why?
Solution:
a)
Datagram: In the case of connection-oriented network,
every router failure will involvethe routing of that
connection. At a minimum, this will require the router that
is upstreamfrom the failed router to establish a new
downstream part of the path to the destinationnode, with
all of the requisite signaling involved in setting up a path.
Moreover, all of therouters on the initial path that are
downstream from the failed node must take down thefailed
connection, with all of the requisite signaling involved to do
this. Whereas in thecase of connectionless datagram
network, no signaling is required to either set up a
newdownstream path or take down the old downstream
path.
b)
VC: In this case in order for a router to maintain an
available fixed amount of capacity onthe path between the
source and destination node for that source-destination
pair, it wouldneed to know the characteristics of the traffic
from all sessions passing through that link.That is, the
router must have per-session state in the router. This is
possible in aconnection-oriented network, but not with a
connectionless network. Thus, a connection-oriented VC
network would be preferable.
c)
In this scenario, datagram architecture has more control
traffic overhead. This is due tothe various packet headers
needed to route the datagrams through the network. But in
VC
Reference :
http://www.scribd.com/doc/221350919/Assignment-Chap-4#scribd
Q2.
Consider the network below.
a.) Suppose that this network is a datagram network.
Show the forwarding table in router A, such that all
traffic destined to host H3 is forwarded through
interface 3.
b.) Suppose that this network is
a11001000 10010001 01010001 01010101
11100001 01000000 11000011 00111100
11100001 10000000 00010001 01110111
datagram network. Can you write down a
forwarding table in router A, such that all traffic from
H1 destined to host H3 is forwarded through interface
3, while all traffic from H2 destined to host H3 is
forwarded through interface 4? (Hint: this is a trick
question.)
c.) Now suppose that this network is a virtual circuit
network and that there is one ongoing call between H1
and H3, and another ongoing call between H2 and H3.
Write down a forwarding table in router A, such that
all traffic from H1 destined to host H3 is forwarded
through interface 3, while all traffic from H2 destined
to host H3 is forwarded through interface 4.
d.) Assuming the same scenario as (c), write down the
forwarding tables in nodes B, C, and D.
Solution:
a. Destination Address H3
Link Interfac 3
b. No, because forwarding rule is only based on
destination address.
c.Incoming interface Incoming VC Outgoing Interface
1 12 3
2 63 4
outgoing vc 22 18
refrences:
file:///C:/Users/A/Downloads/CS132_EECS148_ProblemSet3_Solution.pdf
Q3.
Consider a datagram network using 32-bit host
addresses. Suppose a router has four links, numbered
0 through 3, and packets are to be forwarded to the
link interfaces as follows:
Destination Address Range Link
Interface
11100000 00000000 00000000 00000000
Through 0
11100000 00111111 11111111 11111111
11100000 01000000 00000000 00000000
Through 1
11100000 01000000 11111111 11111111
11100000 01000001 00000000 00000000
Through 2
11100001 01111111 11111111 11111111
Otherwise 3
a.) Provide a forwarding table that has five entries,
uses longest prefix matching, and forwards
packets to the correct link interfaces.
Prefix Match Link Interface
11100000 00 0
11100000 01000000 1
11100001 2
11100000 01000001 2
Otherwise 3
Reference :
http://www.scribd.com/doc/221350919/Assignment-Chap-4#scribd
b.) Describe how your forwarding table determines the
appropriate link interface for datagram’s with
destination addresses:
11001000 10010001 01010001 01010101
11100001 01000000 11000011 00111100
11100001 10000000 00010001 01110111
Solution:
a)
0
1
2
3
b)
Address Short
Answer
11001000 10010001 01010001
01010101
11100001 01000000 11000011
00111100
11100001 10000000 00010001
01110111
Q4.
Consider a router that interconnects three subnets:
Subnet 1, Subnet 2, and Subnet 3. Suppose all of the
interfaces in each of these three subnets are required
to have the prefix 223.1.17/24. Also suppose that
Subnet 1 is required to support at least 60 interfaces,
Subnet 2 is to support at least 90 interfaces, and
Subnet 3 is to support at least 12 interfaces. Provide
three network addresses (of the form a.b.c.d/x) that
satisfy these constraints.
Solution:
223.1.17/24 (Network ID) 11011111 00000001 00010001 ????????
Subnet 1 11011111 00000001 00010001 0???????
Subnet 2 11011111 00000001 00010001 10??????
Subnet 3 11011111 00000001 00010001 11??????
All 223.1.17/24
Subnet 1 223.1.17.0/25
Subnet 2 223.1.17.128/26
Subnet 3 223.1.17.192/26
Reference:
https://uniteng.com/wiki/lib/exe/fetch.php?media=classlog:computernetwork:hw4_report.pdf
Q5.
Consider a subnet with prefix 128.119.40.128/26. Give
an example of one IP address (of form
xxx.xxx.xxx.xxx) that can be assigned to this network.
Suppose an ISP owns the block of addresses of the
form 128.119.40.64/26. Suppose it wants to create four
subnets from this block, with each block having the
same number of IP addresses. What are the prefixes
(of form a.b.c.d/x) for the four subnets?
Solution:
IP address range: 128.119.40.128 ‐ 128.119.40.191
Note: 128.119.40.128(last 8 bits: 10000000, reserved
address), 128.119.40.191(last 8 bits:
10111111, reserved address, broadcast)
Four subnets:
128.119.40.64/28
128.119.40.80/28
128.119.40.96/28
128.119.40.112/28
Reference:
https://uniteng.com/wiki/lib/exe/fetch.php?media=classlog:computernetwork:hw4_report.pdf
Q6.
Use the whois service at the American Registry for
Internet Numbers(http://www.arin.net/whois) to
determine the IP address blocks for three universities.
Can the whois services be used to determine with
certainty the geographical location of a specific IP
address? Use www.maxmind.com to determine the
locations of the Web servers at each of these
universities.
Solution:
Geographic locations of where these IP addresses are not
tracked and provided by arin’s whois service since this service
only give contact and registration information, autonomous
system numbers (ASN), organizations or customers that are
associated with these resources, and related Points of Contact
(POC).
1. Arizona State University.
2. University of Arizona.
3. Franklin W. Olin College of Engineering
Reference:
https://uniteng.com/wiki/lib/exe/fetch.php?media=classlog:computernetwork:hw4_report.pdf

Weitere ähnliche Inhalte

Was ist angesagt?

20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks Kathirvel Ayyaswamy
 
12 Multiple Access
12 Multiple Access12 Multiple Access
12 Multiple AccessAhmar Hashmi
 
Ars msr 1-intradomain
Ars msr 1-intradomainArs msr 1-intradomain
Ars msr 1-intradomainNarcisIlie1
 
Exercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With SolutionsExercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With SolutionsFelipe Suarez
 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicastingkavish dani
 
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338qCisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338qkeiko277
 
CCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsDsunte Wilson
 
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTPAhmar Hashmi
 
Simulation of a Wireless Sub Network using QualNET
Simulation of a Wireless Sub Network using QualNETSimulation of a Wireless Sub Network using QualNET
Simulation of a Wireless Sub Network using QualNETDaksh Raj Chopra
 

Was ist angesagt? (20)

20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks
 
12 Multiple Access
12 Multiple Access12 Multiple Access
12 Multiple Access
 
Week16 lec1
Week16 lec1Week16 lec1
Week16 lec1
 
Ars msr 1-intradomain
Ars msr 1-intradomainArs msr 1-intradomain
Ars msr 1-intradomain
 
Ch21
Ch21Ch21
Ch21
 
Week13 lec1
Week13 lec1Week13 lec1
Week13 lec1
 
I Pv6 Addressing
I Pv6 AddressingI Pv6 Addressing
I Pv6 Addressing
 
Exercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With SolutionsExercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With Solutions
 
4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting
 
Chapter 21
Chapter 21Chapter 21
Chapter 21
 
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338qCisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
 
Ch22
Ch22Ch22
Ch22
 
CCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration Questions
 
Anycast & Multicast
Anycast & MulticastAnycast & Multicast
Anycast & Multicast
 
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP23 Process to_Process_Delivery_UDP_TCP_and_SCTP
23 Process to_Process_Delivery_UDP_TCP_and_SCTP
 
08 Switching
08 Switching08 Switching
08 Switching
 
Cs8591 u4
Cs8591 u4Cs8591 u4
Cs8591 u4
 
Simulation of a Wireless Sub Network using QualNET
Simulation of a Wireless Sub Network using QualNETSimulation of a Wireless Sub Network using QualNET
Simulation of a Wireless Sub Network using QualNET
 
Week15 lec1
Week15 lec1Week15 lec1
Week15 lec1
 
Notes
NotesNotes
Notes
 

Ähnlich wie Prb#5

4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdfmrcopyxerox
 
Problem set 3-solution.pptx
Problem set 3-solution.pptxProblem set 3-solution.pptx
Problem set 3-solution.pptxNourhanTarek23
 
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)keiko277
 
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdfFiona Phillips
 
CISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardEng. Emad Al-Atoum
 
Ccna final exam
Ccna final examCcna final exam
Ccna final examccnaguide
 
352-001-Exam-ADVDESIGN
352-001-Exam-ADVDESIGN352-001-Exam-ADVDESIGN
352-001-Exam-ADVDESIGNKylieJonathan
 
Uccn1003 -may2010_-_mid_term_02
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02Shu Shin
 
Uccn1003 -may2010_-_mid_term_02
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02Shu Shin
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork LayerZahouAmel1
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...ZahouAmel1
 
Ccna exam 640 802
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802ccnaguide
 
Ccna discovery
Ccna discoveryCcna discovery
Ccna discoveryccnaguide
 

Ähnlich wie Prb#5 (20)

4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
 
Problem set 3-solution.pptx
Problem set 3-solution.pptxProblem set 3-solution.pptx
Problem set 3-solution.pptx
 
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q)
 
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
00-105 Interconnecting Cisco Networking Devices Part 1 (ICND1.pdf
 
CISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: Konard
 
lecciones ccna3
lecciones ccna3lecciones ccna3
lecciones ccna3
 
CCNA DUMPS 640-802
CCNA DUMPS 640-802CCNA DUMPS 640-802
CCNA DUMPS 640-802
 
CCNA Exam Question
CCNA Exam QuestionCCNA Exam Question
CCNA Exam Question
 
Ccna final exam
Ccna final examCcna final exam
Ccna final exam
 
352-001-Exam-ADVDESIGN
352-001-Exam-ADVDESIGN352-001-Exam-ADVDESIGN
352-001-Exam-ADVDESIGN
 
Ccna dumps
Ccna dumpsCcna dumps
Ccna dumps
 
Uccn1003 -may2010_-_mid_term_02
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02
 
Uccn1003 -may2010_-_mid_term_02
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
 
Ccna exam 640 802
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802
 
Ccna discovery
Ccna discoveryCcna discovery
Ccna discovery
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Ccna guide
Ccna guideCcna guide
Ccna guide
 
Computer Networking Assignment Help
Computer Networking Assignment HelpComputer Networking Assignment Help
Computer Networking Assignment Help
 

Kürzlich hochgeladen

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 

Kürzlich hochgeladen (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 

Prb#5

  • 1. Name:Ahmed Osama Osman ID number :11010214464 Date: November 19th 2014 Problem # 5 Solutions Q1. In this question, we consider some of the pros and cons of virtual-circuit and datagram networks. a.) Suppose that routers were subjected to conditions that might cause them to fail fairly often. Would this argue in favor of a VC or datagram architecture? Why? b.) Suppose that a source node and a destination require that a fixed amount of capacity always be available at all routers on the path between the source and destination node, for the exclusive use of traffic flowing between this source and destination node. Would this argue in favor of a VC or datagram architecture? Why? c.) Suppose that the links and routers in the network never fail and that routing paths used between all source/destination pairs remains constant. In this
  • 2. scenario, does a VC or datagram architecture have more control traffic overhead? Why? Solution: a) Datagram: In the case of connection-oriented network, every router failure will involvethe routing of that connection. At a minimum, this will require the router that is upstreamfrom the failed router to establish a new downstream part of the path to the destinationnode, with all of the requisite signaling involved in setting up a path. Moreover, all of therouters on the initial path that are downstream from the failed node must take down thefailed connection, with all of the requisite signaling involved to do this. Whereas in thecase of connectionless datagram network, no signaling is required to either set up a newdownstream path or take down the old downstream path. b) VC: In this case in order for a router to maintain an available fixed amount of capacity onthe path between the source and destination node for that source-destination pair, it wouldneed to know the characteristics of the traffic from all sessions passing through that link.That is, the router must have per-session state in the router. This is possible in aconnection-oriented network, but not with a connectionless network. Thus, a connection-oriented VC network would be preferable.
  • 3. c) In this scenario, datagram architecture has more control traffic overhead. This is due tothe various packet headers needed to route the datagrams through the network. But in VC Reference : http://www.scribd.com/doc/221350919/Assignment-Chap-4#scribd Q2. Consider the network below. a.) Suppose that this network is a datagram network. Show the forwarding table in router A, such that all traffic destined to host H3 is forwarded through interface 3. b.) Suppose that this network is a11001000 10010001 01010001 01010101 11100001 01000000 11000011 00111100 11100001 10000000 00010001 01110111 datagram network. Can you write down a forwarding table in router A, such that all traffic from H1 destined to host H3 is forwarded through interface 3, while all traffic from H2 destined to host H3 is forwarded through interface 4? (Hint: this is a trick question.) c.) Now suppose that this network is a virtual circuit network and that there is one ongoing call between H1
  • 4. and H3, and another ongoing call between H2 and H3. Write down a forwarding table in router A, such that all traffic from H1 destined to host H3 is forwarded through interface 3, while all traffic from H2 destined to host H3 is forwarded through interface 4. d.) Assuming the same scenario as (c), write down the forwarding tables in nodes B, C, and D. Solution: a. Destination Address H3 Link Interfac 3 b. No, because forwarding rule is only based on destination address. c.Incoming interface Incoming VC Outgoing Interface 1 12 3 2 63 4 outgoing vc 22 18
  • 5. refrences: file:///C:/Users/A/Downloads/CS132_EECS148_ProblemSet3_Solution.pdf Q3. Consider a datagram network using 32-bit host addresses. Suppose a router has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows: Destination Address Range Link Interface 11100000 00000000 00000000 00000000 Through 0 11100000 00111111 11111111 11111111 11100000 01000000 00000000 00000000 Through 1 11100000 01000000 11111111 11111111 11100000 01000001 00000000 00000000 Through 2 11100001 01111111 11111111 11111111 Otherwise 3
  • 6. a.) Provide a forwarding table that has five entries, uses longest prefix matching, and forwards packets to the correct link interfaces. Prefix Match Link Interface 11100000 00 0 11100000 01000000 1 11100001 2 11100000 01000001 2 Otherwise 3 Reference : http://www.scribd.com/doc/221350919/Assignment-Chap-4#scribd b.) Describe how your forwarding table determines the appropriate link interface for datagram’s with destination addresses: 11001000 10010001 01010001 01010101 11100001 01000000 11000011 00111100 11100001 10000000 00010001 01110111 Solution: a) 0 1 2 3 b)
  • 7. Address Short Answer 11001000 10010001 01010001 01010101 11100001 01000000 11000011 00111100 11100001 10000000 00010001 01110111 Q4. Consider a router that interconnects three subnets: Subnet 1, Subnet 2, and Subnet 3. Suppose all of the interfaces in each of these three subnets are required to have the prefix 223.1.17/24. Also suppose that Subnet 1 is required to support at least 60 interfaces, Subnet 2 is to support at least 90 interfaces, and Subnet 3 is to support at least 12 interfaces. Provide three network addresses (of the form a.b.c.d/x) that satisfy these constraints. Solution: 223.1.17/24 (Network ID) 11011111 00000001 00010001 ???????? Subnet 1 11011111 00000001 00010001 0??????? Subnet 2 11011111 00000001 00010001 10?????? Subnet 3 11011111 00000001 00010001 11?????? All 223.1.17/24 Subnet 1 223.1.17.0/25
  • 8. Subnet 2 223.1.17.128/26 Subnet 3 223.1.17.192/26 Reference: https://uniteng.com/wiki/lib/exe/fetch.php?media=classlog:computernetwork:hw4_report.pdf Q5. Consider a subnet with prefix 128.119.40.128/26. Give an example of one IP address (of form xxx.xxx.xxx.xxx) that can be assigned to this network. Suppose an ISP owns the block of addresses of the form 128.119.40.64/26. Suppose it wants to create four subnets from this block, with each block having the same number of IP addresses. What are the prefixes (of form a.b.c.d/x) for the four subnets? Solution: IP address range: 128.119.40.128 ‐ 128.119.40.191 Note: 128.119.40.128(last 8 bits: 10000000, reserved address), 128.119.40.191(last 8 bits: 10111111, reserved address, broadcast) Four subnets: 128.119.40.64/28 128.119.40.80/28 128.119.40.96/28 128.119.40.112/28
  • 9. Reference: https://uniteng.com/wiki/lib/exe/fetch.php?media=classlog:computernetwork:hw4_report.pdf Q6. Use the whois service at the American Registry for Internet Numbers(http://www.arin.net/whois) to determine the IP address blocks for three universities. Can the whois services be used to determine with certainty the geographical location of a specific IP address? Use www.maxmind.com to determine the locations of the Web servers at each of these universities. Solution: Geographic locations of where these IP addresses are not tracked and provided by arin’s whois service since this service only give contact and registration information, autonomous system numbers (ASN), organizations or customers that are associated with these resources, and related Points of Contact (POC). 1. Arizona State University. 2. University of Arizona. 3. Franklin W. Olin College of Engineering Reference: https://uniteng.com/wiki/lib/exe/fetch.php?media=classlog:computernetwork:hw4_report.pdf