710 likes | 724 Views
Learn about computer network architectures, components, servers, communication ports, NICs, addresses, hubs/switches, cabling, and more from Dr. John P. Abraham at the University of Texas Pan American.
E N D
Information Technology Computer Networking Dr. John P. Abraham Dr. John P. Abraham, University of Texas Pan American
Computer network architectures • the client server • all communication happens between the server and the client only. • A client does not communicate directly with another client. • If a client wishes to share a file with another client, it must place the file in a commonly shared area at the server. • In case of an application, the client makes the request and the server processes the request and returns the result to the client. • the peer-to-peer • any node can act as a server as well as a client. • Only very limited security is available on a peer-to-peer network. Dr. John P. Abraham, University of Texas Pan American
Components used in a Computer Network • Computers • Communication ports • Cables • Hubs or switches • Routers • The network software. Dr. John P. Abraham, University of Texas Pan American
Computers in a Client/Server architecture • Must be be robust • must be able to run for months or years without being shut down. • Must be fast enough to handle many requests from all the requests from the clients. • Must have large fast hard drives to store information for all users. • Must have enough memory to cache all the directory information as well as most used pages. • The computers must be reliable in case of power failures and hardware failures: • sufficient redundancy must exist. Dr. John P. Abraham, University of Texas Pan American
Example of Types of Servers • Fileserver • print server • database server • domain name server • communication server • DHCP server • Name Server Dr. John P. Abraham, University of Texas Pan American
Communication ports • Network may be done through any communication ports such as serial, parallel, network cards, etc. • Most common Network Cards used today are Ethernet and Token Ring. Dr. John P. Abraham, University of Texas Pan American
Network Interface Card • Plug and play (PNP). • Open the computer, install the card, and insert the driver disk. • Legacy cards: • the interrupt request line (IRQ), base memory address, and the base I/O port must be manually set up on the card by setting the jumpers or DIP switches, or through the use of the manufacturer provided setup software. • Speed: 10 Megabits per second (Mbps), 100 Mbps (Fast Ethernet) or 1000 Mbps (Gigabit Ethernet) depending on the card. Dr. John P. Abraham, University of Texas Pan American
Connectors on NIC • The connector on most Ethernet cards today is the RJ-45 having 8 pins. • Older Ethernet cards may have a Bayonet Nut Connector (BNC), an Attachment Unit Interface (AUI), and/or a RJ-45 connector. A jumper or switch will specify the type of connector used. Dr. John P. Abraham, University of Texas Pan American
Network Addresses • Every computer connected to a network should have two unique identifying numbers, a physical address and an Internet Protocol (IP) address. • The physical address • a 6 Byte number, is encoded on a ROM chip on the Ethernet card at the time of manufacturing • the IP address • A 4 byte address • is used to send messages to the outside world. The physical address. • configured on each machine. Dr. John P. Abraham, University of Texas Pan American
Hub/Switch • A Hub or switch connects cables from different nodes together. When purchasing them the number of ports required and the speed of transmission must be specified. • An active hub amplifies all signals received and sends the amplified signals on all its ports. • Passive hubs are signal splitters and are used only in wiring panels. • Even though a little more expensive, a switch will provide faster communication and great deal of diagnostic features. • Switches provide link management through physical address identification. Dr. John P. Abraham, University of Texas Pan American
Hubs/Switches • As the network grows, multiple switches or hubs can be connected with each other using an uplink port or a direct connect cable. • Most modern switches have the auto-sensing feature, which will allow any port to work as an uplink. • The best location for a switch or hub is a centrally located closet to which cables from all computers are brought. Dr. John P. Abraham, University of Texas Pan American
Network Cabling • Cabling is the most time consuming part of networking, particularly when cables need to be hidden inside the walls. • For that reason it is advisable to have the cables installed or conduits placed at the time of the building construction. • To hide wires inside existing buildings, a tape fish will be needed. • It may be well worth the time to investigate the wireless technology, particularly when a small area is being networked. Dr. John P. Abraham, University of Texas Pan American
Network cabling 2 • Three types of cables are used today: coaxial, twisted pair, and fiber-optic. • Twisted pair cables either can be unshielded or shielded with a foil. • Unshielded twisted pair (UTP) cable can transmit 10 Megabits per second and the shielded can transmit more than 100 Mbps, perhaps all the way up to 1000 Mbps. • Wires in each pair are twisted to reduce cross-talk and minimize the effect of external electromagnetic interference. • Twisted pair cables are categorized into five categories, from Cat 1 to Cat 5, based on the bandwidth capabilities. • The maximum length of a segment is 100 meters. Dr. John P. Abraham, University of Texas Pan American
Network Cabling 3 • The UTP cable has 4 pairs of color-coded (orange, green, blue and brown) wires. • The color of one of the wires in a pair will be solid and the other will be striped with white. • Pins in the RJ-45 jack are numbered from 1 to 8. • When two computers are connected directly without the use of a hub or a switch some wires need to be crossed (Transmit to Receive). Such a cable is called a crossover cable. Crossover cables need to be used when two hubs or switches that lack uplink ports are connected together. Dr. John P. Abraham, University of Texas Pan American
T-568A Straight-Through Ethernet Cable Dr. John P. Abraham, University of Texas Pan American
T-568B Straight-Through Ethernet Cable Dr. John P. Abraham, University of Texas Pan American
RJ-45 Crossover Ethernet Cable Dr. John P. Abraham, University of Texas Pan American
Crossover cable Dr. John P. Abraham, University of Texas Pan American
Network Protocols • 7 layer OSI model • 5 layer TCP/IP suite • There exists three TCP/IP network environment today, Novell Networking, Microsoft Windows Networking, and the UNIX/LINUX networking. Dr. John P. Abraham, University of Texas Pan American
Network Operating Systems • The Novell Networking incorporates its original IPX/SPX protocol suite as well as the TCP/IP protocol suite. • Windows and Unix operating systems include TCP/IP networking as part of their operating system. • All versions of Windows provide the peer-to-peer networking capabilities, while the NT, 2000 professional, and the XP professional provide for Client/Server architecture. • The UNIX/LINUX has consistently adhered to the Client/Server architecture. Dr. John P. Abraham, University of Texas Pan American
Windows peer-to-peer networking • may use the TCP/IP protocol suite or some other simpler protocols such as the NetBIOS and the NetBEUI. • The NetBIOS, an application program interface (API) extends the BIOS to include the support for I/O calls over a network. • The NetBIOS Extnded User Interface (NetBEUI), developed by IBM and Microsoft, is the protocol used by Windows Workgroup networking. Dr. John P. Abraham, University of Texas Pan American
Windows peer-to-peer networking • NetBios is non-routable, therefore could not reach beyond the local physical network. • It does not require an IP address, rather works with the name registration within a workgroup. • In the newer Windows operating systems, the NetBEUI is encapsulated inside the TCP/IP, referred to as NetBIOS over TCP/IP (NBT), and uses the IP address. Dr. John P. Abraham, University of Texas Pan American
Configuring the windows network • From the control panel’s, local area network, add a NIC if it does not show up already. Insert the appropriate driver software. • Next Choose the protocols to be bound to the network card, NetBios, TCP/IP, IPX/SPX, Appletalk, etc. • Set up the properties for the protocol you chose. For example, for the TCP/IP, you will asked to either obtain the addresses automatically or type in the IP Address, mask, default gateway, and DNS. The default gateway is the address of the host through which internetworks can be reached (a router or a computer that shares Internet). DNS is the server that provides the IP address given a domain name. • Install the client services and give your computer a name and a group. • Finally, you may want to share your resources. Dr. John P. Abraham, University of Texas Pan American
Printing on a network • Network ready printers come already installed with a NIC. Configure an IP address for the printer either using the printer console buttons or using software provided by the manufacturer. • Under Windows check the list of printer ports for the TCP/IP port. If it is not there add it giving the appropriate IP address of the network printer. • Install the printer driver to complete the printer installation. • Alternatively, print queues can be setup on a print server. A client can then print to a print queue. Dr. John P. Abraham, University of Texas Pan American
Linux Network • The Linux will automatically detect the network card during installation and the device name “eth0” will be assigned to it. • Using the ifconfig, assign the IP address and subnet mask to the interface. • Next edit the /etc/hosts file and add the IP addresses and the corresponding symbolic name such as cs.panam.edu. • To convert a symbolic name to the IP address try running the nslookup (example nslookup panam.edu). • The nslookup command uses the /etc/resolv.conf file to find the host runs the name server software. The resolv.conf file needs to be edited to include the domain name server (DNS). For example, the file should include these lines: • domain cs.panam.edu • nameserver 129.113.132.237 • search cs.panam.edu Dr. John P. Abraham, University of Texas Pan American
Subnet Masks • Introduction • Explosive growth of the Internet • Two problems • Exhaustion of IP addresses • Routing Table growth Dr. John P. Abraham, University of Texas Pan American
Exhaustion of IP addresses • Hierarchical assignment • example - telephone numbers • Random assignment • example - IP addresses Dr. John P. Abraham, University of Texas Pan American
Growth of routing tables • routing table defined • reason for growth • 1990 - 5000 routes • 1995 - 35000 routes Dr. John P. Abraham, University of Texas Pan American
IP address defined • 32 bit number • octets • network portion • host portion Dr. John P. Abraham, University of Texas Pan American
Classes of IP addresses Dr. John P. Abraham, University of Texas Pan American
Usable net and host addresses • all zeros • this network • this computer • all ones • every host • broadcast • 2n-bits-2 Dr. John P. Abraham, University of Texas Pan American
# of usable networks and hosts Available Number Available Number Class bits of bits of in network networks in host hosts A 7 128 24 16,777,214 B 14 16,384 16 65,534 C 21 2,097,152 8 254 Dr. John P. Abraham, University of Texas Pan American
Subnet masks • purpose • Advantages • Disadvantages Dr. John P. Abraham, University of Texas Pan American
Anding with subnet masks • host 129.113.200.111 sends a packet to destination 129.113.200.120. • 10000001.01110001.11001000.01111000 destination address • AND 11111111.11111111.11111111.00000000 subnet mask • 10000001.01110001.11001000.00000000 destination on the same subnet • 129.113.200.0 – same as the source subnet address. • This destination address is on the same physical subnet as the source address. Now let us change the destination address to 129.113.191.121 and perform the same calculation: • 10000001.01110001.10111111.01101111 destination address • AND 11111111.11111111.11111111.00000000 subnet mask • 10000001.01110001.10111111.00000000 destination not on the same subnet • 129.113.191.0 – not same as the source subnet address. Dr. John P. Abraham, University of Texas Pan American
Case study • a small business firm with five departments each having twenty-five employees • will need 125 nodes for computers and five for printers • Choose the best fit from the following table: • Number of bits Number of subnets or hosts • 2 2 • 3 6 • 4 14 • 5 30 • 6 62 Dr. John P. Abraham, University of Texas Pan American
Subnet using 3 bits (mask=255.255.255.224) • Subnets in binary Subnets in decimal • 201.225.5.00100000 201.225.5.32 • 201.225.5.01000000 201.225.5.64 • 201.225.5.01100000 201.225.5.96 • 201.225.5.10000000 201.225.5.128 • 201.225.5.10100000 201.225.5.160 • 201.225.5.11000000 201.225.5.192 Dr. John P. Abraham, University of Texas Pan American
HOST ADDRESS FOR SUBNET 201.225.5.64 • Host addresses in binary • for subnet 201.225.5.64 Host addresses in decimal • 201.225.5.01000001 201.225.5.65 • 201.225.5.01000010 201.225.5.66 • 201.225.5.01000011 201.225.5.67 • 201.225.5.01000100 201.225.5.68 • 201.225.5.01000101 201.225.5.69 • 201.225.5.01000110 201.225.5.70 • 201.225.5.01000111 201.225.5.71 • … • 201.225.5.01011110 201.225.5.94 Dr. John P. Abraham, University of Texas Pan American
Subnet calculation given IP and Mask • Following our example let us take the IP address and subnet mask combination of 201.255.5.67 and 255.255.255.224. We need to use ANDing as given below to derive the subnet. • 201.225.5. 01000011 201.225.5.67 • AND 11100000 255.255.255.224 • -------------- • 01000000 201.225.5.64 Dr. John P. Abraham, University of Texas Pan American
Following Slides from your textbook Dr. John P. Abraham, University of Texas Pan American
Chapter Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of various network protocols Explain the role of a firewall Compare and contrast network hostnames and IP addresses Dr. John P. Abraham, University of Texas Pan American 40
Networking Computer network A collection of computing devices connected in order to communicate and share resources Connections between computing devices can be physical using wires or cables or wireless using radio waves or infrared signals Can you name some of the devices in a computer network? Dr. John P. Abraham, University of Texas Pan American 41
Networking Node(host) Any device on a network Data transfer rate (bandwidth) The speed with which data is moved from one place to anotheron a network Dr. John P. Abraham, University of Texas Pan American 42
Networking Computer networks have opened up an entire frontier in the world of computing called the client/server model Dr. John P. Abraham, University of Texas Pan American 43 Figure 15.1 Client/Server interaction
Networking Protocol A set of rules that defines how data is formatted and processed on a network; i.e., rules that allow client/server interaction File server A computer that stores and manages files for multiple users on a network Web server A computer dedicated to responding to requests (from the browser client) for web pages Dr. John P. Abraham, University of Texas Pan American 44
Types of Networks Local-area network(LAN) A network that connects a relatively small number of machines in a relatively close geographical area Ring topology connects all nodes in a closed loop on which messages travel in one direction Star topology centers around one node to which all others are connected and through which all messages are sent Bus topology nodes are connected to a single communication line that carries messages in both directions Dr. John P. Abraham, University of Texas Pan American 45
Types of Networks Ethernet The industry standard bus technology for local-area networks Figure 15.2 Various network topologies Dr. John P. Abraham, University of Texas Pan American
Types of Networks Wide-area network(WAN) A network that connects local-area networks over a potentially large geographic distance Metropolitan-area network(MAN) The communication infrastructures that have been developed in and around large cities Gateway One particular set up to handle all communication going between that LAN and other networks Dr. John P. Abraham, University of Texas Pan American 47
Types of Networks Figure 15.1 Local-area networks connected across a distance to create a wide-area network Dr. John P. Abraham, University of Texas Pan American 48
Internet Connections Internet backbone A set of high-speed networks that carry Internet traffic, provided by companies such as AT&T, Verizon, GTE, British Telecom, and IBM Internet service provider(ISP) A company that provides other companies or individuals with access to the Internet Dr. John P. Abraham, University of Texas Pan American 49
Internet Connections Various technologies available to connect a home computer to the Internet Phone modem converts computer data into an analog audio signal for transfer over a telephone line, and then a modem at the destination converts it back again into data Digital subscriber line (DSL) uses regular copper phone lines to transfer digital data to and from the phone company’s central office Cable modemusesthe same line that your cable TV signals come in on to transfer the data back and forth Dr. John P. Abraham, University of Texas Pan American 50