Академический Документы
Профессиональный Документы
Культура Документы
...
. ...
2006.
1.10.2 OSI ....................................................... 46
1.10.2.1 Bridge Switch...................................................... 47
1.10.2.2 ,
I ......................................... 49
1.1 .................................................................................................. 2 1.10.2.3 ......................................... 50
1.2 .................................................................. 3 1.10.3 OSI .................................................................. 51
1.2.1 .......................................................... 4 1.10.3.1 Router-................................................................. 52
1.3 LAN, WAN ..................................................................................... 7 1.10.4 OSI .......................................................... 53
1.3.1 ........................................................... 7 1.10.4.1 ............................. 53
1.3.2 Peer to peer .................................................................. 9 1.10.5 OSI .................................................................... 54
1.3.3 Client Server ................................................................ 9 1.10.6 OSI ......................................................... 54
1.3.4 ......................................................................... 9 1.10.7 OSI ............................................................ 55
1.3.5 ............................................................. 14 1.11 Network Gateways........................................................................... 56
1.3.6 Client Server ....................................... 15 1.12 ......................................................................... 57
1.4 ........................................................................ 20 1.12.1 ........................................................ 57
1.4.1 ............................................................................ 20 1.12.2 ..................................... 61
1.4.2 .................................................................................... 20 1.12.3 NetBEUI................................................................................ 62
1.4.3 .................................................................................... 21 1.12.4 IPX/SPX................................................................................ 62
1.4.4 ()................................................................... 21 1.12.5 TCP/IP .................................................................................. 64
1.4.5 .............................................................. 21 1.13 ........................................................ 68
1.4.6 ............................................. 22 1.13.1 Novel NetWare ..................................................................... 68
1.5 Ethernet ............................................................................... 23 1.13.2 Unix....................................................................................... 69
1.5.1 CSMA/CD ............................................................................... 23 1.13.3 Windows NT ......................................................................... 69
1.6 IEEE 802.3 Ethernet ....................................................... 25 1.14 ............................................... 70
1.6.1 10Base5 Thicknet................................................................... 25 1.14.1 ................................................................. 70
1.6.2 10Base2 ................................................................................. 26 1.14.2 UTP .............................................................................. 72
1.6.3 10BaseT ................................................................................. 28 1.14.3 Repeater ............................................................................... 74
1.6.4 EIA/TIA .................................................. 29 1.14.4 ................................................................ 75
1.6.5 IEEE 802.3u 100BaseTX ....................................................... 29 1.14.5 ............................................................ 76
1.6.6 100BaseT4 ............................................................................. 29 1.15 TCP/IP ......................................................... 77
1.6.7 100BaseFX............................................................................. 30 1.16 TCP/IP ................................................................... 81
1.6.8 IEEE 802.12 100BaseVG-AnyLAN ........................................ 30 1.16.1 Transmission Control Protocol (TCP)................................... 81
1.6.9 IEEE 802.3z 1000BaseX........................................................ 30 1.16.2 Internet protocol (IP) ............................................................. 82
1.7 Token Ring .......................................................................... 31 1.16.3 User Datagram Protocol (UDP) ............................................ 82
1.8 Fiber Distributed Data Interface ...................................................... 33 1.16.4 Address Resolution Protocol (ARP) ..................................... 82
1.9 .............................................................................. 35 1.16.5 Hypertext Transfer Protocol (HTTP)..................................... 83
1.9.1 LAN- ................................................ 35 1.16.6 File Transfer Protocol (FTP) ................................................. 83
1.9.2 ................................................... 36 1.16.7 Post Office Protocol (POP)................................................... 84
1.9.3 802.11 Protocol ...................................................................... 37 1.16.8 Simple Mail Transfer Protocol (SMTP)................................. 84
1.10 OSI ................................................................. 39 1.16.9 SimpleNetworkManagementProtocol (SNMP) ..................... 84
1.10.1 OSI ................................................................ 44 1.17 IP ................................................................................ 85
1.10.1.1 NIC , MAC ............................................................. 44 1.17.1 ....................................................................... 85
1.10.1.2 Hub MAU............................................................ 46 1.17.2 Subnet Mask......................................................................... 85
1.17.3 ................................................................ 85
1.17.4 ................................................................ 86
1.17.4.1 Routing .................................................................. 86
1.17.4.2 IP ................................................... 87
1.17.4.3 Subneting .............................................................. 88 , je
1.17.4.4 DHCP .................................................................... 90 .
1.17.4.5 APIPA.................................................................... 92
1.18 Ports and Sockets ........................................................................... 94
1.19 TCP/IP Utilities ................................................................................ 96
,
1.20 Peer-to-peer .................................................... 103 . ,
1.21 DNS ............................................................................................... 108 .
II -
2.1 ......................................................................110 , .
2.1.1 ........................................................110
2.1.2 .......................................................111 peer-to-peer LAN -.
2.1.3 ............................................................112
2.2 ......................................................................116 .
2.3 ..................................120
2.4 ..................................................123 ,
2.5 ................................................................127
, .
III -
3.1 .......................................................................130
3.1.1 .................................135
3.2 .................................................................139
3.3 ........................................................141
IV -
4.1 PC- ........................................................143
4.2 Wi-Fi ......................................................150
4.3 ............................................159
4.4 ..............................................................163
4.5 AppleTalk.......................................................................................169
4.5.1 ....................................................................................169
4.5.2 AppleTalk ..........................................169
4.5.3 AppleTalk .........................174
4.5.4 ..................................................................174
4.6 Linux i LAN ....................................................................................177
..........................................................................................202
1.1
I
.
, - .
, , .
? ,
,
.
1 2
1.2 , ,
.
, , .
( , .
). ,
xcel- .
, xcel- , .
. . ,
,
CD-RW . , . ,
, , ( ).
. , , ,
. .
, . . PC
, ,
xcel ( .
, .
xcel, ), ,
.
. , .
, , ( -)
. , : , ,
(, , .
) . -
,
.
, ,
1.2.1
,
,
CD-R . ,
( Zip z )
. .
,
,
, ( ). .
. :
xcel-a .
, .
,
3 4
,
(
, , , , ).
( )
. , ( ).
( )
. .
,
, Web-a
. .
,
. ,
(
. , , ).
, . , , (sneaker-net , sneaker
Word-u 6 Word-u 2000, , net .
, Word-a DOS. .
. . . .) CD .
,
( Word WordPerfect). ,
, .
. , . ,
, ( ),
, . .
.
, .
,
. ,
.
.
,
.
.
. ,
,
. :
PC .
5 6
1.3.1
ad hoc ,
3
. TV
7 8
1.3.2 Peer-to-Peer .
, :
4
, peer-
to-peer m server
. . , ( Microsoft
workgroup. Word) , .
,
. ,
. ,
(sharing) .
(password). ,
. .
.
.
1.3.3 Client/Server ,
5 (Database Management System, DBMS),
SQL. ( SQL-)
(dedicated) . ,
,
. ,
. File print
( Microsoft SQL Server).
.
.
. ,
.
. ,
1.3.4 .
, ,
. , ,
( , ( Lotus Domino)
),
. .
.
,
9 10
- . - ).
( )
. .
, ,
- .
, .
(
).
, (Chat).
(maping list server , list server), ( )
, . .
( Majordomo) ,
.
,
. :
, , ,
(), .
, , .
, .
-
( ).
,
.
(dial-up). ( FaksMaker) (File
,
transfer),
/ .
.
( ),
(File Transfer Protocol, FTP)
. , (
- ) (
, ,
ZBServer Pro). / .
.
, . ( Web-a,
.
, FTP Vojager-a)
.
.
, 20.000
.
Usenet (
. , .
).
, . . .
( INN News Server)
,
NNTP (Network News Transport Protocol ,
, ).
/ (
11 12
(proxy server) . ,
NNTP (Agent Outlook ( Web
Express). (news servers) ) (Web ).
, ,
,
, . . , ,
.
Web
(Gateway) .
.
. HTML. ( Microsoft IIS
, - GroupVise Apache) Web , Netscape-a Internet
SMTP. , Explorer-a, HTML (
. , ). HTML ,
, ,
. , . Web CGI , SSL
ASP (Active Server Pages).
.
/ VAIS
, (Firewall) ,
, ( , . ,
) ,
, . . Web-a, VAIS (Wide Area
. Information Server)
( . VAIS ,
). , ,
VAIS.
( ) .
,
.
,
, 1.3.5
.
, ,
, . ,
. (Windows NT/200x Server, Novell NetWare Unix /
Linux) .
13 14
1.3.6 /
.
, .
:
.
.
,
. .
. .
( Mean
Time Between Failure , MTBF).
.
.
. ()
,
, (Self-Monitoring Analysis and Reporting Technology , SMART) RAID
. (Redundant Array of Independent Disks ).
. . ,
,
, (
), ECC
(Error Checking and Correcting ,
(backup)
).
( , ,
/ ).
,
.
.
(high availability ).
15 16
17 18
, .). , 1.4
(server cluster), ( ) PC
.
, , ,
. . :
(bus), (star), (ring), (mesh) (wireless).
.
(, - , , 1.4.1
, .)
. 6
() .
,
.
. ,
( ) .
.
/ ,
( )
,
,
. ,
. ,
.
,
, .
. , -
,
- , ().
.
,
.
,
, RAID, SMP , -
. 1.4.2
,
,
. .
,
.
- ,
.
,
.
7
19 20
1.4.3
(hub).
.
.
.
8
1.4.4 ()
10
.
,
.
-
1.4.6
.
, ,
.
. . , Ethernet bus ,
star .
1.4.5
9 (troubleshooting). Ethernet ,
,
.
. subnet -.
()
(access points).
.
.
21 22
1.5.1 CSMA/CD
23 24
Transceiver - 13
2,5 drop
. 50
. .
100 .
.
, Thicknet
. Ethernet .
RG-8 . , .
Thicknet. , Thicknet (backbone)
.
.
, 1.6.2 10Base2
11
(node),
drop cable.
Speed: 10Mbps
Cable: thinnet coaxial (, , )
Maximum Length: cable 185 meters (607 feet)
12 : IEEE , "2"
10Base2 200 ,
185 meters.
25 26
Thinnet BNC
LAN drop , British Navel Connector .
NIC "bayonet"
500 . () (
, ) nut .
BNC "T" .
BNC Bayonet Nut Connector.
thicknet - . , - -
"thinnet" 185
. , Thinnet .
Unshielded Twisted Pair (UTP) .
1.6.3 10BaseT
Speed: 10Mbps
Cable: shielded or unshielded twisted-pair
Maximum Length: cable 100 meters (328
feet)
Maximum number of nodes per segment:
1024 Connector: RJ-45
Unshielded Twisted Pair (UTP) .
BNC T Shielded
Twisted Pair (STP), UTP
. BNC
()
.
( , UTP
). .
,
wisted pair
barrel . .
UTP
185 , (8 ). 10BaseT
. ,
. UTP , RJ-
45, 8 , RJ-11
T 4 .
barrel . 10Base2
30 . 14
27 28
1.6.6 100BaseT4
29 30
15
token ring
Multistation Access Unit (MSAU or
MAU).
17
16
token ring ,
nline
token. Token
. Token
.
token -.
token -.
token , .
Ethernet CSMA/CD
.
31 32
.
.
, ,
.
,
.
FDDI -
, single-mode
multimode. mode
. , mode
.
Single-mode fiber
mode
. Multimode
mode
.
18 mode
,
modal dispersion, the bandwidth ( )
multimode
.
Single-mode , . Single-
mode
.
33 34
1.9 .
LAN .
.
LAN (WLAN WiFi) , hub-, switch-,
. router-, .
wireless ()
access point (WAP) . .
35 36
proxy
. 802.11i authentication protocol (
)
. bluetooth
AES (Advanced Encryption Standard).
Ethernet LAN-,
LAN
. LAN-,
,
,
() .
ACK ,
ACK ,
,
, .
19
37 38
1.10 OSI
interface Network
Application Operating System (NOS).
()
HTTP, FTP, TELNET SMP.
-
Layer 7 Application Presentation , PC-
() PC,
.
Layer 6 Presentation
Session ID-.
Layer 5 Session () , ,
.
Layer 4 Transport
. -
, -
Layer 3 Network Transport
()
.
Layer 2 Data Link ,
.
Layer 1 Physical
.
.
Network
()
.
1984 International Standards Organization (ISO) .
Open System Interconnect (OSI) .
(), Data Link .
. ()
OSI , .
,
. interface ,
router-, switch- gateway- . Physical .
TCP/IP ()
IPX/SPX OSI .
.
.
,
39 40
41 42
Network Interface Card (NIC) ( ,
). NIC
IRQ I/O .
NIC Plug-and-Play (PnP),
.
21
1.10.1.1 NIC MACs
network
interface card (NIC)
NIC
motherboard. NIC
media access control (MAC) . NIC-
MAC . MAC 48 ,
281 .
PROM .
.
,
.
, 22
,
.
20
43 44
23
oken ring
Multi-station Access Unit (MAU)
. MAU
24
MAC encapsulation of a packet of data ,
MAU
(bypass)
26 . MAU-
ring-in port ring-out port
MAU- .
1.10.2 OSI
25 host- ,
27
router-
Receiver Processing Algorithm ,
Media
Access Control address.
MAC
45 46
. MAC Switch ()
, , switch
router-. (). Switch
switch-. switch-
1.10.2.1 Bridge Switch , switch hub.
().
Data Link
(bridge) switch. Bridge MAC (switch) (bridge)
. MAC .
. bridge
, transparent bridging. Hub ( repeater) ,
,
C,
.
switch, . Switch
bridge.
, switch-
, . Switch
,
28
(
A).
bridge .
, bridge Switch- -
. multicast ili broadcast
MAC , .
, .
, bridge (update) MAC
.
30
Switch F
multicast / broadcast
31
29
47 48
33
, MAC
32 RAM-
49 50
.
,
.
. 34
. . LAN .
"collision domains" (
), 1.10.3.1 Router-
.
. Routing
. subnet-
"unicast" "broadcast". Unicast default gateway (
. )
. subnet- (). Router routing
(trouble shoot). table ( )
broadcast .
.
, , OSPF (Open
. Shortest Path First) ,
"transparent" () "invisible" ().
, . 35
.
, Ethernet Token Ring,
10Base2 10BaseT.
,
,
gateway ( ).
.
1.10.3 OSI
,
36
. Network layer,
OSI ,
. .
Routable protocols ( ) Network layer OSI
router-. .
51 52
(OSI 4) - , OSI , ,
end-to-end (, ) .
. Transmission Control ID
Layer 7 Application Protocol (TCP) .
,
Layer 6 Presentation ,
,
Layer 5 Session . OSI
Layer 4 Transport .
Layer 3 Network , TCP/IP
Layer 2 Data Link -
(sequence number). , ,
Layer 1 Physical . . 37
,
.
, .
1.10.6 OSI
1.10.4.1 , OSI
,
Sequenced packet Exchange (SPX) NetWare
NetWare IPX/SPX . IPX/SPX (exchanging)
, TCP/IP -.
.
(ASCII)
User Datagram Protocol (UDP) .
38 ASCII
real-time . .
. real-
time, -
. :
. o
(OSI 5) , o
. o
. (OSI 3) o
.
,
.
53 54
1.10.7 OSI
, Ethernet Token
Ring , .
, OSI , ,
(Network Operating System - . Gateway
NOS). HTTP OSI . LAN WAN, LAN
(Hypertext Transfer Protocol), FTP (File Transfer Protocol), TELNET, SNMP mainframe, , .
(Simple Netwrok Management Protocol) SMTP (Simple Mail Transport
Protocol).
. FTP
FTP .
39
55 56
1.12
.
, .
1.12.1
5 .
(peers).
, , ,
(layers) (levels). , , . ,
. .
() ,
. , n
. n ,
,
, . 1 (physical
: , , medium) .
. ,
. (interface).
(
)
.
,
, .
,
.
.
,
n
(
n . ,
),
.
n. (network architecture).
,
(protocol)
40 .
.
. ,
.
, . , ( ),
, (protocol stack, suit).
57 58
42
3 ,
41 .
(message)
oryctolagus cuniculus (). , ( ), H (header)
T (terminator)
59 60
61 62
. 1.12.5 TCP/IP
MAC NIC, .
Transmission Control Protocol/Internet Protocol (TCP/IP)
. Internet. TCP/IP
MAC . ARPANET- Advanced Research Projects Agency
1970-. TCP
IPX/SPX .
. NetBEUI ,
, NetWare
. NetWare
. NetWare-, .
. TCP/IP
IPX .
. IPX TCP/IP, 1.16
46
63 64
. Class B -
Class First Bits Networks Hosts -
IPX/SPX-, . TCP A 0 126 16,777,214
. IP . OSI B 10 16,384 65,534 host -
TCP end-to-end . Class
. TCP IP
C 110 2,097,152 254 C
.
.
TCP/IP- , IP , host
. IP 32- . . .
Internet, , Router- IP
host . , IP
, Internet.
0, router subnet mask ( )
Internet Network
255.0.0.0. and IP subnet
Information Center (InterNIC). , InterNIC
, ,
.
.
8-
0 255. IP 8- : IP
. 0 255 , .
. host ()
. .
host-, host- subnet
. , proxy server-. proxy ,
host Internet IP .
InterNIC () . Class proxy Internet IP .
A host . Internet- proxy
- 16.777.214 host . proxy IP Internet-,
. - host .
, TCP/IP
. . host-
- (port number)(
, ). Hypertext transfer Protocol
. (HTTP). port 80 Web
browser .
, Simple Mail Transfer Protocol (SMTP). port
126 25 -mail -.
. TCP/IP
47
.
(monitors) port-.
(port number).
65 66
socket () 1.13
router- .
Web browser -, .
(network operating system NOS)
IP .
.
:
IP .
host -, router - 1.
IP , .
. Domain Name Service 2.
(DNS) .
IP 3.
. DNS , troubleshoot
IP .
. DNS
, :
DNS Unix -.
. Windows -
Novel Netware.
48
NetWare 4.x
Novel Directory Service
(NDS). NDS
. TCP/IP
("encapsulating") IPX/SPX TCP/IP .
.
67 68
1.13.2 Unix
Bell Laboratories Unix . Bell Labs
,
.
.
. .
Unix-, Sun Microsystems Solaris IBM's AIX.
,
Unix Microsoft-
.
Windows
. Unix Network File System (NFS)
Unix
Unix .
("mounted") , 1.14.1
.
Linux Unix Linux Torvalds -. , .
Linux- source code. .
. Torvald . ()
. Ethernet ()
. Linux RG-8 . Thicknet.
Linux
download Internet -. Red Hat Caldera
() IEEE
Linux-. , Linux -
Web . -
49 . Thicknet
-
1.13.3 Windows NT -
10base5. 10
Windows NT Microsoft- -
. TCP/IP .
"domain". Primary Domain Controller
(PDC) Security Access Manager (SAM) (megabits per second) .
. , SAM ("access Base .
token") . . 5
. 500 .
Backup Domain Controllers (BDC)
SAM . Windows NT Thicknet ,
"trust" (relationships) . . ,
, ,
69 70
T barrel
. 10Base2 30
50 .
Thinnet .
Unshielded Twisted Pair (UTP) (
). Shielded Twisted Pair
(STP) (), UTP-
52
.
-
Thicknet - -
1.14.2 Unshielded Twisted Pair (UTP - )
,
- (vampire
tap) (twisted pair)
. -
51 . UTP
-
DB-
15 DIX (Digital (8
Intel Xerox) AUI (Attachment ). IEEE
Unit Interface). 53 UTP 10BaseT.
UTP
71 72
1.14.3 Repeater
Repeater () ,
,
.
54 55
repeater.
, ,
().
Starbus Topology /
Ethernet
. ,
(hub).
100 57
1024 . Electronics Industries Association /
56
73 74
- . .
starbus. .
.
(hub) .
(hub) . UTP
, ,
hub-.
,
.
, .
58
,
, 1.14.5 Fiber Optic ( )
. .
. . IEEE
100BaseFX.
. ,
, 2 . 100BaseFX
.
hub-, . , .
59
61
1.14.4
60
, -
.
-
-
.
75 76
1.15 TCP/IP
?
?
, ,
,
. TCP/IP , 32 62
0 255 . :
169.254.0.0
IP .
IP .
, IP
.
IP
IP DHCP . DHCP
. IP Dynamic Host , ,
Configuration Protocol (DHCP) . IP DHCP .
, DHCP . IP DHCP .
DHCP
:
IP , DHCP
IP .
DHCP 1.
.
"scope".
2. Start >
Control panel >
scope DHCP , Network and Dial-up
, Start > Control panel > Administrative Tools Connections
> DHCP "DHCP" . 3. "Local
, "+" "Scope" "Address Area Connection"
Pool" IP scope-.
"Properties"
.
4. "Internet
Protocol (TCP/IP)"
63
77 78
. [Properties] . "Internet ,
Protocol (TCP/IP) .
Properties" .
:
IP , Start > Programs >
5. Accessories > Command Prompt. DOS ipconfig <Enter>.
"Obtain an IP IP subnet .
address
automatically" - (gateway)
"Obtain a DNS .
server address Internet-.
automatically".
DHCP IP ,
64 ("leases") IP .
DHCP ,
, Start > Control panel > Administrative Tools >
DHCP "DHCP" .
IP , "+" "Scope" "Address Leases".
DHCP
, .
Automatic Private IP , DHCP
Addressing (APIPA) .
DHCP , .
IP . APIPA 169.254.0.0
169.254.255.255, subnet 255.255.0.0.
,
DHCP IP .
- IP , ID host ID . DHCP , APIPA IP .
APIPA DHCP
(subnet).
DHCP
ID IP ("masked
.
out").
APIPA IP ,
(broadcasts) . ,
IP .
APIPA
hub. APIPA ,
(troubleshooting).
DHCP
79 80
1.16 TCP/IP . .
( - checksum) .
Transmission Control Protocol/Internet Protocol (TCP/IP) . TCP
ARPANET-, U. S. Department of Defense IP .
Advanced Research Projects Agency 1969. -.
. TCP/IP TCP checksum
Internet. .
.
, .
TCP/IP . , .
TCP/IP . ,
.
. Request For
Comment (RFC)
: 1.16.2 Internet Protocol (IP)
TCP/IP and the OSI model 1.16.3 User Datagram Protocol (UDP)
TCP/IP Addressing
TCP/IP Protocols UDP - .
TCP/IP Utilities . TCP,
TCP/IP Configuration .
,
. UDP
TCP/IP : .
1.16.1 Transmission Control Protocol (TCP) 1.16.4 Address Resolution Protocol (ARP)
81 82
SMTP e-mail -.
e-mail - SMTP e-mail
(relay), e-mail SMTP Internet-.
1.16.5 Hypertext Transfer Protocol (HTTP) "post office" (e-mail )
e-mail. 25.
HTTP
Web (browser) Web . 1.16.9 Simple Network Management Protocol (SNMP)
: Hypertext Markup
Language (HTML). SNMP
TCP/IP
Uniform Resource Locator .
(URL) . HTTP Web .
. ,
, . , management console -.
.
URL (links) ,
. .
FTP
. FTP-
FTP
Internet-. GET, PUT, BINARY ASCII.
83 84
1.17 IP 1.17.4
1.17.4.1 Routing
(
1.12.5) (gateway). smart routers
.
,
1.17.3 smart router default gateway -.
85 86
. 2 097 152
ID, host ID. host- 255
14 ( 10). :
(16 ) host-.
IP Address 11000000.01111010.00010011.11010111
65 383 Subnet Mask 11111111.11111011.11111111.00000000
host- 65 534
subnet ID AND
III. Class C .
87 88
IP subnet , 11000000.01111010.00010100.00000000
host- IP . 11000000.01111010.00010100.01000000
IP 192.122.20.0 192.122.23.0, 11000000.01111010.00010100.10000000
4 255 host- . IP 11000000.01111010.00010100.11000000
:
11000000.01111010.00010101.00000000
11000000 . 01111010 . 00010100 . 00000000 11000000.01111010.00010101.01000000
11000000 . 01111010 . 00010101 . 00000000 11000000.01111010.00010101.10000000
11000000 . 01111010 . 00010110 . 00000000 11000000.01111010.00010101.11000000
11000000 . 01111010 . 00010111 . 00000000
11000000.01111010.00010110.00000000
12 11000000.01111010.00010110.01000000
40 50 host- . 11000000.01111010.00010110.10000000
50 host- . : 11000000.01111010.00010110.11000000
host ID
. 16 11000000.01111010.00010111.00000000
62 host- . 11000000.01111010.00010111.01000000
11000000.01111010.00010111.10000000
: 11000000.01111010.00010111.11000000
192.122.20.0 4 16 ( 4
192.122.20.64 , 2 22=4 ). host ID-
192.122.20.128 192.122.20.1 192.122.20.63, 192.122.20.64
192.122.20.192 192.122.20.127. (
host ID). host ID- 6 ,
6
192.122.21.0 2 2 = 64 2 = 62 host ID-.
192.122.21.64
192.122.21.128
192.122.21.192 , host
.
192.122.22.0 ,
192.122.22.64 .
192.122.22.128 .
192.122.22.192
192.122.23.0
192.122.23.64 1.17.4.4 Dynamic Host Configuration Protocol (DHCP)
192.122.23.128
192.122.23.192 TCP/IP
subnet : 255.255.255.192 IP . IP
89 90
MAC 1. , NIC
, Bootstrap Protocol (BOOTP) UDP DHCP IP
IP . DHCP .
IP MAC 2. DHCP
. IP ( ).
IP Dynamic Host IP , subnet , , IP
Configuration Protocol (DHCP). DHCP DHCP . IP , DHCP
OSI . .
DHCP , 3.
IP . DHCP
( ). - .
- - -.
4. DHCP
DHCP- IP
- .
-
(borr- IP TCP/IP
ows or leases) IP IP .
.
DHCP-
. DHCP .
66
IP
TCP/IP Windows -,
. Command prompt - : ipconfig /release Enter.
IP
, DHCP. Command prompt ipconfig /renew <Enter>.
: exit <Enter> .
.
1.17.4.5 Automatic Private IP Addressing (APIPA)
.
DHCP -,
DHCP ?
. IP , Automatic Private IP Addressing (APIPA) IP
, DHCP . 169.254.0.0
IP . 169.254.255.255 subnet 255.255.0.0 (
B). IANA (Internet Assigned Numbers Authority)
: IP .
91 92
I. Well Known
II. Registered
III. Dynamic ( "Private") Ports.
93 94
Windows PING .
,
PING Control-C .
95 96
97 98
NETSTAT /all
. NETSTAT /batch [file] ./WINIPCFG.OUT
.
/renew_all
. /release_all
/renew N N
/release N N
99 100
Telnet
Unix TCP/IP .
host.
. Telnet
port 23. Telnet Internet-, dial
up Internet Service Provider a (ISP) online service -.
telnet URL DOS prompt-. client-server
Telnet , User ID password.
UNIX. UNIX case sensitive (
). UNIX
. .
DOS UNIX .
101 102
103 104
105 106
.
, drive ()
. web
. ? Web ?
(browsing the network). Internets Domain Name Service (DNS).
, Web
: domain Internet- Internet Protocol (IP) .
12 , web
www.sitename.com
1. My Network Places. IP . DNS
2. . IP .
3. .
, Internet-
. IP . .
. - IP
Local_user resource sharing -, DNS . DNS
peer-to-peer .
. DNS-, DNS
, . root name (root-, name-)
Windows . DNS top-level , .com, .org, .edu
. , top-level DNS .com DNS
.com.
DNS ,
root-name . DNS
. Internet-
2 DNS .
DNS . DNS IP
.
. Internet-
Transmission Control Protocol (TCP). TCP
IP
. TCP IP
,
. web Domain Name Service
IP . .
.
107 108
2.1
II
.
.
: ,
(troubleshooting).
(design phase).
(good) (poor)
.
2.1.1
,
.
.
72 ,
,
.
,
(return on investment ROI). , ROI
.
.
109 110
I. , , (firmware)
(updates) ?
.
, upgrading.
. 100 MHz 10 MHz
. .
() . update? IPX/SPX TCP/IP?
.
.
. brand name (
).
II. , . ,
, ?
troubleshooting.
.
2.1.3
III. .
(Network)
.
.
WAN- ?
dial-in ?
.
2.1.2
,
? .
(failures). .
.
111 112
.
. .
(Naming Conventions).
. .
? ,
.
, ,
. (industrial grade)
. (Implementation)
.
,
NIC -ova .
,
EMI ( ).
. (system downtime). ,
?
EMI. ?
(
) Uninterruptible Power Supply (UPS)
(spikes) . .
EMI -, Shielded Twisted Pair (STP), COAX fiber Web last minute
optic , Unshielded Twisted Pair (UTP). ( ).
:
.
.
.
(Operations) .
. backup-. IP IP .
backup . .
. .
? print spooling ( )
? RAID- .
?
.
. user_level
password_level ? .
(password policies). .
113 114
. 2.2
.
.
Backup ( )
. backup .
. backup-
. backup
.
.
backup-.
.
.
backup
backup. archive .
backup- backup-:
Backup
backup .
:
115 116
117 118
. patch , 2.3
patch .
patch- .
backup
patch-. patch okay,
. .
.
(Upgrades)
. troubleshoot ,
(release) .
.
, upgrade.
:
.
patch-, upgrade .
backup. .
,
Flash Upgrades
.
Flash upgrade BIOS- . : (hard copy form).
. ,
.
, .
.
.
, .
(System Monitor)
. (labeled)
.
. Simple Network Management Protocol (SNMP)
agent Configuration Management ( )
hub-, bridg- router-.
.
, agent SNMP Configuration Management
network management console ( ). .
.
.
.
119 120
,
IRQ I/O DMA, MAC IP ,
, , ,
, , . BIOS firmware
, IP
, .
Change control ( )
backup
Change control .
. .
,
update- service pac .
.
. audit () .
(Change Request Form) .
,
.
,
.
, .
IT .
BIOS
IRQ, I/O , DMA
RAM
Hard ,
, patch
,
IP
, ,
121 122
2.4 .
.
,
. , .
. , ,
.
. ,
.
. . .
.
. ,
.
.
. setup- , : " "?
.
. , .
. ,
.
. . .
.
, . .
, Windows ,
. . .
. Windows
. .DLL Windows
. (overwritten)
. .
.
? .
. e-mail attachment (), download- Internet-
,
.
.
,
, e-mail
Internet- .
123 124
. SNMP
. . PING
NETSTAT
. , , NBTSTAT
NIC-. TRACERT
IPCONFIG
hub-, bridg- NIC- WINIPCCFG
.
,
.
.
IP .
,
(trouble shoot the network). . Microsoft TechNet
: Microsoft
.
online, CD
Network Performance Monitors
.
Windows NT - Performance Monitor
real-time -
CPU-, Compaq Intel
I/O . Technical Support
System Logs Alliance Network (TSANet). Web : www.tsanet.org.
,
. .
. Windows NT Event :
Viewer . Event
Viewer . 1.
, 2.
. 3. , , .
Crossover cable.
.
peer-to-peer
( hub-).
Hardware Loop-Back.
. utility-
.
TCP/IP Utilities
TCP/IP utilitie
troubleshooting :
125 126
127 128
3.1
III .
, hub- router-
.
.
.
.
.
: share-level security (
) user-level security ( ).
. .
read/write read-only .
.
. read-only
. .
,
.
(Passwords)
.
. .
.
129 130
. . firewall
. Intranet-
, firewall-
. Internet-
. .
. Internet firewall-.
.
firewall-
(single point of administration)
. .
, Unix-, root account. firewall ,
download-
(Encryption) , firewall ()
.
firewall -.
.
. I. Packet-filter
II. Circuit-layer
. Public-key , (private) III. Application-layer
(public). IV. Stateful Inspection
.
. Proxy Server
131 132
I. Packet-Filter Firewall ( ) IP
firewall packet-filter.
OSI . IP
. ,
.
.
, , firewall
firewall. "spoofed" (, )(
). NAT
. .
ID Firewall
, .
DMZ, Demilitarized Zone (
IP
).
133 134
Firewall-
firewall-, password
. Packet-Filter firewall cracking .
, .
. Application Layer firewall , logon username password
. -
, . , -
.
.
, .
password cracking .
3.1.1 , , TV
password cracking .
, ,
, ()
, ( ).
.
.
.
, , password cracking
( . ,
password cracking .
). . ,
, "scooter" cracker
. . ,
, .
.
:
. firewall- ant-virus
? , ,
: , ,
A. ,
B.
C. ,
D. (Written password
security policy) ( case sensitive
E. ).
135 136
.
( )
password cracking ( ).
: ,
.
logon . , log-,
, .
.
logon (logged on).
Log off > > log on.
.
x , 30
, . .
, . .
.
.
.
password cracking
"Dumpster diving" ( )
.
. .
60 .
E.
.
, .
C.
, .
,
.
Windows- "Administrator". ().
SQL "sa"
. (router-,
switch-, )
.
.
.
.
D.
.
, :
137 138
139 140
. 2048 .
. IEEE 802.11i , Wi-Fi Alliance WPA2
802.11i WPA .
3.3
,
(open connections).
. ,
,
( ).
,
. IEEE 802.11
. 802.11 , 1997.,
2 Mbps. 1999 IEEE
802.11b , 11 Mbps. IEEE
802.11 54 Mbps, 802.11a.
802.11b 802.11a, 802.11b
. 802.11a 802.11b ,
. 2002. 802.11g . 802.11g 54
Mbps, 802.11b. 802.11g
802.11b , 11 Mbps
. WEP (Wired Equivalent Privacy)
802.11 . WEP
( notebook )
(access point).
,
. WEP
. WEP- , IEEE
802.11i . 802.11i EAP
(Extensible Authentication Protocol). 802.11i
. proxy
. 802.11i
()
(authenticate). AES (Advanced
Encryption Standard). IEEE 802.11i ,
Wi-Fi Alliance,
, WPA
(Wi-Fi Protected Access). WPA RC4 ,
141 142
4.1 PC-
IV . !
, 802.11g ,
802.11 125
Mbps 2.4 GHz . ,
802.11b
802.11g 11Mbps ,
..
802.11
1. 802.11b - 11MBps,
Ethernet-. 802.11b 2.4GHz
802.11 .
, 802.11b
,
. ()
. 802.11b
.
2. 802.11a ( ) - IEEE
802.11a 802.11b. 802.11a 54 Mbps
5 GHz .
802.11a 802.11b,
.
802.11a
5 GHz .
802.11a 802.11b
.
143 144
145 146
. ; Internet-.
.
upgrade -
Wireless Access Point ( 76 PCI
) .
,
74 ,
"" .
(
.
driver
. CD ROM
driver).
router- (:
DSL ).
USB
50
, .
()
Internet- . 77
Internet- ,
.
( ),
.
.
PCMCIA USB (
).
75
. PCMCIA
"" ""
,
,
, .
. , (Ethernet NIC
. )
.
147 148
mixed-mode "Gateway" -. 3.
Media Access
Control (MAC), WEP VPN (Virtual Private
Internet Network) . :
78
( WAN ) , MAC - Media Access Control
( Ethernet
) 253 .
WEP
. ,
.
VPN (Virtual Private Network)
roaming . VPN
,
. .
2.
, ,
.
.
LAN : notebook
,
WLAN - ,
.
;
.
LAN .
,
. , ,
.
(
).
. link
,
, .
.
149 150
Wi-Fi 81
.
:
Router ,
IP MAC
79 82
/ IP ISP-
IP
DSL, username password ISP-
MAC
151 152
153 154
, router- Networking (
Internet . ) system tray-
Web , router .
troubleshooting Wireless Network Connection
, . ,
"Advanced" "Wireless
5 Networks" (tab).
"use Windows to configure my
D-Link PC Card PCI , CD- wireless network settings"
( "OK"
router). , .
. Windows-
.
Found New Hardware wizard driver-.
"Install the software automatically" "Next."
driver
Windows logo Internet,
, "Continue disabling- Windows XP-
Anyway." wireless connection utility-. 88
Windows XP,
Wi-Fi driver-. ,
. , .
7
87
: notebook Wi-Fi ,
-
Wi-FI
router-,
.
. DI-
624,
Tools . ,
6 Wireless
(). Tools
DI-624's
, Internet
. router-.
Windows XP disabling-
() Windows wireless-configuration
.
89
. , XP
155 156
Tip: Wi-Fi
(
). (Windows XP) Control Panel >
Network Connections "Set up a home or small office
WPA network." , "This computer
WEP-. connects to the Internet through another computer on my network or through
a residential gateway."
MAC
Windows XP -, "Create a network
, setup disk" .
non-XP .
90 MAC . . non-XP
, router- , netsetup.exe.
. filtering , .
. MAC 2. workgroup- .
.
157 158
,
.
, ,
.
TIA/EIA-568-A Commercial
Building Telecommunications Cabling Standard. TIA (Telecommunications
Industry Association) EIA (Electronic Industries Association)
ANSI (American Standards Institute).
TIA/EIA
.
TIA/EIA-568
.
hub- .
() (equipment room) switch-
backbone
() .
159 160
93
UTP
5.
100 MHz
100 Mbps Ethernet
100Base-T .
100
(328 feet-).
(Backbone) -
, multimode fiber optic
2 GHz 100Base-FX .
2 .
AC , ,
UTP (EMI). EMI
.
.
. ,
92 STP , .
()
,
() backbone ,
, . router-, gateway-
, (wall
. jacks).
(patch panl)
(wiring closet) 94
161 162
troubleshooting .
.
.
, :
()
.
95
( )
.
( )
.
163 164
.
.
( ,
, ).
PC ,
( ).
,
() - ().
,
(, )
.
,
.
,
. ,
.
.
, : 96
, .
( 50 )
. ,
. , .
, , . ,
PC .
, , .
. ,
PC
(
).
. ,
.
, .
165 166
, ( )
. .
, 10 2 .
,
.
.
,
. ,
.
,
.
, .
.
,
.
.
(
).
,
,
. ,
,
( ).
. ,
,
. ,
.
, -,
. ,
.
, .
167 168
4.5.1
,
. ,
, .
- : 1 2.
1, , 80-
(workgroups).
1 : ,
135 135 ,
. (nonextended networks).
.
2,
.
1 .
253
.
4.5.2 AppleTalk
.
: sockets, nodes, networks, and zones
(, , ).
-
169 170
Sockets () .
.
socket .
(Datagram Delivery Protocol, DDP), .
socket .
socket-a, . .
Socket- . bridge- () router-a
(). .
. DDP-
a socket . 254 -
socket . , 1 1024. 100
socket-a DDP-a . 562 .
,
. ( )
,
extended .
.
(nodes) (cable range).
. 3-
AT . 3 3-6 .
Macintosh , , IBM PC, router, ( TCP/IP IPX)
. (
socket-. ).
171 172
, 4.5.3 AppleTalk
.
.
TCP/IP
IPX, ,
Ethernet, Token Ring
FDDI
: EtherTalk, LocalTalk, TokenTalk
FDDITalk.
- , IEEE 802.3
(EtherTalk), Token Ring/IEEE 802.5 (okenTalk) FDDI (FDDITalk).
,
LocalTalk. - OSI-ja.
,
.
.
- (internetwork)
.
4.5.4
.
:
1. (16- )
2. (8- )
3. socket-a (8- )
173 174
. 10.1.50 10, 1, socket 50.
175 176
Windows-
Linux-. , Domain Name Server-. IP
Linux . , hostname-. gateway
dialup Internet Wide Area Network (WAN) (routed). ,
. ,
() route () gateway-.
. , , , ,
. Linux
. , .
interface-;
. ,
.
gateway; . 4.6.2
;
, Debian GNU/Linux
subnetwork- ( subnet-): reboot-.
177 178
, nameserver
Linux. , xxx.xxx.xxx.xxx
Linux .
, , xxx.xxx.xxx.xxx (IP ) name server-; ,
192.168.1.1. ;
Linux-. , name server
. ,
4.6.2.1 .
/etc/hostname . , #! /bin/sh
hostname ; debian. domain name ( inconfig lo 127.0.0.1
debian.ora.com). route add -net 127.0.0.0
IPADDR=192.168.1.10
4.6.2.3 NETMASK=255.255.255.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
Linux-,
nameserver-. nameserver- ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
hostname-. route add default qw ${GATEWAY} metric 1
,
nameserver server-. ISP (Internet 4- 8-,
Service Provider) IP . :
179 180
, , , M, og LAN-a,
ipnumber-. NIS . ,
, . DNS , ( ),
/etc/hosts . ,
/etc/hosts .
IP .
/etc/init.d/network . /etc/host.conf/ ,
. .
. :
order hosts,bind
multi on
Network Configuration Variables
rder /etc/hosts
DNS , bind Berkeley Internet
IPADDR . Name Daemon, DNS .
NETMASK ,
32- ulti
. LAN host /etc/hosts .
Class C , netmask ( ), .
255.255.255.0.
4.6.2.6
BROADCAST
LAN-. broadcast
LAN- : /etc/hosts,
255. hostname-, DNS .
DNS , /etc/hosts
GATEWAY gateway- . .
4.6.2.5 hostname-a IP
hostname, hostname-
Linux IP
hostname-. : , hosts hostname
localhost IP 127.0.0.1.
/etc/hosts . ,
DNS , local hostname
/etc/hosts, hosts file . :
NIS (Network Information System)
127.0.0.1 localhost
181 182
183 184
Samba 4.6.3.2.1
Global Variables
. Advanced View.
, . ,
Commit Changes, .
Samba
Samba ,
tool bar-:
Globals - Samba ()
Shares -
Printers - Samba
Status - Samba
View - smb.conf
Password
Base workgroup The workgroup name displayed when the server is
, . queried by a client.
185 186
Samba Samba
netbios The name by which the server is known to the account guest .
name NetBIOS nameserver.
hosts allow host- .
server The text string displayed to describe the server. .
string
hosts deny host- .
Base interfaces The IP address of the interface or the IP addresses
(cont.) of the interfaces through which Samba should listen. Logging log level integer log .
Each IP address is followed by a forward slash and ( 0)
a number that specifies the number of bits that log.
pertain to the network portion of the IP address log file Samba log .
(usually 24). If this option is not set, Samba attempts
to locate and automatically configure a primary max log T log kilobytes (kb).
interface. size , Samba
log .
Security security Specifies how Samba authenticates requests for .
access to shared resources. The default value, user,
is helpful when the Samba server and its clients Tuning read Samba pre-read
have many common userids. The value share can prediction ,
be useful when few common userids exist. The . Samba 2.0.
value system lets another SMB server perform
authentication on behalf of the server. You should socket TCP
generally use the default value; see the Samba options .
documentation for details. Printing printcap printcap .
encrypt Specifies whether Samba will negotiate encrypted name
passwords passwords, which are expected by Windows NT 4.0 printing Samba
SP3 and Windows 98. . , SYSV
update Allows automatic updating of an encrypted Linux .
encrypted password when a user logs on using a non- Logon logon script BAT download-
encrypted password. This option is useful when log-
migrating to encrypted passwords and should Samba-.
otherwise be set off.
domain Samba Windows 9x domain
map to Specifies Samba's action when a user attempts to logons logons workgroup-. : Samba
guest log on using an invalid password. The Bad User Windows NT domain
option is generally appropriate. logons, Primary Domain Controller
guest The Linux account used to provide services for (PDC).
187 188
:
,
.
189 190
4.6.3.2.3
share.
printer share-, printer share-,
Samba Share .
191 192
Samba printer
Samba Print Share
Base comment
.
path print spooling .
Security guest Linux guest-.
account
guest ok guest.
Choose Printer,
. hosts allow host- ,
Advanced View. comment, .
path, read only create mask . hosts deny .
4.6.3.3 samba
193 194
refresh- , View. ,
refresh , daemon ; Full View .
kill- .
Samba /etc/smb.conf
Samba status
4.6.3.4 samba
4.6.3.5
View button swat tool bar Samba server
Password .
, /etc/smb.conf.
195 196
backup- /etc/smb.conf .
cp /etc/smb.conf /etc/smb.conf.SAVE
cp /etc/smb.conf.SAVE /etc/smb.conf
4.6.4 Samba
Samba ,
Microsoft Windows-, Linux- .
197 198
4.6.4.2
download , :
browse- dir
. SMB , :
:
smbclient -L
server
cd
dir
server SMB . :
dir . :
smbclient -L
server -U
userid cd ..
To actually access resources via SMB, use the following command form:
199 200
SMB exit.
:
help
command:
command . :
2. Joe Habraken
Absolute Beginner's Guide to Networking, third edition (Que)
3. Stephen J. Bigelow
Bigelow's Troubleshooting, Maintaining & Repairing Networks (Osborne)
201 202