ReviewEssays.com - Term Papers, Book Reports, Research Papers and College Essays
Search

Configuring Ip

Essay by   •  February 16, 2011  •  Study Guide  •  4,107 Words (17 Pages)  •  1,383 Views

Essay Preview: Configuring Ip

Report this essay
Page 1 of 17

Configuring IP

The Internet Protocol (IP) is the only routed protocol that is turned on by default on a Cisco router running IOS. The acronym IP is actually an abbreviated way of writing TCP/IP (Transmission Control Protocol/Internet Protocol), which is the suite of protocols and applications used on the Internet and many private internetworks.

We are going to begin the coverage of IP configuration with a brief overview of IP and how IOS processes its traffic. Then we will delve into the configuration itself and make some modifications to the internetwork that we built in Chapter 3. The only version of IP covered in this book is IP version 4.

IP Addressing

All hosts that run IP must have a unique IP address. An IP address is a logical address that is independent of a host’s hardware. IP addressing is perhaps the most mystifying part of IP for people who are new to the networking world; however, it really is very simple. To understand, you just need to use a little bit of binary (base 2) arithmetic and decimal (base 10) arithmetic.

IP addresses are 32 bits long, and the normal way of writing them is called dotted-decimal notation. To write an address in dotted-decimal notation, we divide the 32 bits of the address into four 8-bit chunks. Each 8-bit chunk is called an octet or a byte. We then convert the octets from binary to decimal and put dots (.) between them. Figure 7-1 shows four forms of the same IP host address.

<<<J115 вЂ" Figure 7-1 IP Address Notations>>>

The first form in Figure 7-1 is normal binary, just a string of 32 ones and zeros; each one and zero is a bit. This form is difficult for people to read, but it is what a computer, like a router, sees. The decimal representation of the binary address has a rather large value; 32 bits can represent decimal numbers between 0 and 4,294,967,295. The second line is the decimal equivalent of the first line. How would you like to read a number like that every time you wanted to communicate a host address to someone?

The third line of Figure 7-1 is just an intermediate step toward the last line, with the 32 bits divided into four octets. The last form, dotted-decimal notation, is the one that we use, and it is the easiest to read and write.

Since each of the four quarters (octets) of an IP address is eight bits and the decimal values that can be represented with eight bits range from 0 to 255, the value of any one of the numbers in a dotted-decimal IP address cannot exceed 255.

IP addresses have two main parts вЂ" a network part that identifies the network where a host resides and a node part that identifies a specific host on the network (sort of like a street name and a house number). The network and node parts together make up the full IP address of a host. The network part is used by routing software to determine for which network a packet is destined. The node part is used by routing software to send a packet to an individual host once the packet has reached the host’s network. Just to make this a little more exciting, the line between network and node moves.

There are three things that can be used to tell which part of an address is network and which part of an address is node. These are as follows:

Network Mask

Prefix Length

Class

The network mask explicitly specifies which part of an IP address represents a network. The network mask is 32 bits long and is normally written in dotted-decimal notation just like an address. An IP address and mask are usually written together, with the mask immediately after the address.

A network mask has binary ones in the bit positions that represent the network part of an address and binary zeros in the bit positions that represent the node part of an address. The binary ones must start from the left (most-significant) side of the mask and extend contiguously (They must be side by side.) until the network part ends; the rest of the mask must be all zeros. For example, the mask

255.255.255.0

when paired with an IP address, would tell us that the first 24 bits of the address is considered network and the last eight bits are node. This becomes clear when the binary equivalent of this mask is examined as shown below:

11111111 11111111 11111111 00000000 (Binary)

255 . 255 . 255 . 0 (Dotted-Decimal)

We see that the mask has 24 ones, starting from the left, and eight zeros. Let us apply this mask to the IP address in Figure 7-1.

11000000 10101000 10000001 01100011 (Address)

11111111 11111111 11111111 00000000 (Mask)

Since the mask indicates that the first 24 bits of the address are the network, the network address must be

11000000 10101000 10000001 01100011

192 . 168 . 129 . 0

An IP address that has binary zeros in all of the node bits represents a network, not a host. An IP address that has binary ones in all of the node bits represents all of the hosts on a network; this is called a broadcast address. The broadcast address of the 192.168.129.0 network in the above example is:

10101100 00010000 10000001 11111111

192 . 168 . 129 . 255

The node values between all zeros and all ones identify individual hosts on a network. Therefore, the 192.168.129.0 255.255.255.0 network can have hosts with addresses between 192.168.129.1 and 192.168.129.254. That is 254 valid host addresses on this particular network. Figure 7-2 shows the simple formula for calculating the number of valid host addresses on a network.

<<<J117 вЂ" Figure 7-2 Network Hosts Formula>>>

Applying this formula to our running example with eight node bits has the following results:

28 вЂ" 2 = 256 вЂ" 2 = 254 Hosts

The answer is the same, 254 hosts on the network 192.168.129.0 255.255.255.0.

Some publications refer to an address’

...

...

Download as:   txt (23.9 Kb)   pdf (265.8 Kb)   docx (20 Kb)  
Continue for 16 more pages »
Only available on ReviewEssays.com
Citation Generator

(2011, 02). Configuring Ip. ReviewEssays.com. Retrieved 02, 2011, from https://www.reviewessays.com/essay/Configuring-Ip/39221.html

"Configuring Ip" ReviewEssays.com. 02 2011. 2011. 02 2011 <https://www.reviewessays.com/essay/Configuring-Ip/39221.html>.

"Configuring Ip." ReviewEssays.com. ReviewEssays.com, 02 2011. Web. 02 2011. <https://www.reviewessays.com/essay/Configuring-Ip/39221.html>.

"Configuring Ip." ReviewEssays.com. 02, 2011. Accessed 02, 2011. https://www.reviewessays.com/essay/Configuring-Ip/39221.html.