Lecture 2 -_understanding_networks_with_presenter_notes

831 views

Published on

Chapter 2 Internet Technology

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
831
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Application : Data Presentation : Data Session : Data Transport : Segment Network : Packet Data Link : Frame Physical : Bit
  • Different protocols offer different format/ service. Example: Server 10.1.1.1 Use HTTP to access Web Use FTP to access File Sharing
  • Reliability | Ketahanan : The ability of the OS to stably perform in any condition. Recover from any failures Performance| Prestasi : The ability of the OS to serve the clients in a seamless way. Adaptability | Kebolehsuaian: The ability of the OS to adapt to the request of different platforms Security | Keselamatan : The hardness/ ability of the OS to eliminate and repel threats. Scalability | :  The ability of the OS to continue to function well when it is changed in size or volume in order to meet a user need/ migrate to other network technologies.
  • There are a lot of OS platforms/ network device developers that uses the Internet: Apple OS X, Windows, Linux, Unix, Sun Cisco, 3Com, Huawei There must be a standard so that these OSs/devices can communicate.
  • Lecture 2 -_understanding_networks_with_presenter_notes

    1. 1. LECTURE 2: UNDERSTANDING NETWORKS
    2. 2. <ul><li>Network Terminology </li></ul><ul><li>Network Components </li></ul><ul><li>Operating Systems on the Network </li></ul><ul><li>The OSI Model and Networking </li></ul><ul><li>Addressing on a Network </li></ul><ul><li>How Data Travels on the Network: an Example </li></ul>
    3. 3. <ul><li>Network Adapter </li></ul><ul><ul><li>Usually an expansion card called NIC (Network Interface Card) </li></ul></ul><ul><li>Network Protocol </li></ul><ul><ul><li>A set of rules for network communications. Examples: </li></ul></ul><ul><ul><ul><li>OS protocols: TCP/IP, NetBEUI </li></ul></ul></ul><ul><ul><ul><li>Hardware protocols: Ethernet, Token Ring </li></ul></ul></ul><ul><li>Segments, Packets, Datagrams </li></ul><ul><ul><li>Small “chunks” of data that travel on network </li></ul></ul><ul><ul><li>In the network media, the packets travel in frames , which carry each data packet with a header and trailer to identify each packet </li></ul></ul>
    4. 4.
    5. 5. <ul><li>Hardware: </li></ul><ul><ul><li>Network Interface Card (NIC) </li></ul></ul><ul><ul><li>Servers </li></ul></ul><ul><ul><li>Workstations </li></ul></ul><ul><ul><li>Hub, MAU, Concentrator, Switch </li></ul></ul><ul><ul><li>Connectors </li></ul></ul><ul><ul><li>Cable </li></ul></ul><ul><ul><li>UPS </li></ul></ul><ul><li>Software: </li></ul><ul><ul><li>Operating Systems </li></ul></ul><ul><ul><li>Applications </li></ul></ul><ul><ul><li>Middleware </li></ul></ul>
    6. 6.
    7. 7. <ul><li>Communications between computers require network OS(es) and network protocols. </li></ul><ul><li>Functions of OS in a computer: </li></ul><ul><ul><li>manage applications, hardware, and connection to the network. </li></ul></ul><ul><ul><li>enabling the computers on the local area network (LAN) to share their resources </li></ul></ul><ul><li>Protocols specify network functionality. </li></ul><ul><ul><li>Using the same set of network protocols, different devices can communicate. </li></ul></ul><ul><ul><li>The selected network protocol must be supported by every operating system on the network. </li></ul></ul>
    8. 8. <ul><li>How resources are shared: </li></ul><ul><ul><li>peer-to-peer model : several computers using different operating systems in a small business or home can be connected to form a small LAN. </li></ul></ul><ul><ul><li>client/server model , a.k.a. domain model , a server is used to control which resources on the LAN are shared, and who can access these resources. </li></ul></ul><ul><li>Network OSes are used to manage resource sharing through mechanisms such as </li></ul><ul><ul><li>user account: a collection of all of the information that pertains to a user on a computer </li></ul></ul><ul><ul><li>authentication, validation, or logging on: The process of entering a correct user ID and password to gain access to a computer </li></ul></ul>
    9. 9. <ul><li>Windows 98 and Windows Me </li></ul><ul><li>Windows NT Workstation, Windows 2000 Professional, Windows XP </li></ul><ul><li>Linux </li></ul><ul><li>Macintosh OSes e.g. Mac OS X </li></ul>
    10. 10. <ul><li>can be installed on a server and used to manage network resources, including user accounts, printers, and file sharing across the LAN. </li></ul><ul><li>Windows NT Server, Windows NT Enterprise Server </li></ul><ul><li>Windows 2000 </li></ul><ul><li>Windows Server 2003 </li></ul><ul><li>Novell NetWare </li></ul><ul><li>UNIX, Linux </li></ul>
    11. 11. <ul><li>Some criteria to consider when selecting a NOS are as follows: </li></ul><ul><ul><li>Reliability </li></ul></ul><ul><ul><li>Performance </li></ul></ul><ul><ul><li>Adaptability </li></ul></ul><ul><ul><li>Affordability </li></ul></ul><ul><ul><li>Security </li></ul></ul><ul><ul><li>Scalability </li></ul></ul><ul><ul><li>Ease of use and ease of installation </li></ul></ul>
    12. 12.
    13. 13. <ul><li>In an effort to identify and standardize all the levels of communication needed in networking, ISO developed a networking model called the Open Systems Interconnection (OSI) reference model . </li></ul><ul><li>The OSI reference model provides a universally accepted reference illustrating how data is transmitted on a network or between two or more networked devices. </li></ul>
    14. 14.
    15. 15. <ul><li>Physical Layer </li></ul><ul><li>Physical layer is responsible for: Passing data packets on to the cabling or wireless media (whether the media be cabling or wireless). </li></ul><ul><li>Data Link Layer </li></ul><ul><li>Data Link layer is responsible for: Receiving packets of data from the Network layer and presenting them to the Physical layer for transport. </li></ul><ul><li>E.g: NIC (with firmware) </li></ul><ul><li>When software is permanently embedded on a hardware device, it is called firmware . </li></ul>
    16. 16. <ul><li>Network Layer </li></ul><ul><li>Network layer is responsible for: Dividing a block of data into segments that are small enough to travel over a network. </li></ul><ul><li>Segments of data are called packets, data packets, or datagrams and contain data, along with special identifying information in headers and trailers at the beginning and end of the packet. </li></ul>
    17. 17. <ul><li>Transport Layer </li></ul><ul><li>Transport layer is responsible for: Error checking and requests retransmission of data if it detects errors. </li></ul><ul><li>The Transport layer might or might not guarantee successful delivery of data (depends on the transport protocol used). </li></ul><ul><li>Session Layer </li></ul><ul><li>Session layer is responsible for: Establishing and maintaining a session between two networked stations or hosts. </li></ul><ul><li>A host is any computer or other device on a network that has been assigned an IP address. </li></ul>
    18. 18. <ul><li>Presentation Layer </li></ul><ul><li>Presentation layer is responsible for: receiving requests for files from the Application layer, and presents the requests to the Session layer. </li></ul><ul><li>The Presentation layer reformats, compresses, or encrypts data as necessary. </li></ul><ul><li>Application Layer </li></ul><ul><li>The Application layer of the OSI model is responsible for interfacing with application software, such as Web browsers or Web servers. </li></ul>
    19. 19. <ul><li>The Web browser wants to make a request to a Web server, and processes the request using an API ( Application Program Interface )call to the OS. </li></ul><ul><li>The API process packages the data using HTTP format, which includes an HTTP header, and addresses it to an IP address and port 80, which is the default port for a Web server. </li></ul>Fig 5-33 An application asks the OS to do something using an API call
    20. 20. <ul><li>HTTP delivers the package to TCP, giving the destination IP address and port. </li></ul>
    21. 21. <ul><li>TCP hands the data off to IP, which resides in the network layer and is also managed by the OS. </li></ul>
    22. 22. <ul><li>The data with its header information is a long stream of bytes. IP breaks it into individual packets. IP adds its own IP header that contains its own IP address (source) and the server’s IP address (destination). IP passes the packets off to the hardware (NIC). </li></ul>Fig 5-36 IP divides data into packets, which are then released to the network
    23. 23. <ul><li>On the NIC, each packet is given information at its beginning and end in the form of frame. A checksum is calculated using a technique called cyclical redundancy check (CRC) . Then each frame is sent off to the Ethernet cable. </li></ul><ul><li>At the destination, the checksum is verified and passed to the IP layer to be regrouped. </li></ul>
    24. 24. <ul><li>IP then passes the reassembled data and header stream on to the TCP layer who acknowledges the TCP layer on the client. </li></ul>
    25. 25. <ul><li>The HTTP server, listening at port 80, receives the data and passes it on to the Web server. </li></ul>
    26. 26.
    27. 27.
    28. 28. <ul><li>TCP/IP covers the first five layers of the OSI model, and is included in an operating system as a group of utilities called the TCP/IP stack. </li></ul><ul><li>Figure 5-41 shows the four major groupings of the OSI model as applied to TCP/IP networks. </li></ul>
    29. 29.
    30. 30. <ul><li>The first three layers of the OSI model are handled by the protocol specific to the application using it and are best treated as a single group rather than unique layers. </li></ul><ul><li>The language or protocol each of these applications uses is listed at the Application, Presentation, and Session layers. </li></ul>
    31. 31. <ul><li>A TCP/IP network has two protocols that work at the Transport layer; one protocol guarantees delivery and the other does not. </li></ul><ul><li>With TCP/IP, the protocol that guarantees delivery is TCP and the protocol that does not is UDP (User Datagram Protocol) . </li></ul><ul><li>TCP is used for client and server requests and responses. </li></ul>
    32. 32. <ul><li>Because TCP establishes a connection, it is called a connection-oriented protocol . </li></ul><ul><li>UDP is a protocol that sends data without caring about whether the data is received. </li></ul><ul><li>It does not establish a connection first; thus, it is called a connectionless protocol. </li></ul>
    33. 33. <ul><li>TCP and UDP communicate with the Network layer, which is sometimes called the Internet layer. </li></ul><ul><li>Some of the other supporting protocols include ARP (Address Resolution Protocol) , responsible for locating a host on a LAN; RARP (Reverse Address Resolution Protocol) , responsible for discovering the Internet address of a host on a LAN; and ICMP (Internet Control Message Protocol) , responsible for communicating problems with transmission to devices that need to know about these problems. </li></ul>
    34. 34. <ul><li>PPP (Point-to-Point Protocol) is used over telephone lines, and allows a computer to connect to a network using a modem. </li></ul><ul><li>PPP is the most popular protocol for managing network transmission from one modem to another. </li></ul>
    35. 35.
    36. 36. <ul><li>MAC addresses function at the lowest (Data Link) networking level. </li></ul><ul><li>If a host does not know the MAC address of another host on a local area network, it uses the operating system to discover the MAC address. </li></ul>
    37. 37. <ul><li>All the protocols of the TCP/IP suite identify a device on the Internet or an intranet by its IP address. </li></ul><ul><li>An IP address is 32 bits long, made up of 4 bytes separated by periods. </li></ul><ul><li>Within an IP address, each of the four numbers separated by periods is called an octet . </li></ul><ul><li>The first part of an IP address identifies the network, and the last part identifies the host. </li></ul>
    38. 38. <ul><li>IP addresses that can be used by companies and individuals are divided into three classes: Class A, Class B, and Class C, based on the number of possible IP addresses in each network within each class. </li></ul><ul><li>The group of IP addresses assigned to an organization are unique to all other IP addresses on the Internet and are available for use on the Internet. </li></ul><ul><li>The IP addresses available to the Internet are called public IP addresses . </li></ul>
    39. 39. <ul><li>Private IP addresses are IP addresses that are assigned by a network administrator for use on private intranets that are isolated from the Internet. </li></ul><ul><li>The RFC 1918 recommends that the following IP addresses be used for private networks: </li></ul><ul><ul><li>10.0.0.0 through 10.255.255.255 </li></ul></ul><ul><ul><li>172.16.0.0 through 172.31.255.255 </li></ul></ul><ul><ul><li>192.168.0.0 through 192. 168. 255.255 </li></ul></ul>
    40. 40. <ul><li>Instead of IP addresses permanently being assigned to computers (called static IP addresses ), an IP address is assigned for the current session only (called a dynamic IP address ). </li></ul><ul><li>Internet service providers (ISPs) are organizations through which individuals and businesses connect to the Internet. </li></ul>
    41. 41. <ul><li>If the hosts on a network using private IP addresses need to access the Internet, a problem arises because the private IP addresses are not allowed on the Internet. </li></ul><ul><li>The solution is to use NAT (Network Address Translation) , which uses a single public IP address to access the Internet on behalf of all hosts on the network using other IP addresses. </li></ul>
    42. 42. <ul><li>Because of an impending shortage of IP addresses, as well as some limitations in the current standards for IP, a new scheme of IP addresses called the IPv6 (IP version 6) standard is currently being developed and implemented. </li></ul><ul><li>Current IP addresses using the current IPv4 (IP version 4) have 32 bits with eight bits in each of four octets. </li></ul>
    43. 43. <ul><li>With the new system, each address segment can have 32 bits, for a total of 128 bits for the entire address. </li></ul><ul><li>A disadvantage of IPv6 is the fact that so much software used on the Internet would become outdated because current software is designed to hold 32-bit IP addresses and, with the new system, this number would no longer be sufficient. </li></ul>
    44. 44. <ul><li>A port is a number used to address software or services running on a computer. </li></ul><ul><li>A host computer might have several services running on it. </li></ul><ul><li>Each server running on the host is assigned a port. </li></ul><ul><li>The port is written at the end of the IP address, separated from the IP address with a colon—like this: 169.49.209.19:80 </li></ul>

    ×