Professional Documents
Culture Documents
NET 256 Assignment 2
NET 256 Assignment 2
NET 256 Assignment 2
Instructions:
I. Due Thursday, November 25, 2018.
m
er as
II. References
co
1. Slides and handouts posted on the course Web site
eH w
2. Selected readings of the textbook
o.
rs e
ou urc
Problem 1 – Packet vs. Circuit-Switched Communications:
o
c
ar stu
e
f (b) Give two examples of applications for which circuit switching
and packet switching would be more suitable respectively.
sh
g
h An example of circuit switching is a telephone network.
i An example for packet switching is frame relay and IP.
This study source was downloaded by 100000809912626 from CourseHero.com on 04-23-2021 14:35:27 GMT -05:00
https://www.coursehero.com/file/40425906/NET-256-Assignment-2docx/
Problem 2- IP Fragmentation
m
er as
Assume the ID of the original packet is “x”. with an MTU of 500
co
bytes, 500-2 = 480 bytes of data transmitted in each packet.
eH w
Therefore, ceiling(2980/480)= 7 packets are needed.
o.
rs e
ou urc
b) What are their characteristics (i.e. what are the flags and offset
values for each (Assume that the DF flag was not set : )
Solution: Assume that no optional fields of the IP header are in use
o
This study source was downloaded by 100000809912626 from CourseHero.com on 04-23-2021 14:35:27 GMT -05:00
https://www.coursehero.com/file/40425906/NET-256-Assignment-2docx/
c) Explain how traceroute works. Include a traceroute to a host at
least 20 hops away.
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th
sh
This study source was downloaded by 100000809912626 from CourseHero.com on 04-23-2021 14:35:27 GMT -05:00
https://www.coursehero.com/file/40425906/NET-256-Assignment-2docx/
Problem3: CIDR -A router has the following (CIDR) entries in its
routing table:
m
er as
1. For each of the following IP address, what does the router do if
co
packets with the following addresses arrive?
eH w
o.
(a) 135.46.63.10
rs e
ou urc
The router will look for the first 22 bits, we have 135.45.60.0 routing
entry. It matches the network address of 135.45.60.0/22 routing entry,
o
(b) 135.46.57.14
ed d
The router will look for the first 22 bits, we have 135.45.56.0 . It
ar stu
(c) 135.46.52.2
Th
The address is lower than 22 bits, the default route will be used and it
sh
(d) 192.53.40.7
This study source was downloaded by 100000809912626 from CourseHero.com on 04-23-2021 14:35:27 GMT -05:00
https://www.coursehero.com/file/40425906/NET-256-Assignment-2docx/
The router will look for the first 23 bits, we have 192.53.40.0 . It
matches the network address of 135.43.40.0/23 routing entry, therefore
the packet will be routed out over router 1.
(e) 192.53.56.7
The router will look for the first 23 bits, we have 192.53.56.0 . the
default route will be used and it will be routed out over router 2
m
fields?
er as
co
eH w
Problem 4- NAT
o.
rs e
What problem is tackled by Network Address Translation (NAT)? Please
ou urc
briefly describe what NAT does.
o
Problem5- IP addresses
is
Th
How does a host get an IP address? How does a network get the subnet
part of an IP address?
How does a provider get a block of IP addresses? What is the principle
sh
Ithey can either be assigned statically (the network manager assigns them) or can
be assigned dynamically via Dynamic Host Control Protocol (DHCP). Subnetting
This study source was downloaded by 100000809912626 from CourseHero.com on 04-23-2021 14:35:27 GMT -05:00
https://www.coursehero.com/file/40425906/NET-256-Assignment-2docx/
is the way toward assigning some high-arrange bits from the host part as a major
aspect of the system prefix. ISPs (Internet Service Providers) or associations can
get in touch with them to enroll an IP address or a piece of IP tends to which is the
place you come in. to provide security to the host.
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th
sh
This study source was downloaded by 100000809912626 from CourseHero.com on 04-23-2021 14:35:27 GMT -05:00
https://www.coursehero.com/file/40425906/NET-256-Assignment-2docx/
Powered by TCPDF (www.tcpdf.org)