Ip Addressing and Sub Netting
Ip Addressing and Sub Netting
A loopback address is a special IP address, 127.0.0.1, reserved by InterNIC for use in testing
network cards. This IP address corresponds to the software loopback interface of the network card,
which does not have hardware associated with it, and does not require a physical connection to a
network. The loopback address allows for a reliable method of testing the functionality of an
Ethernet card and its drivers and software without a physical network.
Subnetting:
Subnetting is the practice of dividing a network into two or more smaller networks. It increases
routing efficiency, enhances the security of the network and reduces the size of the broadcast
domain.
An IP address is divided into two parts: network and host parts. For example, an IP class A address
consists of 8 bits identifying the network and 24 bits identifying the host. This is because the
default subnet mask for a class A IP address is 8 bits long. (or, written in dotted decimal notation,
255.0.0.0). What does it mean? Well, like an IP address, a subnet mask also consists of 32 bits.
Computers use it to determine the network part and the host part of an address. The 1s in the subnet
mask represent a network part, the 0s a host part.
The computer can then determine the size of the network. Only IP addresses that begins with 10
will be in the same network. So, in this case, the range of addresses in this network is 10.0.0.0 –
10.255.255.255.
ping is perhaps the most commonly used tool to troubleshoot a network. Ping (Packet Internet
Groper) is included with most operating systems. It is invoked using a ping command and uses
ICMP (Internet Control Message Protocol) to reports errors and provides information related to IP
packet processing. Ping works by sending an ICMP echo request message to the specified IP
address. If the computer with the destination IP address is reachable, it responds with an ICMP
echo reply message.
Before CIDR, public IP addresses were assigned based on the class boundaries:
Class A – the classful subnet mask is /8. The number of possible IP addresses is 16,777,216 (2 to
the power of 24).
Class B – the classful subnet mask is /16. The number of addresses is 65,536
Class C – the classful subnet mask is /24. Only 256 addresses available.
Some organizations were known to have gotten an entire Class A public IP address (for example,
IBM got all the addresses in the 9.0.0.0/8 range). Since these addresses can’t be assigned to other
companies, there was a shortage of available IPv4 addresses. Also, since IBM probably didn’t need
more than 16 million IP addresses, a lot of addresses were unused.
1) IP address class = A
2) How many subnets do we need? No. of subnet required = 2^3-2 = 6
3) How many hosts per subnet can accommodate? No. of host in each subnet = 2^13-2 =8190
4) Network address of 3rd subnet = 10.10.96.0
10.10.0.0/16
00001010.00001010.00000000.00000000
. .001
. .010
. .011 =>3rd subnet
. .100
. .101
. .110
. .111
network address = 00001010.00001010.01100000.00000000 = 10.10.96.0
9) First two even host address of 3rd subnet = 10.10.96.2 and 10.10.96.4
10) First two odd host address of 3rd subnet = 10.10.96.1 and 10.10.96.3
11) Last two even host address of 3rd subnet = 10.10.127.254 and 10.10.127.252
12) Last two odd host address of 3rd subnet = 10.10.127.253 and 10.10.127.251
13) Broadcast address of 3rd subnet = 10.10.127.255
*A connection with low latency, the time it takes your computer to talk to the game
server, is more important than bandwidth for gaming.
**You'll want at least a 1 Mbps upload speed for quality video conferencing.
Bandwidth is like the size of the hose. The larger it is, the more data you can pull down in a given
time.
Bandwidth is measured in bits per second. Note that bits are different than bytes, the common
measure of file size. One byte equals 8 bits, so 1 megabyte (MB) equals 8 megabits.
If you have a 1 megabit-per-second connection, a 1MB file will take eight seconds to download.
On a 1 Mbps connection, an MP3 file, which might measure about 6MB, will take about 48
seconds to download. A 5 gigabyte, or 5,000MB, movie will take about 11 hours.