SlideShare a Scribd company logo
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

More Related Content

What's hot

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 Access
Ahmar Hashmi
 
Week16 lec1
Week16 lec1Week16 lec1
Week16 lec1
syedhaiderraza
 
Ars msr 1-intradomain
Ars msr 1-intradomainArs msr 1-intradomain
Ars msr 1-intradomain
NarcisIlie1
 
Week13 lec1
Week13 lec1Week13 lec1
Week13 lec1
syedhaiderraza
 
I Pv6 Addressing
I Pv6 AddressingI Pv6 Addressing
I Pv6 Addressing
Ram Dutt Shukla
 
Exercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With SolutionsExercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With Solutions
Felipe 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
 
Chapter 21
Chapter 21Chapter 21
Chapter 21
Faisal Mehmood
 
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
keiko277
 
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
 
Anycast & Multicast
Anycast & MulticastAnycast & Multicast
Anycast & Multicast
Ram Dutt Shukla
 
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
Ahmar Hashmi
 
08 Switching
08 Switching08 Switching
08 Switching
Ahmar Hashmi
 
Cs8591 u4
Cs8591 u4Cs8591 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
Daksh Raj Chopra
 
Week15 lec1
Week15 lec1Week15 lec1
Week15 lec1
syedhaiderraza
 

What's hot (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
 

Similar to 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.pdf
mrcopyxerox
 
Problem set 3-solution.pptx
Problem set 3-solution.pptxProblem set 3-solution.pptx
Problem set 3-solution.pptx
NourhanTarek23
 
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.pdf
Fiona Phillips
 
CISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: Konard
Eng. Emad Al-Atoum
 
CCNA DUMPS 640-802
CCNA DUMPS 640-802CCNA DUMPS 640-802
CCNA DUMPS 640-802
rahul kumar verma
 
CCNA Exam Question
CCNA Exam QuestionCCNA Exam Question
CCNA Exam Question
Eng. 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-ADVDESIGN
KylieJonathan
 
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 Layer
ZahouAmel1
 
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
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Kathirvel Ayyaswamy
 
Computer Networking Assignment Help
Computer Networking Assignment HelpComputer Networking Assignment Help
Computer Networking Assignment Help
Computer Network Assignment Help
 

Similar to 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
 

Recently uploaded

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 

Recently uploaded (20)

MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 

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