Professional Documents
Culture Documents
Any network technology has limitations on the maximum number of computers it can support. So it’s
common to have to break networks into several smaller networks and build a “network of networks”.
● An internetwork is a network of networks and is sometimes called an internet, which is not to
be confused with the Internet.
● A subnetwork or subnet is part of an internetwork that is bounded by routers.
1.1 Routers
The devices that connect networks are called routers. A router is a device that has the intelligence to
forward messages from one network to another as required.
Q1:What is a router?
1.2 IP addresses
Q3:How many bits are there in an IP address?
32
Q5:What is the name of the global registrar and the five regional Internet registries?
Q8:Circle each sub-network on the diagram above and say whether it has a class A address, a class B
address or a class C address.
Example
The router needs to know which portion of the IP address is the netid and which is the hostid. This is
achieved by the subnet mask. The parts of the IP address which belong to the netid are represented by
a 1 in the mask and those that represent the host ID appear as a 0 in the mask.
In the above diagram if 16 bits were used for the network ID then the subnet mask would be
11111111 11111111 11110000 00000000. = 255.255.240.0
Q11: Are the following two devices on the same network, given that the subnet mask is
255.255.240.0? Device A: 172.16.17.30, and device B: 172.16.28.15.
(a) Convert both IP addresses into binary.
Device A: 10101100 00010000 00010001 00011110
Device B: 10101100 00010000 00011100 00001111
(b) Perform the AND operation with the subnet mask above.
Device A: 10101100 00010000 00010000 00000000
Device B: 10101100 00010000 00010000 00000000
(c) Compare the two results. Are they on the same network? Yes
Q12: For the IP address 10.86.45.3 and subnet mask 255.255.0.0 answer the following questions:
5. What host IP addresses permit host to communicate directly with this host, assuming all hosts
are connected to the same network segment? 10.86.xxx.xxx
Q13: For the IP address 192.168.45.109 and subnet mask 255.255.255.240 answer the following
questions:
5. What host IP addresses permit host to communicate directly with this host, assuming all hosts
are connected to the same network segment? 192.168.87.xxx
1.6 Gateways
Q15: How are gateways different from routers?
A router routes IP packets between networks whereas a Gateway allows packets to be transferred into/
out of the local network, a gateway must be a router but a router doesn’t have to be a gateway
They can operate at any of the OSI layers while a router operates at level 3, a gateway can change the
IP address on the packet and perform many other layer 2-7 functions
The device to which IP packets are sent when they have a destination outside of the local network but
there is no more optimal route
DHCP
Q18: What Is The Dhcp Process For Client Machine?
Dynamic Host Configuration Protocol, automatically assigns an IP address and other details to the
hosts on the network so their communication is more efficient. The client machine receives
information from the DHCP server, such as a router, which configures the IP address and related
information. It ensures that no two hosts can have the same IP address while reducing the chance of
errors caused by manual configuration.