Windows 2000 Networking Computing Department, Lancaster University, UK.

Slides:



Advertisements
Similar presentations
CCNA – Network Fundamentals
Advertisements

S305 – Network Infrastructure Chapter 5 Network and Transport Layers Part 2.
计算机系 信息处理实验室 Lecture 16 Networking
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction To Networking
Hands-On Microsoft Windows Server 2003 Networking Chapter 1 Windows Server 2003 Networking Overview.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Windows 2000 Remote Access. Remote Access Overview With Windows 2000 remote access, remote access clients connect to remote access servers and are transparently.
Computer Network protocols
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Network Protocols and Standards (Part 1). Network Protocols Understanding the concepts of networking protocols is critical to being able to troubleshoot.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
1 Chapter Overview Understanding the Windows 2000 Networking Architecture Using Microsoft Management Console.
Ministry of Communications and Information Technology Information Technology Institute Network Fundamentals Introduction to Internet Lec2.
CHAPTER Protocols and IEEE Standards. Chapter Objectives Discuss different protocols pertaining to communications and networking.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter 3: Planning Network Protocols and Compatibility.
SEED Infotech Pvt. Ltd. 1 Networking in Java. SEED Infotech Pvt. Ltd. 2 Objectives of This Session Describe issues related to any type of network using.
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
1 Understanding the TCP/IP Protocol Suite Industry standard Enables enterprise networking and connectivity.
Huda AL_Omairl - Network 71 Protocols and Network Software.
1 Chapter Overview Installing the TCP/IP Protocols Configuring TCP/IP.
Chapter 7 Low-Level Protocols
Chapter Overview IP IPX NetBEUI AppleTalk.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
COMT 6251 Network Layers COMT Overview IP and general Internet Operations Address Mapping ATM LANs Other network protocols.
1 Version 3.0 Module 11 TCP Application and Transport.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
Hands-On Microsoft Windows Server Introduction to Remote Access Routing and Remote Access Services (RRAS) –Enable routing and remote access through.
Windows 2000 Course Summary Computing Department, Lancaster University, UK.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
1. I NTRODUCTION TO N ETWORKS Network programming is surprisingly easy in Java ◦ Most of the classes relevant to network programming are in the java.net.
Addressing Through the Layers  Data Link Layer Address  Network Layer Address.
“Windows Networking” ITL. © Hans Kruse & Shawn Ostermann, Ohio University 2 Overview Networking under Windows Mixture of applications and protocols.
Networking in Windows NT Layered Network Architecture Network Interface Card Network Adapter Card Drivers NDIS InterfaceStreams Transport Protocols.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Interfaces and Services Each layer provides a service to the layer above it. A service is a set of primitive operations. Under UNIX, primitives are implemented.
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998.
Network Infrastructure Microsoft Windows 2003 Network Infrastructure MCSE Study Guide for Exam
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
Internet protocol Suite
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Mr C Johnston ICT Teacher G055 - Lecture 10 Network Protocols.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Network architecture model What is an “architecture model”? An architecture model offers a general frame of reference for the problems connected to the.
Computer Network protocols
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 1: Networking Overview.
Microsoft enterprise concepts
Lec 2: Protocols.
Unit OS A: Windows Networking
Chapter Three Network Protocols.
Chapter 3: Windows7 Part 4.
Lecture 2: Overview of TCP/IP protocol
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

Windows 2000 Networking Computing Department, Lancaster University, UK

Overview The OSI Reference Model The OSI Reference Model Overview of the Windows 2000 Networking Stack Overview of the Windows 2000 Networking Stack –Services –Networking APIs –Protocol Drivers –NDIS Drivers Some detail on Winsock2 Some detail on Winsock2

The OSI Reference Model Idealized scheme, often used to frame discussions of networking principles Idealized scheme, often used to frame discussions of networking principles –(few systems implement precisely)

OSI Model and Windows 2000 Networking Components OSI layers don’t correspond to actual software OSI layers don’t correspond to actual software Bottom 4 layers are “the transport” Bottom 4 layers are “the transport” Top 3 layers are the “user of the transport” Top 3 layers are the “user of the transport”

OSI Model and Windows 2000 Networking Components (2) Networking APIs (layers 5 / 6) Networking APIs (layers 5 / 6) –Provide protocol-independent way for applications to communicate across a network –Can be implemented in user mode or in both user mode and kernel mode Transport Driver Interface (TDI) Clients (layer 5) Transport Driver Interface (TDI) Clients (layer 5) –Kernel-mode device drivers that implement the kernel-mode portion of a networking API’s implementation –Use TDI standard to format I/O request packets sent to protocol drivers

OSI Model and Windows 2000 Networking Components (3) TDI Transports (layers 3 / 4) TDI Transports (layers 3 / 4) –Also known as protocol drivers –Accept I/O request packets from TDI clients –Likely to require network communications Addition of protocol-specific headers (e.g. TCP, UDP, IPX) Addition of protocol-specific headers (e.g. TCP, UDP, IPX) Communicate with adapter drivers using NDIS functions Communicate with adapter drivers using NDIS functions –Often transparently perform: Segmentation and reassembly Segmentation and reassembly Sequencing Sequencing Acknowledgement Acknowledgement Retransmission Retransmission

OSI Model and Windows 2000 Networking Components (4) NDIS Library (layer 2) NDIS Library (layer 2) –Provides encapsulation for adaptor drivers Hiding from specifics of kernel-mode environment Hiding from specifics of kernel-mode environment –Exports functions for use by TDI transports, using NDIS - Network Driver Interface Specification Describes the interface that network adapter drivers use to communicate with underlying hardware Describes the interface that network adapter drivers use to communicate with underlying hardware NDIS Miniport drivers (layer 2) NDIS Miniport drivers (layer 2) –Kernel-mode drivers responsible for interfacing TDI transports to particular network adapters –Wrapped by NDIS library, to work “cross platform” –Communicate with network adapters using NDIS library functions that resolve to HAL functions

The Windows 2000 Networking Stack Services Services Networking APIs Networking APIs Protocol Drivers Protocol Drivers NDIS Drivers NDIS Drivers

The Windows 2000 Networking Stack: Services (1) Remote Access Remote Access –Available on Windows 2000 Server –Allows clients to connect to remote access servers, as if client were physically connected to the server’s network Provides access to network resources, files, printers etc. Provides access to network resources, files, printers etc. –Two types of remote access: Dial-up remote access Dial-up remote access Virtual private network (VPN) access (virtual point-to-point connection to the server) Virtual private network (VPN) access (virtual point-to-point connection to the server)

The Windows 2000 Networking Stack: Services (2) Active Directory Active Directory –Windows 2000 implementation of Lightweight Directory Access Protocol (LDAP) directory services –Based on a database that stores objects representing resources defined by applications in a Windows 2000 network e.g. structure and membership of a domain, including user account and password information e.g. structure and membership of a domain, including user account and password information File Replication Service File Replication Service –Allows for distributed multimaster replication… –Changes are propagated to members –Primarily used by domain controllers

The Windows 2000 Networking Stack: Services (3) Network Load Balancing Network Load Balancing –Allows the creation of a cluster containing up to 32 computers (cluster hosts) –Cluster maintains a single virtual IP address Client requests go to all computers Client requests go to all computers Only one replies… Only one replies… –Load balancing NDIS drivers effectively partition client space among available hosts –Does not include services for automatically distributing shared state Application must have access to shared state Application must have access to shared state –Ideal applications Web server serving static content, windows media server etc... Web server serving static content, windows media server etc...

The Windows 2000 Networking Stack: Networking APIs (1) Windows Sockets (Winsock) Windows Sockets (Winsock) –Microsoft’s implementation of BSD sockets Supports both reliable-connection-oriented and unreliable- connectionless communication Supports both reliable-connection-oriented and unreliable- connectionless communication Windows 2000 provides support for Winsock2 – (more later) Windows 2000 provides support for Winsock2 – (more later) Named pipes and mailslots Named pipes and mailslots –Named pipes: reliable bi-directional communication –Mailslots: unreliable uni-directional transmission Supports broadcast capabilities Supports broadcast capabilities –Both support Windows 2000 security Allows servers to control which clients can connect Allows servers to control which clients can connect –Supports Universal Naming Convention (UNC) Protocol-independent naming… Protocol-independent naming…

The Windows 2000 Networking Stack: Networking APIs (2) Remote procedure call (RPC) Remote procedure call (RPC) –Developed 1980’s… –Part of the OSF/DCE standard NetBIOS NetBIOS –Network Basic Input/Output System (NetBIOS) programming API –Until the 1990’s most common programming API –Supported in Windows 2000 for legacy apps Supported by TCP/IP, NetBEUI, IPX/SPX etc… Supported by TCP/IP, NetBEUI, IPX/SPX etc… –Microsoft discourages use…

The Windows 2000 Networking Stack: Other Networking APIs Telephony API Telephony API –Integrates computers with communications devices such as telephones and modems –APIs for device, session and media control DCOM DCOM –“on the wire” protocol for COM –DCOM extends COM by letting an applications components reside on different computers Message Queuing Message Queuing –An API and messaging infrastructure –General purpose platform for applications that take advantage of loosely coupled messaging –Queues serve as message repositories Senders can queue messages for receivers, receivers can de-queue at their discretion Senders can queue messages for receivers, receivers can de-queue at their discretion

The Windows 2000 Networking Stack: Protocol Drivers (1) Purpose Purpose –Networking API drivers take requests and translate them into low-level network protocol requests Transport drivers carry out translation Transport drivers carry out translation –Separation allows support for multiple protocols Protocol drivers supported by Windows 2000 Protocol drivers supported by Windows 2000 –Data Link Control (DLC) Primitive protocol used by IBM m/fs and some HP printers Primitive protocol used by IBM m/fs and some HP printers “raw” – no networking API exists – applications interface directly to protocol driver “raw” – no networking API exists – applications interface directly to protocol driver –NWLink Consists of Novell’s IPX and SPX protocols Consists of Novell’s IPX and SPX protocols Included to support interoperability with NetWare servers Included to support interoperability with NetWare servers

The Windows 2000 Networking Stack: Protocol Drivers (2) Protocol drivers supported by Win 2000 (cont.) Protocol drivers supported by Win 2000 (cont.) –NetBEUI Once the default for LAN Manager and NetBIOS API Once the default for LAN Manager and NetBIOS API Limited – not routable Limited – not routable Included in Windows 2000 to support legacy applications Included in Windows 2000 to support legacy applications –TCP/IP Predominant protocol in Windows 2000 Predominant protocol in Windows 2000 Developed as the foundation for the Internet, WAN-friendly characteristics Developed as the foundation for the Internet, WAN-friendly characteristics Only primary protocol installed by default Only primary protocol installed by default Driver implements TCP, UDP, IP, ARP, ICMP etc… Driver implements TCP, UDP, IP, ARP, ICMP etc… Other drivers may be supported, for example: Other drivers may be supported, for example: –ATM –AppleTalk

The Windows 2000 Networking Stack: NDIS Drivers (1) Purpose Purpose –Network adaptor vendors provide device drivers that can take network messages and transmit them via proprietary hardware Network Driver Interface Specification (NDIS) lets protocol drivers communicate with network adaptor drivers Network Driver Interface Specification (NDIS) lets protocol drivers communicate with network adaptor drivers –NDIS 5 ships with Windows 2000 NDIS 5 Features: NDIS 5 Features: –TCP/IP task offloading – allows a NDIS miniport to use advanced features of network adapter e.g. packet checksums, and IPSec e.g. packet checksums, and IPSec Helps to improve system performance – relieves CPU Helps to improve system performance – relieves CPU –NDIS drivers can report whether or not network medium is active – taskbar icon…

The Windows 2000 Networking Stack: NDIS Drivers (2) NDIS 5 Features (cont.): NDIS 5 Features (cont.): –Fast packet forwarding – network adapter routes packets not destined for computer, relieving CPU –Wake-on-LAN – allows capable network adapter to bring Windows 2000 out of a suspended power state Triggered by media connections, receipt of protocol-specific patterns, the receipt of a magic packet, etc… Triggered by media connections, receipt of protocol-specific patterns, the receipt of a magic packet, etc… –Connection-oriented NDIS – allows NDIS drivers to support connection oriented media such as ATM Addition of connection-oriented miniport driver Addition of connection-oriented miniport driver NDIS drivers send packets through established network connections rather than placing them on the network medium NDIS drivers send packets through established network connections rather than placing them on the network medium Call manager NDIS driver provides call control functionality Call manager NDIS driver provides call control functionality

More Detail on Winsock2 Winsock2 API provides a transport service interface Winsock2 API provides a transport service interface –Based around BSD Unix socket interface / paradigm (adopted for use by Microsoft for use within Winsock 1.1) (adopted for use by Microsoft for use within Winsock 1.1) –Transparent network programming Application need not be aware of underlying implementation Application need not be aware of underlying implementation –Winsock2 provides only an interface Allows for the provision of interaction with numerous underlying heterogeneous transport protocols Allows for the provision of interaction with numerous underlying heterogeneous transport protocols Existence of both the API and SPI Existence of both the API and SPI

Winsock2 Features (1) Access to protocols other than TCP/IP Access to protocols other than TCP/IP –Access to a number of installed transport protocols, using familiar socket interface –Includes protocol-specific extension mechanisms… Layered protocols Layered protocols –Support for protocols that cannot stand alone, and therefore rely on a base protocol Protocol-independent name resolution facilities Protocol-independent name resolution facilities –Standardised set of functions for querying and working with the range of name resolution mechanisms that exist today (e.g. DNS, X.500 etc.)

Winsock2 Features (2) Protocol-independent multicast and multipoint Protocol-independent multicast and multipoint –Applications discover what type of capabilities a transport provides, and uses these in a generic manner Quality of Service Quality of Service –Establishes conventions that applications use to negotiate required service levels –Supports parameters such as bandwidth and latency –Supports network-specific QoS extensions… Others Others –inc. backwards compatibility