Computer Networks
Computer Networks
Bus Topology
A bus topology is used in a LAN (Local Area Network) where
different nodes are linked to a particular cable otherwise a single
backbone. A coaxial cable/RJ-45 cable is used to connect different
devices. In a bus topology, when the cable has any problem then the
entire network will not work. For the safety purpose of a network,
there may be alternate cables. This is a very simple type of network
topology as compared to other topologies because it can be arranged
easily. In the bus, topology does not require additional cables
throughout the installation as compared to other kinds of topologies.
If any node within the network stops working then the remaining
nodes will keep working. So, it is very convenient to include the latest
nodes in the network without delaying other types of nodes. For long-
distance networking, this kind of topology is not suitable due to data
loss. If the nodes are spread in different directions then this kind of
topology will not work, so it is better to use other topologies like
mesh, star, or ring.
Star Topology
Star topology is one of the most common network setups. In this
configuration, every node connects to a central network device, like a
hub, switch, or computer. The central network device acts as a server
and the peripheral devices act as clients. In a star topology setup,
either a coaxial or RJ-45 network cable is used, depending on the type
of network card installed in each computer. The image shows how
this network setup gets its name, as it is shaped like a star.
IP Addressing
An IP address is an address used in order to uniquely identify a device
on an IP network. The address is made up of 32 binary bits, which can
be divisible into a network portion and host portion with the help of a
subnet mask. The 32 binary bits are broken into four octets (1 octet =
8 bits). Each octet is converted to decimal and separated by a period
(dot). For this reason, an IP address is said to be expressed in dotted
decimal format (for example, 172.16.81.100). The value in each octet
ranges from 0 to 255 decimal, or 00000000 - 11111111 binary.
1 1 1 11111
128 64 32 16 8 4 2 1 (128+64+32+16+8+4+2+1=255)
Here is a sample octet conversion when not all of the bits are set to 1.
0 1000001
0 64 0 0 0 0 0 1 (0+64+0+0+0+0+0+1=65)
And this sample shows an IP address represented in both binary and
decimal.