Distributed Networks Distributed Networks




Network Administration  «Prev  Next»
Lesson 1

Introduction to TCP/IP Configuration in Linux

In this module, we will cover the basic commands necessary to connect a UNIX machine to a network.
By the end of this module, you will be able to:
  1. Configure the resolver library to arrange for TCP/IP name service
  2. Bring interfaces up and down, and set their IP addresses and netmasks
  3. Set the default route in the kernel routing table


  1. Every computer (or device) directly connected to the Internet should have it's own IP address and that address must be unique.
  2. Every current IP address is composed of 32 bits, generally separated into groups of 8 to make it more human readable. Each group of 8 bits is called an octet.
  3. A bit is binary and is either a 0 or 1.
  4. The numbers for each set of 8 bits, when converted to decimal range from 0 to 255. The octets are separated by dots. For example, 192.168.4.1 is an IP address.
  5. Each IP address is composed of a network part and a host part, determined by the subnet mask.
  6. To really understand how the IP numbers work and are derived (especially for subnetting), you should learn binary to decimal conversions.
  7. TCP/IP is virtually a universal protocol. All major (and most minor) OS's support it.