Networking Powerpoint


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Networking Powerpoint

  1. 1. Networking For VCE IT By Mark Kelly Manager, Information Systems McKinnon Secondary College Lecture notes:
  2. 2. Networking Year 11 IT – all of the topics can be covered at a relatively simple level ITA – topologies and protocols are not in the study design and cannot be directly assessed Software Development – all topics are relevant Note – several complex issues have been grossly simplified in this presentation. For example, detailed differences between switches and routers at the transport level are not necessary in any VCE course and will only serve to frighten sensitive souls.
  3. 3. What is a network – should I panic? At its simplest, a network is two or more computers that are connected so they can exchange information and share resources.
  4. 4. Networks can be classified by: Types of networks (LAN, WAN, Internet); (Client-Server, P2P); <ul><li>Their size </li></ul><ul><li>Their servers </li></ul><ul><li>How they are linked together </li></ul>(cable, wireless); <ul><li>Their ‘logical’ shape </li></ul>(bus, star, tree ); <ul><li>How network messages travel </li></ul>(Ethernet’s CSMA/CD) <ul><li>The rules they use to exchange data </li></ul>(protocols – TCP/IP).
  5. 5. Why network? <ul><li>Efficiency – Better, faster communication – email, videoconferencing </li></ul><ul><li>Cost savings (email vs phone calls, physical travel), </li></ul><ul><li>Staff savings (e.g. networked helpdesk), </li></ul><ul><li>Equipment savings: printers, internet connections, internet cache, CD drives </li></ul><ul><li>Effectiveness – collaborative work is easier, access to resources is broader, group calendaring </li></ul><ul><li>Management - control over internet & printing, staff monitoring </li></ul><ul><li>Company image and “reach” – internet visibility makes any company international and accessible and “with it” </li></ul><ul><li>Customer service – many more ways to help customers (e.g. FAQ, downloads, online advice, email contact) </li></ul>
  6. 6. LANs – local area <ul><li>Geographically limited, usually to one site. </li></ul><ul><li>Can be cabled (usually UTP, fibre optic, coaxial) or wireless. </li></ul>Types of networks, by size
  7. 7. WANs – Wide Area <ul><li>Broad geographic coverage (e.g. state-wide, country-wide) </li></ul><ul><li>Connections use landline data cables (e.g. ISDN, ADSL), microwave, satellite. </li></ul><ul><li>Virtual Private Networks (VPN) can form a private network using the internet as a communication channel – much cheaper than leased ISDN lines. </li></ul>Types of networks, by size
  8. 8. The internet Made up of inter-networked WANs. No central boss. Users make and enforce rules. Uses all forms of media Mesh topology (many possible routes from A to B)
  9. 9. Server-Based Networks <ul><li>Client/Server model </li></ul><ul><li>Automatically a pretty expensive choice compared to P2P </li></ul><ul><li>File server at the heart of the network </li></ul><ul><ul><li>Server runs the Network Operating System (NOS) </li></ul></ul><ul><ul><li>Controls access to data and equipment </li></ul></ul><ul><ul><li>Runs ‘community’ programs </li></ul></ul><ul><ul><li>Offers control, security, centralisation, automation </li></ul></ul>
  10. 10. Peer-to-Peer (P2P) networks <ul><li>No server, cheap, simple, easy to run </li></ul><ul><li>All users have equal authority and rights </li></ul><ul><li>Little protection from each other </li></ul><ul><li>Used at home or in small orgs with trusted users </li></ul><ul><li>Share files, internet connection, printer </li></ul><ul><li>Internet music sharing networks (e.g. Kazaa) are P2P - no central computer; data and software on users’ computers. </li></ul><ul><li>P2P built into Win, Linux, Mac </li></ul>
  11. 11. Protocols Communication protocols are agreed sets of rules and procedures for computers to exchange information. Like humans agreeing to speak the same language during a conversation. For two computers to exchange data, they must be using the same protocols.
  12. 12. Human Protocols <ul><li>during a phone call, saying “Uh huh”, “Mmmm” or “Yeah” while the other person speaks </li></ul><ul><li>nodding to show understanding </li></ul><ul><li>waiting for the other person to stop talking before you start </li></ul><ul><li>raising pitch of voice after a question </li></ul><ul><li>airline pilots speak English, refer to heights in feet, agree on which direction to turn to avoid collision, pronounce 9 as “niner”, spell out letters with words (Alpha, Bravo, Charlie etc.) </li></ul>
  13. 13. Network Protocols There is a standard protocol for each network communication task, such as: - how to send data over the Internet (TCP/IP) - how to send and receive email (POP, IMAP) - how to request and deliver web pages (HTTP) - how to request and deliver files (FTP)
  14. 14. Choosing Protocols Sometimes there is more than one choice of protocol for a task, such as how messages pass across a network (IPX/SPX vs TCP/IP, POP vs IMAP). As long as all the connected computers use the same protocol, it really does not matter which protocol is used (like diplomats agreeing on a language for negotiations) The internet only works because TCP/IP, POP, FTP and HTTP are universal standards, used by all shapes and sizes of computers.
  15. 15. The King of Protocols – TCP/IP The universal protocol for internet communications. The backbone of the internet. Made up of 2 complementary protocols… TCP (Transport Control Protocol) and IP (Internet Protocol)
  16. 16. Protocols – TCP <ul><li>TCP (Transport Communication Protocol) </li></ul><ul><li>Breaks files into packets to be sent across the internet or a network. Each packet contains: </li></ul><ul><li>the address of the sender </li></ul><ul><li>the destination address </li></ul><ul><li>error-detecting checksum </li></ul><ul><li>a chunk of data (e.g. 1K) </li></ul>
  17. 17. Protocols – TCP/IP <ul><li>IP (Internet Protocol)… </li></ul><ul><li>Once a file has been chopped into packets, the IP protocol delivers each packet to its destination. </li></ul><ul><li>each packet can take a different route from A to B, bouncing from router to router getting more precise with each hop. </li></ul><ul><li>the route is dynamically chosen for each packet, based on internet conditions at that time. </li></ul>
  18. 18. Protocols – TCP/IP TCP again… At the packets’ destination the receiving computer’s TCP re-assembles packets back into the original file. Recalculates checksum to see if packet is OK If packets are damaged, lost or delayed in transit, TCP will request the server to send the packet again.
  19. 19. Packet Switching Any protocol that breaks files into packets (like TCP/IP does) is called packet switching . (Compare with circuit switching used by telephones where a full-time path is set up for the duration of the communication)
  20. 20. Packet Switching <ul><li>Why use packet switching? </li></ul><ul><li>A single bad bit in a file can ruin an entire file. </li></ul><ul><li>It’s quicker to re-send a portion of the file rather than the whole file. </li></ul><ul><li>Important with ‘noisy’ and unreliable communication paths, such as dial-up modem. </li></ul><ul><li>Many computers get to transmit some data, rather than 1 PC tying up a channel for ages with a huge transfer. </li></ul><ul><li>Imagine mailing a house from Melbourne to Sydney one brick at a time. </li></ul>
  21. 21. Addressing <ul><li>Like telephones, every node on a network must have a unique identifier so the file server knows who is requesting information, and who is to be sent information. </li></ul><ul><li>This unique network address is hardwired into the network card of each computer. </li></ul><ul><li>Also, every active node of the internet needs a unique identifying address so TCP/IP knows where packets are to be sent. </li></ul><ul><li>This is an I nternet P rotocol, or IP address. </li></ul>
  22. 22. Internet Addressing Humans like working with names (e.g. but computers use IP numbers (e.g. IP address has four ‘octets’ separated by dots, each octet can be between 0 and 255. Remember - all internet communications use IP addresses, not URLs. Only humans use URLs.
  23. 23. Addressing Domain name servers (DNS) – a distributed database on thousands of computers across the world - convert URLs into IP addresses. Like a phone book – look up a name (URL) to get a number (IP address).
  24. 24.   <ul><li>A “Networking Technology” defines how packets are handled and what the hardware is like. </li></ul><ul><li>The only networking technology worth knowing is Ethernet </li></ul><ul><li>Used everywhere by everyone (except a few odd people who aren’t worth worrying about) </li></ul><ul><li>Uses coaxial, UTP, fibre-optic cable, and wireless. </li></ul><ul><li>Ethernet defines both protocols (CSMA/CD) and cabling (e.g. UTP, thick coax, fibre), speeds etc. </li></ul>NETWORKING TECHNOLOGIES
  25. 25. Ethernet – 10Base-huh? 10Base-T = twisted pair (e.g. UTP). 10Mbps , max length 100m, RJ45 connectors. 10Base2 = uses thin coaxial (RJ58) cable – max length 195m. 10 Mbps. BNC connectors. 10Base5 = uses thick coaxial – max length 500m. Used mainly for backbones, cable TV. 10Base-F – fibre optic cable on 10Mbps networks – can get up to 2,000 megabits/sec (2Gbps) on the right network. 10Base-35 – broadband coaxial cable. Max length 3,600m.
  26. 26.   How Ethernet Works Network devices compete for attention using C arrier Sense Multiple Access with Collision Detection ( CSMA/CD ). Keep in mind: Only one signal can travel down a cable at a time. CS = Carrier Sense . Before transmitting over the network, a computer first &quot;listens&quot; and waits until there is no activity on the cable. When it sees its chance, it transmits.
  27. 27.   <ul><li>MA = Multiple Access . When one Ethernet station transmits, all the stations on the cable hear the transmission </li></ul><ul><li>CD = Collision Detection . Carrier sense does not guarantee that two devices will not sense the same silence and transmit simultaneously, and cause a ‘collision’. CD detects this event. </li></ul><ul><li>Each node involved in the collision waits a random number of milliseconds, then repeats the transmission attempt. </li></ul><ul><li>The random waiting time prevents endless further collisions. </li></ul>
  28. 28.   A ‘node’ is any device attached to a network that is capable of requesting and sending packets (e.g. Usually a PC, network printer) When a node wants to communicate to another node, it transmits its addressed packet. The packet travels to every node on the segment . Each node inspects the packet to see if it is addressed to him. If not, the node ignores the packet. If so, the node opens the packet and reads its contents.
  29. 29.   Huh? Network segments? A network segment is a self-contained section of a network bounded by a bridge, router, or switch. Using segments reduces network congestion. Like classrooms in a school.
  30. 30. Network Hardware <ul><li>The main bits of network hardware: </li></ul><ul><li>Cables </li></ul><ul><li>Network interface cards (NIC) </li></ul><ul><li>Server (e.g. file server, proxy, DHCP, web servers) </li></ul><ul><li>Switches (rarely, hubs) </li></ul><ul><li>Routers – now SOHO (Small Office / Home Office) combined boxes contain an ADSL modem, a router, wireless access point (WAP), switch, print server, coffee maker etc) </li></ul>
  31. 31. The modem Modulator/demodulator Transmission speed is measured in bits per second ( not bytes per second!) 56Kbps modem downloads at a theoretical maximum of approx 56,000 bits per second (about 7KB/sec). Can only transmit (upload) at 33.6kbps. Modulate = turn digital data into analogue sound for transmission over phone network. (when uploading) Demodulate (when downloading) = convert sound back to digital data.
  32. 32. Hardware - NIC <ul><li>The Network interface card (NIC) allows a stand-alone computer to connect to a network. </li></ul><ul><li>Can be cabled or wireless (radio) </li></ul><ul><li>Often now built into motherboards </li></ul>This old ‘combo’ NIC accepts both BNC (coaxial) and RJ45 (UTP) connectors.
  33. 33. Internet Choices Not all options are available to everyone, especially those not in major cities <ul><li>ADSL, ADSL2 (256Kbps-24Mbps) </li></ul><ul><li>Cable (up to 5Mbps) </li></ul><ul><li>Satellite – 1 way or 2 way </li></ul><ul><li>Dialup (analogue, 56Kbps over phone lines) </li></ul><ul><li>WAN Wireless (e.g. iBurst) </li></ul><ul><li>ISDN (no way!) </li></ul>
  34. 34. Hardware - NIC <ul><li>N etwork I nterface C ard </li></ul><ul><li>Rated by speed: 10, 100, or ‘Gigabit’ 1000Mbps. </li></ul><ul><li>For a NIC to work at its maximum speed, all the other network devices between it and the server must have at least the same bandwidth (data-carrying capacity). </li></ul><ul><li>‘ Auto-sensing’ e.g. 10/100/1000 NICs adjust themselves to the best possible speed. </li></ul><ul><li>Tip: go for GIGABIT NIC in servers </li></ul>
  35. 35. Hardware – Switches and Hubs Switches (and hubs) are connection points where cables can join up or be split. Typically, a single incoming cable is split into multiple outgoing cables.
  36. 36. Switches and hubs <ul><li>Hubs and switches are the same except… </li></ul><ul><li>Dumb Hubs pass along all network traffic they receive (e.g. PA system) </li></ul><ul><li>Switches (“switching hubs”) are clever enough to only pass on relevant network traffic to recipients (like a phone call) </li></ul><ul><li>Switches greatly reduce network congestion. </li></ul><ul><li>Come in various sizes (number of ports) </li></ul>
  37. 37. <ul><li>WISDOM for U4O2 and exam </li></ul><ul><li>NEVER recommend hubs! </li></ul><ul><li>Switches are always best (unless an org has a free hub available for a tiny LAN) </li></ul><ul><li>No cost difference anyway </li></ul><ul><li>Switches make a network far faster </li></ul><ul><li>HANDY SWITCH OPTIONS </li></ul><ul><li>Some switches have a fibre optic port </li></ul><ul><li>Some have a gigabit port </li></ul>
  38. 38. Hardware – Routers <ul><li>4 main roles… </li></ul><ul><li>Route packets across networks and internet </li></ul><ul><li>Act as a security device to guard the connection between a LAN and the outside world (another LAN or a WAN.) </li></ul><ul><li>Divide LANs into self-contained, protected areas, e.g. admin / student networks in a school. </li></ul><ul><li>Join dissimilar networks together, like a gateway (as the original routers used to be called) </li></ul>
  39. 39. Hardware – Routers <ul><li>Act as a firewall at home, replacing software firewalls like Zone Alarm </li></ul><ul><li>Can be programmed to only allow authorised incoming and outgoing traffic. E.g. can block certain sites, forbid MP3 music files to enter. </li></ul><ul><li>Most home routers also have a built-in mini-switch but remember … a switch is not a router ! </li></ul><ul><li>Home routers often combine: switch, ADSL modem, print server </li></ul>
  40. 40. Connections – UTP <ul><li>UTP (Unshielded Twisted Pair) e.g. CAT6 (‘Category 6’) </li></ul>
  41. 41. Connections – Coaxial Coaxial cable <ul><li>Now extinct </li></ul><ul><li>Shielded from interference </li></ul><ul><li>Thick and thin varieties </li></ul><ul><li>Range: Thin-185m, thick-500m </li></ul><ul><li>Needs terminator at end of cable </li></ul><ul><li>Higher data capacity than UTP </li></ul><ul><li>Connectors can fail </li></ul><ul><li>Can be daisychained with BNC (Bayonet) T-pieces and joined with I- pieces </li></ul>
  42. 42. Word of Wisdom DO NOT RECOMMEND THIN OR THICK COAXIAL ALWAYS UTP (Cat6) or FIBRE OPTIC (for long distances or very high bandwidth)
  43. 43. Connections – Fibre optic <ul><li>Made of glass (or plastic) </li></ul><ul><li>Optical, not electrical – little signal fade </li></ul><ul><li>Optical Signals created by LED or laser </li></ul><ul><li>Multiple signals on a single fibre </li></ul><ul><li>Resists EMI </li></ul><ul><li>Light signals bounce down Fibre Optic cable using Total Internal Reflection . </li></ul>
  44. 44. Connections – Fibre Optic <ul><li>Core is as thin as a human hair </li></ul><ul><li>Not very flexible – needs thick protective coat </li></ul><ul><li>VERY fast </li></ul><ul><li>VERY high bandwidth </li></ul><ul><li>Very secure (can’t be tapped or snooped) </li></ul><ul><li>VERY long distance (>2km without repeaters) </li></ul><ul><li>Light weight, small size </li></ul><ul><li>Expensive adaptors to convert digital <> electrical signals </li></ul>
  45. 45. Connections – Cables and wireless Many fibre optic cable (‘FOC’) threads can be bound into a slim, single cable without their signals interfering with each other, giving massive data throughput. FOC is replacing old, heavy, expensive copper cables to cross oceans   Warning! Sharks can damage your network!   Sharks get over-excited by the electromagnetic fields radiated by copper cable. FO is silent.
  46. 46. Connections – Wireless <ul><li>Data sent as radio signals between NICs and base stations (WAP=wireless access point) </li></ul><ul><li>short distances (e.g. 80m-200m), reduced by obstacles </li></ul><ul><li>Speeds of 54Mbps and increasing </li></ul><ul><li>Encrypted to prevent eavesdropping </li></ul>
  47. 47. Wireless <ul><li>Many PCs can connect to a base station, share its bandwidth </li></ul><ul><li>PCs can “roam” and will automatically connect to the base station that has the strongest signal </li></ul><ul><li>Wireless NICs and antennae now built into laptops </li></ul>
  48. 48. Connections – Wireless <ul><li>Good for temporary networks, or when PCs rarely needed in a location </li></ul><ul><li>Good for laptop-intensive places (e.g. classrooms, staffrooms). Great at home </li></ul><ul><li>Relatively expensive compared to cable, but a useful network add-on </li></ul><ul><li>Security concerns – never run it unsecured! </li></ul>Wireless base station & white radio antenna
  49. 49. Servers Robust central computers at the heart of a network. File servers are the most common server type.
  50. 50. File Servers <ul><li>File servers run the Network operating system (NOS) which handles : </li></ul><ul><li>authenticating users during login </li></ul><ul><li>controlling users’ access to resources based on their rights </li></ul><ul><li>managing print queues </li></ul><ul><li>doing backups </li></ul><ul><li>running centralised software such as virus scanners </li></ul><ul><li>running services like DHCP to give out IP addresses to workstations </li></ul><ul><li>controlling internet services </li></ul>
  51. 51. Network Operating Systems <ul><li>The most popular NOSes are: </li></ul><ul><li>Novell Netware (better, more expensive at first, cheaper over time) </li></ul><ul><li>Microsoft Server 2003 (now dominant) </li></ul><ul><li>They offer similar services. </li></ul>
  52. 52. File Servers Servers don’t really have anything special in terms of hardware. Expensive because of their high-quality components, and “scalability” (expandability). <ul><li>Memory – servers love lots of RAM. </li></ul><ul><li>Storage –need large and fast hard disks – often RAID (discussed soon) </li></ul>
  53. 53. File Servers vs Desktops 1 <ul><li>CPU Processing power – not very important in a file server </li></ul><ul><li>Backup – most servers have inbuilt high-capacity tape backup drives to protect against data loss. Tape drives usually use QIC (Quarter Inch Cartridge) DAT (Digital audio tapes) tapes. </li></ul>Servers are the muscle men in the computer world
  54. 54. File Servers vs Desktops 2 Connectivity – servers often have two or more gigabit NICs to increase their data-throughput. Robustness - servers run all day for years, and need rugged high-quality components Scalability –the ability to increase the size and power of equipment and networks as required e.g. add 8 hard disks, two power supplies, two NICs, two CPUs, lots of RAM etc. Designing and engineering this expandability is expensive.
  55. 55. R.A.I.D. Redundant Array of Independent Disks ) arrays for reliability and/or speed. RAID uses a group of hard disks that work as a single disk under a RAID controller. Flavours of RAID: RAID0 to RAID10 (RAID 1 + RAID 0) offer reliability and/or speed (at ever-increasing cost). Includes mirroring (for reliability) and striping (spanning a logical single volume over several physical disks for greater performance – several simultaneous disk reads/writes are possible). RAID disks are usually &quot;Hot Swap“ – no server downtime to replace sick disks. EXPENSIVE – needs justifying for small org 3-disk RAID array
  56. 56. Server farms <ul><li>On smaller networks, network services are performed by software in a single server. </li></ul><ul><li>On busy LANs, multiple servers share the work… </li></ul><ul><li>Login servers – authenticate users </li></ul><ul><li>Proxy servers – cache downloads </li></ul><ul><li>DHCP servers – allocate IP addresses </li></ul><ul><li>Print servers –manage print job queues </li></ul><ul><li>Web/FTP servers – serve web pages or files </li></ul><ul><li>Email servers –handle email </li></ul>
  57. 57. Network Topologies <ul><li>A network topology is a logical (idealised) shape of a network’s wiring. The main topologies: </li></ul><ul><li>Bus </li></ul><ul><li>Star </li></ul><ul><li>Tree* </li></ul><ul><li>Ring* </li></ul><ul><li>Mesh* </li></ul>Each has its pros and cons: cost, complexity, reliability and susceptibility to congestion. *not examinable
  58. 58. Bus Topology Many devices connect to a single cable backbone cable as a daisychain. If the backbone breaks, the entire segment fails – like Christmas tree lights. DO NOT RECOMMEND IT IN THE EXAM!
  59. 59. Bus Topology <ul><li>Relatively cheap and easy to install </li></ul><ul><li>Don't require much cabling </li></ul><ul><li>Gets congested with too many nodes </li></ul><ul><li>Not good for schools </li></ul><ul><li>OK for small LANs </li></ul><ul><li>NEED COAXIAL CABLE AND NICs so is EXTINCT nowadays! </li></ul>
  60. 60. * Star Topology * <ul><li>central connection point (a switch) with cables branching to many computers. </li></ul><ul><li>Not a server with 4 NICs!!! </li></ul><ul><li>If a cable fails, only one node will fail. </li></ul><ul><li>prone to traffic bottlenecks at the centre of the star </li></ul><ul><li>RECOMMEND THIS for small networks! </li></ul>
  61. 61. Tree Topology* Combines bus and star topologies. It looks like a tree. Very common in larger networks. *not examinable e.g. one cable from a file server leads to a 24 port switch. Many cables branch from this switch to the computers in the computer room. They share the bandwidth of the incoming cable.
  62. 62. Mesh Topology* Multiple routes from one node to any other.   Hardly ever found cabled in real-life in real networks: really only appears in The Internet to give near-perfect reliability. DO NOT RECOMMEND IT IN A TYPICAL CASE STUDY *not examinable
  63. 63. Network Physical Security <ul><li>File server failure can severely affect network users. </li></ul><ul><li>Server security: </li></ul><ul><li>Locked in air-conditioned, alarmed room with barred windows, restricted keys </li></ul><ul><li>No user access to server </li></ul><ul><li>Uninterruptible power supply (UPS) protects against blackouts, brownouts and voltage spikes. </li></ul><ul><li>Accessible fire fighting equipment. </li></ul><ul><li>Locked floppy disk drives </li></ul>   
  64. 64. Network Electronic Security     Passwords are not strong protection – they can be guessed, forgotten or stolen.
  65. 65. Network Security     Daily backups are vital. Massive cost and effort to recover a single megabyte of lost data. Organisations need a data disaster recovery plan so they know what to do to recover from catastrophic data loss .
  66. 66. Encryption     <ul><li>A form of Electronic Security </li></ul><ul><li>Makes data unreadable to unauthorised people even if a file is stolen. </li></ul><ul><li>  Web browsers use encryption to connect to a “Secure” SSL (Secure Socket Layers) site. </li></ul>
  67. 67. Network Security     TROJAN HORSES attempting to report ‘home’ or start a DOS/DDOS attack - can be blocked by a firewall. FIREWALLS in hardware (routers) or software (e.g. Zone Alarm) check for unauthorised incoming or outgoing network traffic, e.g. port scanning, being enslaved to help with a distributed denial-of-service (DDOS) or spam attacks. VIRUSES can disclose user passwords, steal information, destroy data, install “back doors” to let hackers in, clog print queues, disrupt Internet traffic, overload email servers etc. Keep scanners up to date.
  68. 68. Remember <ul><li>Exam case study will be a small organisation’s LAN. </li></ul><ul><li>Choose between P2P or Client-Server </li></ul><ul><li>If Client-Server, choose NOS - MS Server 2003 </li></ul><ul><li>Recommend… </li></ul><ul><ul><li>STAR topology, not bus </li></ul></ul><ul><ul><li>UTP - CAT5e or CAT6 cable, not coaxial </li></ul></ul><ul><ul><li>SWITCHES, not hubs </li></ul></ul><ul><ul><li>Wireless is now pretty cheap, reliable and flexible </li></ul></ul>
  69. 69. Thanks! Mark Kelly McKinnon Secondary College [email_address] VCEIT Lecture Notes: