Assignment 1: Question # 1 (Marks: 3+4+3)
Assignment 1: Question # 1 (Marks: 3+4+3)
Solution:
a. Depending on the hardware used you generally get an intermittent failure on both
devices because the network sees them both as one device. If you have intelligent
hubs and network management software they can be identified and locked out.
MAC addresses are configured by the hardware manufacturers in the network
cards, and no two network cards have the same MAC address around the world.
b. Both technical and economic reasons contribute to the answer; we said that
computers attached to a shared network must coordinate use of the network.
Because coordination requires communication ad the time required to
communicate depends on distance, a large geographical separation between
computers introduces longer delays. Thus, shared networks with long delays are
inefficient because they spend more time coordinating use of the shared medium
and less time sending data. In addition, engineers have learned that providing a
high bandwidth communication channel over long distances is significantly more
expensive than providing the same bandwidth communication over short distance.
c. In contrast with wired LANs, not all participants may be able to reach each other.
Because:
It has low signal strength.
In wireless LANs the propagation is blocked by walls etc.
It can’t depend on CD to avoid interference because not all participants
may hear.
Question # 2
Complete given table and answer yes or no. (Marks: 10)
Segment a
Segment b Segment c
Segment d Segment e
Segment f
Solution:
Segment a
Segment b Segment c
Segment d Segment e
Segment f
1 5 3
2 4
a. Determine the routing table?
Solution:
When a host sends an ARP request to resolve its own IP address, it is called gratuitous
ARP. In the ARP request packet, the source IP address and destination IP address are
filled with the same source IP address itself. The destination MAC address is the Ethernet
broadcast address (FF:FF:FF:FF:FF:FF).
Q.2 Find the net ID and host ID of the following IP Addresses. [8]
a) 117.34.4.8
b) 29.34.41.5
c) 23.67.12.1
d) 139.33.4.5
Solution:
a) Net id: 117; host id: 34.4.8
b) Net id: 29; host id: 34.41.5
c) Net id: 23; host id: 67.12.1
d) Net id: 139.33; host id: 4.5
a) 218.34.54.12
b) 238.34.2.1
c) 124.34.2.8
d) 139.14.6.8
Solution:
a) Class C
b) Class D
c) Class A
d) Class B
Assignment 5
a. Show the shortest form of the following IPV6 address:
2340:1ABC:119A:A000:0000:0000:0000:0000
2340:1ABC:119A:A000::0
c. In IP datagram header format, what is the value of the data field given
H.LEN value of 12 and TOTAL LENGTH value of 40,000?
Total number of bytes in the header = 12 x 4 = 48 bytes
Total length = 40,000 bytes
Therefore data field = 40,000 – 48 = 39952 bytes