Data Communication
Data Communication
1. Figure 1 below has an Ethernet network with three hosts, Host A, Host B, and Host C. this
network has no router for IP routing. Based on the provided subnet mask and ip address,
describe if the transmission will be successful for each question. If you consider that a
transmission will not work provide an explanation.
As I have checked it by using cisco packet tracer simulation the result like as follow.
1
Advanced data communication and networking alignment 2
2. Company named ABC has the IP address of 128.100.112.0/21. The company wants four
subnets where each subnets needs to support at least 500 host addresses.
b) Specify the network address and the network prefix (subnet mask for each subnetwork)?
128.100.113.255
128.100.115.255
128.100.117.255
128.100.119.255
3. Select a subnet mask for 10.0.0.0/8 so that there will be at least 16,000 subnets with at least
700 host addressed on each subnet.
2
Advanced data communication and networking alignment 2
One needs to select n such that 2n -2 >= 16,000. There must be enough host bits h remaining so
that 2h -2 >= 700. A subnet mask of 255.255.252.0 provides 16,382 subnets of the class A
address and 1022 host addresses on each subnet. (Note this is the only subnetmask which will
work).
4. For his research Mr. Abebe requested Dilla University to a block of ip address. In reply to to
his request Dilla university admin issued him the following response.
a. Which ip address range Mr. Abebe need to use to configure the computers in his lab?
We have a given Base address 142.150.235.0 and network mask 255.255.255.224. to get an Ip
address range Mr. Abebe used to configure computers in his lab, we must convert the network
mask into binary. 11111111.11111111.11111111.11100000
By using the formula 2h-2 we can get an Ip address range Mr. Abebe used. 25-2 = 32-2=30. So
an Ip address range Mr. Abebe used is 142.150.235.2 up to 142.150.235.30
b. What is the role of the “reserved router address”? Why this information is important?
The role of reserved router address is allowing the router to reserve the lease of an IP
Address for use of a specific device on the network. And the information is important to
effectively ensuring that the router does not assign the IP Address to other devices in the
network.
5. After connecting to the internet, fin the configuration of the TCP/IP stack on your computer.
If you are using windows, you can do that with the command ipconfig/all at the command
prompt (command prompt is in the group accessories). If you are using linux or any other
UNIX flavored operating system, the command is ifconfig.
I have used windows, when I do ipconfig/all I have get the following information.
3
Advanced data communication and networking alignment 2
4
Advanced data communication and networking alignment 2
6. Renew the Ip address that you see in question 5. You can return the ip address back to the
DHCP server by using the command ipconfig/release at the command prompt. you can
obtain (renew) the address using ipconfig/renew.
When I try ipconfig/release command the network connection of my computer will be lost.
5
Advanced data communication and networking alignment 2
7. Open the command prompt window and give the command “ping –n5 127.0.0”, (any website
that you like) and answer the following questions.
I have tried to ping –n5 127.0.0.1 and the argument of –n5 on the ping program is:
6
Advanced data communication and networking alignment 2
B. what is the average value of the RTT you have obtained? Explain how was it calculated?
Average value of RTT in –n5 127.0.0.1 is equals to 0ms as the above screenshot.
RTT can be calculated as the following
- Average server RTT = (RTTs1 + RTTs2)/2
- Average Client RTT = (RTTc1 + RTTc2)/2
8. Use the traceroute program to find the path to a destination of your choice. After you have
obtained the output, supply the following information.
a. Destination address (i.e, URL or IP address)
I have checked by tracert www.du.edu.et from this the destination address is
213.55.81.195
b. Number of hops maximum number of hops is 30
c. IP addresses of the five nodes where there is the maximum delay and the delay experienced on
these hops.
IP addresses of five nodes are:
192.168.43.236
10.207.25.217
10.207.25.193
d. Perform the traceroute to the same destination at another day and time. Check whether there
exist any changes. Explain possible reasons for the appearance of some differences.
There is no change exist
9. Use nslookup or one of the web sites that provide DNS lookup to find out the IP address for a
domain name of your choice. Supply the following information.
a. The domain name of the DNS server you have used
The domain name of DNS server I used is Unknown
b. The domain name for which you have searched the IP address
www.du.edu.et
c. The IP address obtained
The IP address obtained is 213.55.81.195
d. Explanation how DNS works and the reasons it uses a distributed database instead of a
centralized one.
7
Advanced data communication and networking alignment 2
The root DNS server returns the IP address of the top-level DNS server maintaining the
.com domains. Then, by visiting the .com top-level DNS server, the system finds the
medium.com authoritative DNS server's IP address. Next, the medium.com authoritative
DNS server returns the IP address of www.medium.com.
A Single DNS Server cannot handle huge DNS traffic but with distributed system its
distributed and reduce overload on server. Distant centralized database: A single DNS server
cannot be “close to” all the querying clients.
10. Use netstat –rn to display the forwarding (routing) table for your computer on the screen.
Show the forwarding table and explain the meaning of each row in the table.
The first row interface list means the state of the network interfaces that are configured with
the machine where you ran the command.
8
Advanced data communication and networking alignment 2
The second row persistent route is a static route that survives across reboots.
The third row active route Indicates the current status of the route.
11. The system administrator foolishly connected four switches according to figure below, and
forgot to enable the spanning tree protocol (s stands for switch).
a. 153.210.58.35 10011001.11010010.00111010.00100011
b. 14.255.1.0 00001110.11111111.00000001.00000000
14. You currently use the default mask for your IP network 192.168.1.0 you need to subnet your
network so that you have 30 additional networks and 4 hosts per network. If possible, and
what subnet mask should you use?
Yes it is possible
9
Advanced data communication and networking alignment 2
15. Given a class C network 200.138.1.0 with a subnet mask of 255.255.255.252. Answer the
following questions.
a) Network address?
b) Broadcast address?
c) Total number of host address?
d) Total usable address?
e) The last usable host addresses?
To do the above questions we should convert both IP address and subnet mask into binary.
a. Network address
To get network address we have to use AND operation.
IP add 11001000.10001010.00000001.00000000
Subnet M 11111111.11111111.11111111.11111100
b. Broadcast address
To get broadcast address we have to inversing the subnet mask and use OR operation.
IP add 11001000.10001010.00000001.00000000
Subnet M 00000000.00000000.00000000.00000011
To calculate total number of hosts we use the formula 2n where n is number of host bits, so
2n=22= 4 total number of host.
To calculate total usable address we use the formula 2n-2 where n is number of host bits, so
2n-2=2 total usable address.
10