Professional Documents
Culture Documents
DCCN
DCCN
DCCN
The
university has planned to allocate IP addresses for 5 schools. From them two schools have 875
hosts, one school had 256 hosts and the remaining school has 180 hosts.
1.AFind the subnet mask addresses of each network.
1.BFind valid IP address, network and broadcast addresses of each network.
school 5)
32-9=23=> 16.12.64.0/23
11111111.11111111.11111110.00000000
4 school(180 hosts)
180=>256=2^8
11111111.11111111.1111111.00000000
16.12.64.0/24
solution #b find valid ip addresses network and broadcast addresses of each networking
solution c
#2.Compare and contrast distance vector and Link state routing algorithms clearly and which
algorithm is most important for existing large network.
distance vector routing, a router need not know the entire path to every
network segment; it only requires to know the direction or vector in which
to send the packet. The technique determines the direction (vector) and
distance (hop count) to any network in the inter network.
link-state routing, each router attempt to construct its own internal map of
the network topology. At the initial stage of start-up, when a router
becomes active, it sends the messages into the network and collects the
information from the routers to which it is directly connected.
The prior difference between Distance vector and link state routing is that
in distance vector routing the router share the knowledge of the entire
autonomous system whereas in link state routing the router share the
knowledge of only their neighbour routers in the autonomous system
* The long term solution is to switch to Internet Protocol version 6 (IPv6). IPv6 has trillions of trillions
of addresses, enough to give every computer in the world a unique IP address. Unfortunately, IPv6 is
mostly incompatible with IPv4, and implementing it often requires replacing equipment such as routers..
• USE Network Address Translation (NAT) splits a single public IPv4 address into multiple
private IPv4 addresses. It is considered a short term solution because it does not usually allow
incoming connections without manual configuration of port forwarding.
• Carrier-grade Network Address Translation (CGN or CGNAT) is Network Address
Translation done by the Internet Service Provider (ISP). It is a short-term solution to provide
IPv4 access where the ISP has more customers than public IP addresses
#4. Fill the IP-addresses, subnet mask and default gateway for all hosts.
110.10.20.3 110.10.20.0
Laptop2 /29
Laptop-PT
110.10.10.6 110.10.10.0
Laptop3 /29
Laptop-PT
110.10.10.9 110.10.10.0
Laptop4 /29
PC-PT-
PC4
B. Fill the network, and broadcast addresses and subnet masks in the following table for both
networks.
#5. Find network address, broadcast address and valid host address for the IP address
192.22.45.173/26 and show sub net mask of this network in dotted decimal notation.
11111111.11111111.11111111.11000000
valid host 2^6=64 but among two of them are Network id and Broadcast addresses
First, if you have two hosts directly connected, as shown in the graphic, then you need a
crossover cable. A straight-through cable won't work. Second, the hosts have different masks, which
puts them in different sub nets. The easy solution is just to set both masks to 255.255.255.0 (/24).
#7. In any networking system for communication among the PC’s and the web
servers via the Internet, we require a unique IP address every time which is a 32-bit
number used to locate the PC or network device you want to reach out in the
network.
#8 Suppose a TCP connection is transferring a file of 12,000 bytes. The first byte is numbered
20,001. What are the sequence numbers for each segment if data are sent in three segments, each
carrying 4000 bytes?
#9.
What is Domain Name System (DNS) ?
The Domain Name System (DNS) is the phonebook of the Internet. Humans access
information online through domain names, like astu.edu.et.com or www.astu.com. Web
browsers interact through Internet Protocol (IP) addresses. DNS translates domain names
Each device connected to the Internet has a unique IP address which other machines use
to find the device. DNS servers eliminate the need for humans to memorize IP addresses
such as 192.168.1.1 (in IPv4), or more complex newer alphanumeric IP addresses such as
#10
What is the difference between data link layer and transport layer?
The data link layer provides the services within a single network while the transport layer provides
the services across an internetwork made up of many networks. The data link layer controls the
physical layer while the transport layer controls all the lower layers.
is the process of
detecting and includes mechanisms for
correcting data is responsible for detecting corrupted
error frames that transmission of data from segments, lost segments,
one device to another
control have been corrupted device out-of-order segments, and
or lost duplicated segments
during transmission
uses feedback based
flow control
flow mechanisms. There
provides a flow control
are two main
provides flow control mechanism between the
contro techniques
l between routers by ICM adjacent layers of the TCP/IP
*Stop and Wait
model
*Sliding Window