|
The layered architecture of both the OSI-RM and TCP/IP are shown in Figure 2.2.
The layers of the Internet architecture are shown in Figure 2.5.
This process is shown in Figure 2.6.
The IP header and Ethernet frame structure is shown in Figure 2.8. The text in that section explain the role of each component.
IP's primary task is the addressing of datagrams. Without IP, routing information would have to be constructed at a higher layer in the architecture.
The IP header is shown in Figure 3.1. The meaning of each field within the header is explained in the text accompanying the figure.
The ICMP header is shown in Figure 3.4. The meaning of each field and their valid values are explained in the accompanying text.
There are four EGP message formats in use: neighbor acquisition and neighbor reachability (both of which indicate the presence and status of neighbor devices); poll (to verify that a neighbor is active); and error (for reporting error conditions).
The format of the EGP message headers is shown in Figures 3.6 and 3.7. The text accompanying the figures explains the meaning of the fields within the header.
This is shown in Figure 4.3.
The TCP PDU is shown in Figure 4.5. The fields are all explained in the accompanying text.
The diagrams for all three steps are shown in Figures 4.6, 4.7, and 4.8.
TCP uses a connection table to keep track of all the active connections. Each existing connection has an entry in the table that shows information about the end-to-end connection. The layout of the TCP connection table is shown in Figure 4.9.
The UDP header is shown in Figure 4.10. The accompanying text explains the purpose of each field.
UDP is connectionless, hence a little faster. It is not as reliable as TCP, though, so is not useful for applications when a connection must be maintained for long periods or when reliability of transfer is important.
A network virtual terminal (NVT) is used to define both ends of a connection. It has a logical keyboard and a logical printer (display). NVTs are necessary to allow a connection to exist.
These diagrams are shown in Figures 5.4 and 5.5.
Anonymous FTP access enables users to upload and download files to your system without having to log in. This can be useful when you want to share information without worrying about user IDs. Anonymous FTP should be disabled if you do not plan to share information globally, because there are several possible security concerns with a poorly administered anonymous FTP setup.
TFTP's capability to transfer files without a login can enable a remote user to transfer a file to or from your system without your specific knowledge, as long as the security system and file permissions are set to enable this. A well-run system controls TFTP's access considerably.
The Berkeley Utilities are a set of useful utility programs developed for TCP/IP at the University of California at Berkeley. The tools are known as the Berkeley Utilities in honor of their developers.
A gateway performs routing functions between networks and can translate protocols. A bridge connects two or more networks using the same protocol. A router is a network device that forwards datagrams around the network. A brouter performs the functions of both the bridge and the router.
A packet-switched network is one where all transfers of information are based on self-contained packets (like TCP/IP's datagrams).
Interior gateways connect LANs of one organization, whereas exterior gateways connect the organization to the outside world.
The three types of routing tables are fixed, dynamic, and fixed central. The fixed table must be manually modified every time there is a change. A dynamic table changes its information based on network traffic, reducing the amount of manual maintenance. A fixed central table lets a manager modify only one table, which is then read by other devices. The fixed central table reduces the need to update each machine's table, as with the fixed table. Usually a dynamic table causes the fewest problems for a network administrator, although the table's contents can change without the administrator being aware of the change.
The HELLO protocol uses time instead of distance to determine optimal routing. It is an alternative to the Routing Information Protocol.
DNS uses UDP for communication between servers. It is a better choice than TCP because of the improved speed a connectionless protocol offers. Of course, transmission reliability suffers with UDP.
A resource record is an entry in a name server's database. There are several types of resource records used, including name-to-address resolution information. Resource records are maintained as ASCII files.
An entry in an IN-ADDR-ARPA file would look like this:
merlin IN A 143.12.2.46
The line contains the machine name, the class of machine (IN means Internet), A to show it is an address resource record, and the IP address.
BOOTP sends a UDP message with a subnetwork broadcast address and waits for a reply from a server that gives it the IP address. The same message might contain the name of the machine that has the boot files on it. If the boot image location is not specified, the workstation sends another UDP message to query the server.
The Network Time Protocol is designed specifically to ensure that all internal timers are synchronized and have similar settings.
This is shown in Figure 9.1. The NFS layers comprise the top three layers of the architecture, including the application layer protocols (mount, yp, and so forth), XDR (External Data Representation) in place of the presentation layer, and RPC (Remote Procedure Call) in place of the session layer.
The port mapper controls assignment of ports based on requests from applications. The port mapper maintains a table of ports and the RPC programs that are using them. When the port mapper receives a request for a port, it checks for an available port, then completes a table entry for the port and application, returning the port number with a status message.
External Data Representation is a method of encoding data within an RPC message, used to ensure that the data is not system-dependent.
The Mount protocol returns a file handle and the name of the file system in which a requested file resides. The message is sent to the client from the server after reception of a client's request.
The Remote Execution Service (REX) is designed to enable users to run commands on other machines without logging in and without the overhead of larger utilities like Telnet. Because REX preserves the full shell environment, it is better than other remote procedures.
The MAU is composed of the Physical Medium Attachment (PMA) and the Medium Dependent Interface (MDI). The MAU manages the connection of the machine to the network medium itself.
FDDI is Fiber Distributed Data Interface, popular because it provides very high transmission speeds over a fiber optic cable.
The Discard service discards everything it receives, returning nothing back to the sender.
The Time protocol is used to synchronize devices on a network so their clocks are consistent. If they were not consistent, some packet information involving actual times would be meaningless.
TCP/IP can function over other network protocols (like IPX) by replacing parts of the TCP/IP layered architecture with the other network protocol's layers. Some duplication and crossover of functionality can be expected, but TCP/IP can function properly with many different networks.
Class B networks use two bytes for the device portion of the IP address. This enables 65,534 different devices.
The BSD UNIX TCP/IP broadcast address uses all 0s, whereas the Internet standard (and most other TCP/IP implementations) uses all 1s. The Internet system is the most widely used except in locations that have run BSD UNIX for many years and have not made the switch.
A pseudo tty or false terminal enables external machines to connect through Telnet or rlogin. Without a pseudo tty, no connection can take place.
# .rhosts
artemis tparker
artemis goof
artemis aarmenakis
mig rmaclean
This file enables three users from the system artemis and one user from the system mig to log in to the host system without using passwords. The user IDs that can be used are specified after the machine name.
Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the password usually requesting the user's ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access.
The OSI-RM defines the five aspects of network management as accounting, configuration, faults, performance, and security.
A Management Information Base is part of every SNMP-managed device. Each SNMP agent has the MIB database that contains information about the device's status, its performance, connections, and configuration. The MIB is queried by SNMP.
Ping is the Packet Internet Groper. It sends out an ICMP request to a destination and waits for a response. Ping is a simple utility used to check connectivity.
Not unless there is a translation system in place. The datagrams for Ethernet and IEEE 802.3 are slightly different. This is a common problem because most users think that IEEE 802.3 is Ethernet.
Kerberos is a network security system developed at MIT. It provides encryption and validation services that are very difficult to break.
The basic socket commands are open, send, receive, status, close, and abort.
A TCB is a complex data structure that contains a considerable amount of information about a connection. There is a TCB for each connection.
An unspecified passive open has the server waiting for a connection request from a client. A fully specified passive open has the server waiting for a connection from a specific client.
The command getsockopt queries a socket and displays all information returned about the socket.
A fork is a UNIX process that creates a copy of the existing application, then executes it.