Lesson 1
TCP/IP configuration
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:
By the end of this module, you will be able to:
- Configure the resolver library to arrange for TCP/IP name service
- Bring interfaces up and down, and set their IP addresses and netmasks
- Set the default route in the kernel routing table
- Every computer (or device) directly connected to the Internet should have it's own IP address and that address must be unique.
- 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.
- A bit is binary and is either a 0 or 1.
- 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.
- Each IP address is composed of a network part and a host part, determined by the subnet mask.
- To really understand how the IP numbers work and are derived (especially for subnetting), you should learn binary to decimal conversions.
- TCP/IP is virtually a universal protocol. All major (and most minor) OS's support it.