Сети ЭВМ и телекоммуникации. Глобальные сети: Учебное пособие

Embed Size (px)

Text of Сети ЭВМ и телекоммуникации. Глобальные сети: Учебное...

  • ..

    .

    , 2006

  • 2

    681.326(075) . . . / .. .:, 2006. 116.

    , , .

    2301 (2201) , , .

    2301 (2201) , , .

    : .. : ., ... .. ., ... ..

    -4 13 2006 .

    . -4, , ... ..

    -4 , 2006 .

  • 3

    1 ....................................................................... 5 1.1 ................................................................................... 5 1.2 .......................................................................... 5 1.3 ............................................................................................ 6 1.4 ........................................................................ 6 1.5 ....................................................................... 9 2 TCP/IP ....................................................................................... 11 2.1 Internet .................................................................................. 11 2.1.1 ........................................................................................ 13 2.2 IP................................................................................................ 15 2.2.1 IP-...................................................................... 19 2.3 ARP ........................................................................................... 20 2.4 ICMP ......................................................................................... 21 2.5 TCP/IP................................. 23 2.6 .......................................................... 23 2.6.1 ........................................................... 23 2.6.2 UDP ........................................................................................ 24 2.6.3 TCP......................................................................................... 26 2.7 ..................................................................... 34 3 TCP/IP.................................................................. 35 3.1 RIP................................................................. 39 3.2 OSPF ............................................................. 43 3.3 IGRP EIGRP ...................... 45 3.4 EGP BGP................................. 46 3.5 ..................................................................... 49 4 TCP/IP .................................................... 50 4.1 DNS .............................................................................................. 50 4.2 ............................................................. 51 4.3 ..................................................................... 52 5 X.25, FRAME RELAY, PDH, SDH ........................................ 53 5.1 X.25........................................................................................ 53 5.2 Frame Relay ........................................................................... 55 5.2.1 Frame Relay................................................................ 56 5.3 ........................................................ 58 5.4 .............................................................. 62 5.5 ..................................................................... 68 6 ISDN ATM ........................................................................... 69 6.1 ISDN ...................................................................................... 69 6.1.1 ISDN.................................................................................. 69 6.2 ATM....................................................................................... 71 6.2.1 ATM ............................................... 71 6.2.2 ATM........................................................................... 75

  • 4

    6.2.3 AAL ....................................................................... 76 6.3 ..................................................................... 78 7 ................................................................ 79 8 ................................................ 82 8.1 ..................................................................... 82 8.2 Microsoft DCOM........................................................................................ 85 8.3 CORBA.................................................................................. 88 8.4 ..................................................................... 90 9 ................................................................. 91 9.1 .......... 91 9.2 ................................................................. 92 9.2.1 FTP ........................................................... 92 9.2.2 TFTP .................................. 93 9.3 ............................................................... 94 9.3.1 SMTP .......................................... 94 9.3.2 POP ......................................................... 95 9.3.3 - IMAP ............................ 96 9.4 ................................................ 98 9.4.1 Telnet........................................... 98 9.4.2 SSH ............................. 100 9.5 - ........................................................................... 100 9.5.1 -................................................. 101 9.5.2 - .................................................. 103 9.6 ................................................................... 105 10 Web- ....................................................................................... 107 10.1 Web- ..... 107 10.2 HTTP............................................... 109 10.2.1 HTTP- ....................................................................................... 110 10.2.2 HTTP- ......................................................................................... 111 10.2.3 HTTP........ 112 10.3 Web- ................................... 113 10.4 ................................................................. 114 ....................................................................................... 115

  • 5

    1

    1.1

    (. corporate network)

    , (, ,

    ) (,

    , ..).

    .

    1.2

    ()

    ,

    .

    ,

    , .

    ,

    :

    (,

    , );

    STP ,

    ;

    ;

    ;

    ( MAC-,

    );

    .

  • 6

    1.3

    , ,

    (. internetwork, internet),

    (. subnet) .

    (. router).

    , Ethernet, Token Ring, X25,

    Frame Relay, ATM ..

    , ( ),

    , .

    , :

    . ,

    (MAC) (, IPX/SPX).

    , .

    (, TCP/IP).

    1.4

    , , , ,

    - .

    ,

    .

    , ,

    ( ). ,

    ,

    .

  • 7

    , .

    , (

    ).

    ,

    1.1. S1..S10 , M1..M13 .

    ,

    , M5/S2 M5, S2.

    M7 1.1

    1.1

    1.1 M7

    S1 M1/S4 M7/S4 1 S2 M5/S5 M7/S5 2 S3 M5/S5 M7/S5 3 S4 M7/S4 0 S5 M7/S5 0 S6 M6/S4 M7/S4 1 S9 M9/S4 M7/S4 1

    S11 M9/S4 M7/S4 2 Default M10/S5 M7/S5 1

    S1 S2 S3

    S5

    S8

    S7

    S10S11 S9

    S12

    M1 M2

    M5

    M3

    M10

    M12

    M13

    M6

    M9

    M11

    M7

    M4

    M8

    S4

    S6

  • 8

    () , , ,

    .

    :

    ,

    ,

    ( ).

    ,

    , ,

    .

    ,

    ,

    . (. source routing)

    (

    ) ,

    , .

    ,

    .

    ,

    . ,

    , .

    :

    , ;

    ;

    , ;

    ,

    (

    , ).

  • 9

    (,

    ) (

    ),

    ( ).

    .

    :

    ;

    ,

    ( );

    o ( -,

    . Distance Vector Algorithms)

    ;

    o (. Link State Algorithms)

    (

    - -);

    ,

    ;

    + ( ,

    ,

    ).

    1.5

    , ,

    (, Ethernet)?

    5

    , Ethernet?

  • 10

    M4

    S12 ( 1.1)?

    ?

    ?

    ?

    ?

  • 11

    2 TCP/IP

    TCP/IP, ,

    RFC (Request For

    Comment ).

    , ,

    RFC.

    TCP/IP

    RFC, . RFC

    , , Web- : http://www.ripn.net/nic/

    2.1 Internet

    , Internet, , ,

    : ( , .., ,

    MAC- Ethernet-), (IP-)

    ( , DNS-).

    , ,

    .

    TCP/IP ,

    IP- (RFC 990 RFC 997). IP- ( ,

    ) 32 (4 ). , IP-

    ( ),

    , : 123.45.67.89. :

    , MAC-

    ( ).

    Internet ( InterNIC,

    ICANN, ),

  • 12

    , Internet,

    .

    IP- 5 ( A E),

    .

    2.1 ( N

    , , H ,

    , M ,

    ).

    1 2 3 4

    A 0 N N N N N N N H H H H H H H H H H H H H H H H H H H H H H H HB 1 0 N N N N N N N N N N N N N N H H H H H H H H H H H H H H H HC 1 1 0 N N N N N N N N N N N N N N N N N N N N N H H H H H H H HD 1 1 1 0 M M M M M M M M M M M M M M M M M M M M M M M M M M M ME 1 1 1 1 0