Prb#5

edit

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

Recomendados

Computer Networks Homework Help por
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework HelpAssignmentpedia
10.4K visualizações8 slides
Concept of Network Routing Layer por
Concept of Network Routing LayerConcept of Network Routing Layer
Concept of Network Routing LayerPawan Singh
650 visualizações80 slides
Ch22 por
Ch22Ch22
Ch22Balaji Prasath Madhaiyan
46 visualizações83 slides
Multicast address por
Multicast addressMulticast address
Multicast addressEdgardo Scrimaglia
1.3K visualizações6 slides
Ec8551 communication networks mcq question bank por
Ec8551   communication networks mcq question bank Ec8551   communication networks mcq question bank
Ec8551 communication networks mcq question bank JAIGANESH SEKAR
2.5K visualizações73 slides
21 Network Layer_Address_Mapping_Error_Reporting_and_Multicasting por
21 Network Layer_Address_Mapping_Error_Reporting_and_Multicasting21 Network Layer_Address_Mapping_Error_Reporting_and_Multicasting
21 Network Layer_Address_Mapping_Error_Reporting_and_MulticastingAhmar Hashmi
755 visualizações55 slides

Mais conteúdo relacionado

Mais procurados

20CS2007 Computer Communication Networks por
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks Kathirvel Ayyaswamy
146 visualizações139 slides
12 Multiple Access por
12 Multiple Access12 Multiple Access
12 Multiple AccessAhmar Hashmi
490 visualizações59 slides
Week16 lec1 por
Week16 lec1Week16 lec1
Week16 lec1syedhaiderraza
392 visualizações17 slides
Ars msr 1-intradomain por
Ars msr 1-intradomainArs msr 1-intradomain
Ars msr 1-intradomainNarcisIlie1
125 visualizações50 slides
Ch21 por
Ch21Ch21
Ch21Wayne Jones Jnr
5K visualizações55 slides
Week13 lec1 por
Week13 lec1Week13 lec1
Week13 lec1syedhaiderraza
514 visualizações11 slides

Mais procurados(20)

20CS2007 Computer Communication Networks por Kathirvel Ayyaswamy
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks
Kathirvel Ayyaswamy146 visualizações
12 Multiple Access por Ahmar Hashmi
12 Multiple Access12 Multiple Access
12 Multiple Access
Ahmar Hashmi490 visualizações
Week16 lec1 por syedhaiderraza
Week16 lec1Week16 lec1
Week16 lec1
syedhaiderraza392 visualizações
Ars msr 1-intradomain por NarcisIlie1
Ars msr 1-intradomainArs msr 1-intradomain
Ars msr 1-intradomain
NarcisIlie1125 visualizações
Week13 lec1 por syedhaiderraza
Week13 lec1Week13 lec1
Week13 lec1
syedhaiderraza514 visualizações
I Pv6 Addressing por Ram Dutt Shukla
I Pv6 AddressingI Pv6 Addressing
I Pv6 Addressing
Ram Dutt Shukla859 visualizações
Exercises TCP/IP Networking With Solutions por Felipe Suarez
Exercises TCP/IP Networking With SolutionsExercises TCP/IP Networking With Solutions
Exercises TCP/IP Networking With Solutions
Felipe Suarez5.7K visualizações
4c Address Mapping, Error Reporting and Multicasting por kavish dani
4c Address Mapping, Error Reporting and Multicasting4c Address Mapping, Error Reporting and Multicasting
4c Address Mapping, Error Reporting and Multicasting
kavish dani1.5K visualizações
Chapter 21 por Faisal Mehmood
Chapter 21Chapter 21
Chapter 21
Faisal Mehmood1.2K visualizações
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q por keiko277
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
keiko2774.3K visualizações
Ch22 por Wayne Jones Jnr
Ch22Ch22
Ch22
Wayne Jones Jnr4.8K visualizações
CCNA Basic Switching and Switch Configuration Questions por Dsunte Wilson
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration Questions
Dsunte Wilson9.8K visualizações
Anycast & Multicast por Ram Dutt Shukla
Anycast & MulticastAnycast & Multicast
Anycast & Multicast
Ram Dutt Shukla2K visualizações
23 Process to_Process_Delivery_UDP_TCP_and_SCTP por Ahmar Hashmi
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 Hashmi2.1K visualizações
08 Switching por Ahmar Hashmi
08 Switching08 Switching
08 Switching
Ahmar Hashmi382 visualizações
Simulation of a Wireless Sub Network using QualNET por Daksh Raj Chopra
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 Chopra645 visualizações
Week15 lec1 por syedhaiderraza
Week15 lec1Week15 lec1
Week15 lec1
syedhaiderraza605 visualizações

Similar a Prb#5

Problem set 3-solution.pptx por
Problem set 3-solution.pptxProblem set 3-solution.pptx
Problem set 3-solution.pptxNourhanTarek23
809 visualizações41 slides
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q) por
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
2K visualizações114 slides
CISCO Exact Questions By: Konard por
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardEng. Emad Al-Atoum
649 visualizações113 slides
lecciones ccna3 por
lecciones ccna3lecciones ccna3
lecciones ccna3luisalfredoa9
298 visualizações29 slides
CCNA DUMPS 640-802 por
CCNA DUMPS 640-802CCNA DUMPS 640-802
CCNA DUMPS 640-802rahul kumar verma
2.5K visualizações485 slides
CCNA Exam Question por
CCNA Exam QuestionCCNA Exam Question
CCNA Exam QuestionEng. Emad Al-Atoum
1K visualizações169 slides

Similar a Prb#5(20)

Problem set 3-solution.pptx por NourhanTarek23
Problem set 3-solution.pptxProblem set 3-solution.pptx
Problem set 3-solution.pptx
NourhanTarek23809 visualizações
Cisco.actualtests.200 120.v2013-12-10.by.watson.314q (2 new q) por keiko277
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)
keiko2772K visualizações
CISCO Exact Questions By: Konard por Eng. Emad Al-Atoum
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: Konard
Eng. Emad Al-Atoum649 visualizações
lecciones ccna3 por luisalfredoa9
lecciones ccna3lecciones ccna3
lecciones ccna3
luisalfredoa9298 visualizações
CCNA DUMPS 640-802 por rahul kumar verma
CCNA DUMPS 640-802CCNA DUMPS 640-802
CCNA DUMPS 640-802
rahul kumar verma2.5K visualizações
Ccna final exam por ccnaguide
Ccna final examCcna final exam
Ccna final exam
ccnaguide739 visualizações
352-001-Exam-ADVDESIGN por KylieJonathan
352-001-Exam-ADVDESIGN352-001-Exam-ADVDESIGN
352-001-Exam-ADVDESIGN
KylieJonathan25 visualizações
Ccna dumps por ccnaguide
Ccna dumpsCcna dumps
Ccna dumps
ccnaguide891 visualizações
Uccn1003 -may2010_-_mid_term_02 por Shu Shin
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02
Shu Shin361 visualizações
Uccn1003 -may2010_-_mid_term_02 por Shu Shin
Uccn1003  -may2010_-_mid_term_02Uccn1003  -may2010_-_mid_term_02
Uccn1003 -may2010_-_mid_term_02
Shu Shin375 visualizações
Ccna exam 640 802 por ccnaguide
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802
ccnaguide348 visualizações
Ccna discovery por ccnaguide
Ccna discoveryCcna discovery
Ccna discovery
ccnaguide229 visualizações
Cs8591 Computer Networks por Kathirvel Ayyaswamy
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Kathirvel Ayyaswamy2.8K visualizações
Ccna guide por ccnaguide
Ccna guideCcna guide
Ccna guide
ccnaguide264 visualizações
ECE486 Test.pdf por pinstechwork
ECE486 Test.pdfECE486 Test.pdf
ECE486 Test.pdf
pinstechwork5 visualizações
Datagram vs. virtual circuit por Vikash Gangwar
Datagram vs. virtual circuitDatagram vs. virtual circuit
Datagram vs. virtual circuit
Vikash Gangwar251 visualizações
CCNA DUMPS 200-120 por rahul kumar verma
CCNA DUMPS 200-120CCNA DUMPS 200-120
CCNA DUMPS 200-120
rahul kumar verma92.7K visualizações
CCNAX 200 120 dumps por abdulquyyum
CCNAX 200 120 dumpsCCNAX 200 120 dumps
CCNAX 200 120 dumps
abdulquyyum14.9K visualizações

Último

MK__Cert.pdf por
MK__Cert.pdfMK__Cert.pdf
MK__Cert.pdfHassan Khan
10 visualizações1 slide
Generative AI Models & Their Applications por
Generative AI Models & Their ApplicationsGenerative AI Models & Their Applications
Generative AI Models & Their ApplicationsSN
8 visualizações1 slide
fakenews_DBDA_Mar23.pptx por
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptxdeepmitra8
14 visualizações34 slides
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx por
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptxlwang78
53 visualizações19 slides
Instrumentation & Control Lab Manual.pdf por
Instrumentation & Control Lab Manual.pdfInstrumentation & Control Lab Manual.pdf
Instrumentation & Control Lab Manual.pdfNTU Faisalabad
5 visualizações63 slides
NEW SUPPLIERS SUPPLIES (copie).pdf por
NEW SUPPLIERS SUPPLIES (copie).pdfNEW SUPPLIERS SUPPLIES (copie).pdf
NEW SUPPLIERS SUPPLIES (copie).pdfgeorgesradjou
15 visualizações30 slides

Último(20)

MK__Cert.pdf por Hassan Khan
MK__Cert.pdfMK__Cert.pdf
MK__Cert.pdf
Hassan Khan10 visualizações
Generative AI Models & Their Applications por SN
Generative AI Models & Their ApplicationsGenerative AI Models & Their Applications
Generative AI Models & Their Applications
SN8 visualizações
fakenews_DBDA_Mar23.pptx por deepmitra8
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptx
deepmitra814 visualizações
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx por lwang78
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
lwang7853 visualizações
Instrumentation & Control Lab Manual.pdf por NTU Faisalabad
Instrumentation & Control Lab Manual.pdfInstrumentation & Control Lab Manual.pdf
Instrumentation & Control Lab Manual.pdf
NTU Faisalabad 5 visualizações
NEW SUPPLIERS SUPPLIES (copie).pdf por georgesradjou
NEW SUPPLIERS SUPPLIES (copie).pdfNEW SUPPLIERS SUPPLIES (copie).pdf
NEW SUPPLIERS SUPPLIES (copie).pdf
georgesradjou15 visualizações
Effect of deep chemical mixing columns on properties of surrounding soft clay... por AltinKaradagli
Effect of deep chemical mixing columns on properties of surrounding soft clay...Effect of deep chemical mixing columns on properties of surrounding soft clay...
Effect of deep chemical mixing columns on properties of surrounding soft clay...
AltinKaradagli6 visualizações
Machine Element II Course outline.pdf por odatadese1
Machine Element II Course outline.pdfMachine Element II Course outline.pdf
Machine Element II Course outline.pdf
odatadese19 visualizações
Proposal Presentation.pptx por keytonallamon
Proposal Presentation.pptxProposal Presentation.pptx
Proposal Presentation.pptx
keytonallamon29 visualizações
What is Whirling Hygrometer.pdf por IIT KHARAGPUR
What is Whirling Hygrometer.pdfWhat is Whirling Hygrometer.pdf
What is Whirling Hygrometer.pdf
IIT KHARAGPUR 12 visualizações
DevOps-ITverse-2023-IIT-DU.pptx por Anowar Hossain
DevOps-ITverse-2023-IIT-DU.pptxDevOps-ITverse-2023-IIT-DU.pptx
DevOps-ITverse-2023-IIT-DU.pptx
Anowar Hossain9 visualizações
MSA Website Slideshow (16).pdf por msaucla
MSA Website Slideshow (16).pdfMSA Website Slideshow (16).pdf
MSA Website Slideshow (16).pdf
msaucla68 visualizações
Introduction to CAD-CAM.pptx por suyogpatil49
Introduction to CAD-CAM.pptxIntroduction to CAD-CAM.pptx
Introduction to CAD-CAM.pptx
suyogpatil495 visualizações
What is Unit Testing por Sadaaki Emura
What is Unit TestingWhat is Unit Testing
What is Unit Testing
Sadaaki Emura23 visualizações
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ... por AltinKaradagli
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...
Investigation of Physicochemical Changes of Soft Clay around Deep Geopolymer ...
AltinKaradagli9 visualizações
Advances in micro milling: From tool fabrication to process outcomes por Shivendra Nandan
Advances in micro milling: From tool fabrication to process outcomesAdvances in micro milling: From tool fabrication to process outcomes
Advances in micro milling: From tool fabrication to process outcomes
Shivendra Nandan7 visualizações
Digital Watermarking Of Audio Signals.pptx por AyushJaiswal781174
Digital Watermarking Of Audio Signals.pptxDigital Watermarking Of Audio Signals.pptx
Digital Watermarking Of Audio Signals.pptx
AyushJaiswal78117412 visualizações
zincalume water storage tank design.pdf por 3D LABS
zincalume water storage tank design.pdfzincalume water storage tank design.pdf
zincalume water storage tank design.pdf
3D LABS5 visualizações
DESIGN OF SPRINGS-UNIT4.pptx por gopinathcreddy
DESIGN OF SPRINGS-UNIT4.pptxDESIGN OF SPRINGS-UNIT4.pptx
DESIGN OF SPRINGS-UNIT4.pptx
gopinathcreddy19 visualizações

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