560 likes | 573 Views
Learn about inter and intra-network systems, heterogeneous environments, and internet resources. Understand the basics of LANs and their advantages and disadvantages. Explore different network topologies including bus/tree and star-wired bus.
E N D
Networks and Protocols CE00997-3 Week 1a
Staff • Module leader/lectures: Mr Chris Howard • Room: K216 • Email: c.howard@staffs.ac.uk • Tel: 01785 35 (3304) • Tutorials: Mr John Cowley • Room: K216 • Email: j.cowley@staffs.ac.uk • Tel: 01785 35 (3304)
Course schedule All slides will be hosted on blackboard, please do not print off to many weeks in advance
Delivery • 1 x 2 hour lectures per week • 1 x 2 hour tutorials per week • Attendance is required at all classes • If you have any questions, PLEASE ask, do not leave then until week 12!
Assessment • 1 x in-class test • This will be in week 12 in the last lecture • 1 x project (individual) submitted in week 12 • If the work is submitted let it attracts a score of zero unless extenuating circumstances are upheld
Heterogeneous environments Internet Resources Windows for Workgroups Windows NT (Including RAS) LAN Manager for UNIX Host TCP/IP-Based Printers Microsoft TCP/IP Apple Macintosh Systems LAN Manager IBM Mainframes UNIX Host NFS Hosts DEC Pathworks for VMS
Definition of a Network • What quantifies a network? • 2 more computers that can utilise data communications (peer to peer)
Definition • Is the previous definition correct? • Partially • It does not have to be 2 computers • It is 2 devices that share data and/or information. • Information is processed data!
LAN connections • Are 2 x PC’s that are connected with a piece of cable, Network cards and appropriate software a network? • Are 3 truck drivers with CB radios a network? • Are mobile phone owners a network?
Networks • The answer to all of the questions is YES • The computers are a simple peer-to-peer LAN, It does not have to be stored! The PC’s have text, images, sounds… • The truck drivers are part of a wireless public network, the truck drivers are sharing information verbally • The mobile phone users are also part of a wireless public network, the phones uses can be sharing information verbally, additionally text and graphics (phone & network dependant)
LAN • Typically described as a number of data sharing nodes (computers normally) in a small geographical area • E.g. a workstation and a CD jukebox • Normally more than 3 machines going through a connection point e.g. Hub • Local area network - communication network • Interconnects a variety of data communicating devices within a small geographic area • Broadcasts data at high data transfer rates with very low error rates • Since the local area network first appeared in the 1970s, its use has become widespread in commercial and academic environments
Primary Function of a LAN • To provide access to hardware and software resources that will allow users to perform one or more of the following activities: • File serving - large storage disk drive acts as a central storage repository • Print serving - Providing authorization to access a particular printer, accept and queue print jobs, and user access to print queue to perform administrative duties
Other LAN functions • Video transfers - High speed LANs are capable of supporting video image and live video transfers • Manufacturing support - LANs can support manufacturing and industrial environments • Academic support – In classrooms, labs, and wireless • E-mail support • Interconnection between multiple systems
Advantages of LANs • Ability to share hardware and software resources • Individual workstation might survive network failure • Component and system evolution are possible • Support for heterogeneous forms of hardware and software • Access to other LANs and WANs (Figure 7-1) • Private ownership • Secure transfers at high speeds with low error rates
CD jukebox PC PC PC Network printer LAN
Disadvantages of LANs • Equipment and support can be costly • Level of maintenance continues to grow • Private ownership? • Some types of hardware may not interoperate • Just because a LAN can support two different kinds of packages does not mean their data can interchange easily • A LAN is only as strong as it weakest link, and there are many links
Basic Local Area Network Topologies Local area networks are interconnected using one of three basic configurations: 1. Bus/tree 2. Star-wired bus 3. Wireless
Bus/Tree Topology • The original topology • Workstation has a network interface card (NIC) that attaches to the bus (a coaxial cable) via a tap • Data can be transferred using either: • Baseband digital signals • Bidirectional, outward transmitting from the workstation in both directions • Broadband analog signals • Usually uni-directional, special wiring considerations needed
Star-Wired Bus Topology • Logically operates as a bus - physically looks like a star • Star design based on hub • All workstations attach to hub • Unshielded twisted pair usually used to connect workstation to hub • Hub takes incoming signal and immediately broadcasts it out all connected links • Hubs can be interconnected to extend network size
Star-Wired Bus Topology • Modular connectors and twisted pair make installation and maintenance of star-wired bus better than standard bus • Hubs can be interconnected with twisted pair, coaxial cable, or fiber optic cable • Biggest disadvantage: when one station talks, everyone hears it called a shared network • All devices are sharing the network medium
Wireless LANs • Not really a specific topology • Workstation in wireless LAN can be anywhere as long as within transmitting distance to access point • Several versions of IEEE 802.11 standard defines various forms of wireless LAN connections • Workstations reside within a basic service set • Multiple basic service sets create an extended service set
Wireless LANs • Two basic components necessary: • Client Radio - usually PC card with integrated antenna installed in a laptop or workstation • Access Point (AP) - Ethernet port plus transceiver • AP acts as bridge between wired and wireless networks • Can perform basic routing functions • Workstations with client radio cards reside within a basic service set • Multiple basic service sets create extended service set
Wireless LANs • With directional antennae designed for point-to-point transmission (rare), 802.11b can transmit for more than 10 miles • With an omni-directional antenna on a typical AP, range may drop to as little as 100 feet • IEEE 802.11a – One of the more recent standards, capable of transmitting data at 54 Mbps using 5 GHz frequency range • IEEE 802.11g – The other recent standard, also capable of transmitting data at 54 Mbps but using the same frequencies as 802.11b (2.4 GHz) • Backwards compatible with 802.11b
Wireless LANs • HiperLAN/2 (European standard, 54 Mbps in 5 GHz band) • To provide security, most systems use either Wired Equivalent Privacy (WEP) • Provides either 40- or 128-bit key protection • Or a more advanced standard such as WPA (more on security in Chapter Thirteen) • Wireless LANs may also be configured without access point • These configurations are called “ad-hoc”
Comparison of Bus, Star-Wired Bus, Star-Wired Ring, and Wireless Topologies
Types of Communications Networks • Circuit switched network: • Network in which a dedicated circuit is established between sender and receiver • All data passes over this circuit • Telephone system is a common example • Connection is dedicated until one party or another terminates the connection
Packet-Switched Network • Packet switched network: • Network in which all data messages are transmitted using fixed-sized packages, called packets • More efficient use of a telecommunications line since packets from multiple sources can share the medium. • One form of packet switched network is the datagram • With a datagram, each packet is on its own and may follow its own path • Virtual circuit creates a logical path through the subnet • All packets from one connection follow this path
Broadcast Network • Broadcast network: • Network typically found in local area networks but occasionally found in wide area networks • A workstation transmits its data and all other workstations “connected” to the network hear the data • Only the workstation(s) with the proper address will accept the data
The Internet • US Department of Defence, Advanced Research Projects Agency (ARPA). • End of 1960’s not enough power • Late 1970’s Internetworking was main focus • 1990’s commercial success
Internet • The Internet can be thought of as the ultimate WAN. Thousands of LANS connected to form a WAN • Main point to consider, there is no regulatory body, except for addressing • Some people use the cloud analogy
The Internet Cloud
World Wide Web • WWW can be thought of as an application, I.e. how to source info • Large scale, online repository of information • Can search using an application – browser • Distributed Hypermedia system • LANS’s, WAN’S, the internet and WWW all have commonalities • All are designed to share data/information • All must follow some sort of standard, Protocols • ISO (international Standards Organisation)
Web Server TFTP Server FTP Server Web Browser Windows Sockets Application Applications TCP Port 1210 TCP Ports 20,21 TCP Port 80 UDP Port 69 Windows Sockets Interface Transport 0 . . . 65536 0 . . . 65536 TCP UDP Internet IP Network Ports & Sockets (TCP/IP model)
Port numbers • Between 0 and 65,536 • Client side app port numbers are dynamically assigned • Well known server side apps have port numbers assigned by IANA (Internet Assigned Numbers Authority • Numbers below 255 - for public applications • Numbers from 255-1023 - assigned to companies for marketable applications • Numbers above 1023 - are unregulated
Browser operation • When a browser opened the default home launched (site connected) • Browser loads files into clients memory & disconnects from web server • When new URL entered connection established to new web server • Web server transfer files to clients browser, then stored in clients memory, web server disconnects • If next page on same website, client must re-establish connection
Satellite and Microwave Configurations • Long distance wireless connections • Many types of applications including long distance telephone, television, radio, long-haul data transfers, and wireless data services • Typically expensive services but many companies offer competitive services and rates
Connection-Oriented vs. Connectionless Network Applications • The network structure is the underlying physical component of a network • What about the software or application that uses the network? • A network application can be either connection-oriented or connectionless
Connection-Oriented vs. Connectionless Network Applications • A connection-oriented application requires both sender and receiver to create a connection before any data is transferred • Applications (such as large file transfers) and sensitive transactions (such as banking and business) are typically connection-oriented • A connectionless application does not create a connection first but simply sends the data • Electronic mail is a common example
Connection-Oriented vs. Connectionless Network Applications