fundamental network services v3.1

Upload: rajasekarkala

Post on 07-Aug-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/19/2019 Fundamental Network Services v3.1

    1/36

    1

    Network Services

  • 8/19/2019 Fundamental Network Services v3.1

    2/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Network Services

    • DHCP

    • DNS

    • Web Service

    • Proxy Service

    • Directory Services

    • Mail Service

    2

  • 8/19/2019 Fundamental Network Services v3.1

    3/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

     ARP

     Address Resolution Protocol

    3

  • 8/19/2019 Fundamental Network Services v3.1

    4/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    RARP

    Reverse Address Resolution Protocol

    4

  • 8/19/2019 Fundamental Network Services v3.1

    5/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    BOOTP

    5

    • Bootstrap Protocol

  • 8/19/2019 Fundamental Network Services v3.1

    6/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    DHCP Server

    • Automatic assigning of host configuration to other

    machine

    DHCP Server 

    IP Address:

    192.168.14.55

    DHCP Discover 

    DHCP Offer 

    DHCP Request

    DHCP ACKNetwork

    DHCP Discover 

    DHCP Offer 

    DHCP Request

    DHCP ACK

    Got the IP

     Address

  • 8/19/2019 Fundamental Network Services v3.1

    7/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Automatic allocation:

    Dynamic allocation:

    Manual allocation:

    Three mechanisms to allocate IP address to hosts

    - Assigns a permanent IP address to a client

    - Assigns an IP address to a client for a limit time or

    until the client explicitly relinquishes the address

    - Network administrator assigns a client’s IP address,

    DHCP is just to convey the assigned address to the client

  • 8/19/2019 Fundamental Network Services v3.1

    8/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Name Resolution

    • Name resolution is used to find a lower level address

    (such as an IP address) that corresponds to a given

    higher level address (such as a hostname).

    • TCP/IP

     – Host file (Windows and Linux)

     – DNS

    • NetBIOS

     – LMHost file (Windows) – WINS

    8

  • 8/19/2019 Fundamental Network Services v3.1

    9/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • DNS resolves domain names into IP address and vice

    versa.

    DNS Hierarchy

    DNS

  • 8/19/2019 Fundamental Network Services v3.1

    10/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The domain namespace is the naming scheme that provides thehierarchical structure for the DNS database. Each node, referred to as a

    domain, represents a partition of the DNS database.

    • The DNS database is indexed by name, so each domain must have a name.

    As you add domains to the hierarchy, the name of the parent domain is

    added to its child domain (called as sub domain). Consequently, a

    domain’s name identifies its position in the hierarchy.

    What Is the Domain Namespace?

  • 8/19/2019 Fundamental Network Services v3.1

    11/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • A zone represents a discrete portion of the domain

    namespace.

    • Zones provide a way to partition the domain namespace into

    manageable sections, and they provide the following functions:

    • Multiple zones in a domain namespace are used to distribute

    administrative tasks to different groups. For example, Figure13-9 depicts the microsoft.com domain namespace divided

    into two zones. These zones allow one administrator to

    manage the Microsoft and sales domains, and another

    administrator to manage the development domain.

    What Are Zones?

  • 8/19/2019 Fundamental Network Services v3.1

    12/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    ping www.google.com.

    • Let’s look at the resolution process step-by-step:

    The Resolution Process

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    13/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    What’s the IP addressof www.google.com?

    • The workstation desk9 asks its configured name

    server, dc01, for www.google.com’s address

    The Resolution Process

    ping www.google.com.

    dc01.appnomiclab.com

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    14/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The name server dc01 asks a root name server,

    root1, for www.google.com’s address

    The Resolution Process

    ping www.google.com.

    root1.root-servers.net

    What’s the IP address

    of www.google.com?

    dc01.appnomiclab.com

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    15/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The root server root1 refers dc01 to the com

    name servers

    The Resolution Process

    ping www.google.com.

    Here’s a list of the

    com name servers.

    Ask one of them.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    16/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The name server dc01 asks a com name server,com1, for www.google.com’s address

    The Resolution Process

    What’s the IP address

    of www.google.com?

    com1.com-servers.net

    ping www.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    17/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The com name server com1 refers dc01 to the

    google.com name servers

    The Resolution Process

    Here’s a list of the

    google.com name

    servers. Ask one of

    them.

    com1.com-servers.net

    ping www.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    18/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The name server dc01 asks an google.com nameserver, ns1, for www.google.com’s address

    The Resolution Process

    ns1.google.com

    What’s the IP address

    of www.google.com?

    com1.com-servers.net

    ping www.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    19/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    • The google.com name server ns1 responds with

    www.google.com’s address

    The Resolution Process

    Here’s the IP address

    for www.google.comns1.google.com

    com1.com-servers.net

    ping www.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    20/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Here’s the IP address

    for www.google.com

    • The name server dc01 responds to desk9 withwww.google.com’s address

    The Resolution Process

    ns1.google.com

    com1.com-servers.net

    ping www.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    21/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    ping ftp.google.com.

    • After the previous query, the name server dc01 now

    knows:

     – The names and IP addresses of the com name servers

     – The names and IP addresses of the google.com name

    servers – The IP address of www.google.com

    • Let’s look at the resolution process again

    Resolution Process (Caching)

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    22/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    What’s the IP addressof ftp.google.com?

    • The workstation desk9 asks its configured nameserver, dc01, for ftp.google.com’s address

    Resolution Process (Caching)

    ns1.google.com

    com1.com-servers.net

    Ping ftp.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    23/36© Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    What’s the IP address

    of ftp.google.com?

    • dc01 has cached an NS record indicating ns1 is an

    google.com name server, so it asks it forftp.google.com’s address

    Resolution Process (Caching)

    ns1.google.com

    com1.com-servers.net

    Ping ftp.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    24/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Here’s the IP address

    for ftp.google.com

    Resolution Process (Caching)

    ns1.google.com

    com1.com-servers.net

    Ping ftp.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    25/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Here’s the IP address

    for ftp.google.com

    • The name server dc01 responds to desk9 withftp.google.com’s address

    Resolution Process (Caching)

    ns1.google.com

    com1.com-servers.net

    Ping ftp.google.com.

    dc01.appnomiclab.com

    root1.root-servers.net

    desk9.appnomiclab.com

  • 8/19/2019 Fundamental Network Services v3.1

    26/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    DNS: Addressing Records

    • Four major types of addressing records: A, AAAA,

    CNAME, PTR

    • A, AAAA: Translate a text name into an IP address (A:

    IPv4, AAAA: IPv6) – One hostname can have multiple A and/or AAAA

    records (ex: www.cnn.com)

    http://www.cnn.com/http://www.cnn.com/

  • 8/19/2019 Fundamental Network Services v3.1

    27/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    DNS: Addressing Records Cont

    • CNAME: aliases for a certain hostname

     – Ex: rescom.stanford.edu is just an alias forrescomp.stanford.edu

     – Note that CNAMEs point to hostnames not IPaddresses

    • PTR: translates from an IP address to a hostname

     – Each IP address can only have 1 PTR record

    • Note that PTR and A/AAAA records do not have to

    be symmetrical!- Ex: foo.sample.com can have A records for

    10.0.0.2 and 10.0.0.3, while 10.0.0.2 can have aPTR record for bar.sample.com

  • 8/19/2019 Fundamental Network Services v3.1

    28/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Web Server 

    28

  • 8/19/2019 Fundamental Network Services v3.1

    29/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Proxy

    29

  • 8/19/2019 Fundamental Network Services v3.1

    30/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

  • 8/19/2019 Fundamental Network Services v3.1

    31/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Directory Service

    The Lightweight Directory Access Protocol (or) LDAP,

    is an Internet protocol that email and other

    programs use to look up information from a server.

    Example:-Telephone directory

    Contact Name: Peter Chan

    mail: [email protected] Number: 2358-1234

    Telephone Number: 2358-4321

    Room Number: 2228

  • 8/19/2019 Fundamental Network Services v3.1

    32/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Directory Services

    32

  • 8/19/2019 Fundamental Network Services v3.1

    33/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    How LDAP organize directories

    • In LDAP, directory entries are arranged in a

    hierarchical tree-like structure, starting at a root andthen branching down into individual entries.

    E il

  • 8/19/2019 Fundamental Network Services v3.1

    34/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Email

    •  Electronic mail, most commonly abbreviated email

    or e-mail, is a method of exchanging digitalmessages across the Internet or other computernetworks.

    • E-mail systems are based on a store-and-forward

    model in which e-mail server computer systemsaccept, forward, deliver and store messages onbehalf of users, who only need to connect to the e-mail infrastructure, typically an e-mail server, with anetwork-enabled device for the duration of message

    submission or retrieval.• An electronic mail message consists of two

    components, the message header , and the messagebody , which is the email's content

    C f E il S

  • 8/19/2019 Fundamental Network Services v3.1

    35/36

    © Copyright 2009 Appnomic Systems Pvt. Ltd. I Confidential | www.appnomic.com

    Components of an Email System

    • Mail Transport Agent (MTA)

    • Mail User Agent (MUA)

    • Local Delivery Agent (LDA)

  • 8/19/2019 Fundamental Network Services v3.1

    36/36

    Thank You !