คู่มือการตั้งค่าLan

Preview:

Citation preview

1Basic Computer Network

2Basic Computer Network

�LAN OverviewLANs were created to save time, money, and enable users to share information and resources more easily. Some advantages that LANs provide include

� Simple and inexpensive connections

� Support for multiple media protocols

� Flexibility to provide any-to-any connections

� Support for new applications

� Ability to grow easily

3Basic Computer Network

Outsideresources

Firewall Gateway

DMZ

Data network

LAN WAN

ServerServer

PrinterPrinter

Hub/Switch

Media

PC Workstation/ClientsPC Workstation/Clients

LAN

4Basic Computer Network

Thicknet

Thinnet

LAN Media

Fiber Optic

5Basic Computer Network

LAN Media

RJ-45�STP : Shielded Twisted Pair

�UTP : Unshielded Twisted Pair

6Basic Computer Network

BNC connector

LAN Adaptor

RJ-45 connector

�NIC : Network Interface Card

�PCI : Peripheral Component Interconnect Cards

7Basic Computer Network

�MAC Addressing• Aka Hardware address

• “Ethernet” (or 802.3) networks specify a 48-bit physical “MAC address”– 00-00-f8-75-5b-a6 -- Unique identifier for the network

interface card (NIC)– Address ranges are assigned to specific vendors e.g.,

“00-00” is Digital Equipment corp.– To find vendors MAC addresses

http://coffer.com/mac_find/

• Specific MAC address that means “broadcast”– ff-ff-ff-ff-ff-ff (All 1s)

8Basic Computer Network

Hub

Switch

LAN Connecting Devices

9Basic Computer Network

HUB• HUBs: ������ ��������� ������������ �����������������

!"#�� "��$%�!&��&'� ( � �!)#���&'�!*�����+������

• �,' ���!�-� 2 ��!.�"#� ��������� 1 "Passive HUBs� "#������� �� ����� ����,����' /'��*���0� ��������� 2 �Active HUBs� "#������� �� ����� �������������12��!�#��!�%+���+���*� �����,�����' /'��*���0�

3 HUBs ��� ����0',��+�,)�2�� � 1 *� �,,����� OSI Model

10Basic Computer Network

Switch• Switches: �������� �!)'�!+ ����, HUBs "#��������*���0� ��������

�����*���0����� !"#�� "��$%�!&�� �#������"��$%�!&��� ���0'�,,!"#�*'��

• "�������6� ����!��#� Hubs "#� �����,)'� �����*� *���0�� �� �.�$"���"�,"�� *� ��������� )'� �� �#�� ( � ��%��"���"�,"�� ������'�

3 Switches � ����� ������ ����0',��+�,)�2�� � 2 *� �,,����� OSI Model (�)�!)#��� LANs � �� Topology � �!��#�����)

11Basic Computer Network

Router• Router: �����!"#�*'��"��$%�!&��� ��������� �����!)#���J� !"#�*'��

"��$%�!&����!.� LANs – WANs �#� WANs – WANs ����� ������ ��*� ����� Router "#� ��$%���"�+!�#��!����� �����' /'��*���0����� !"#�*'��"��$%�!&���#�� ( (Internetworking Device)

• ���' /'��*���0�*� Router ���)�J�J&"�� IP J+���� ����0',��+�,)�2�� � 3 *� �,,����� OSI Model

TOT’s NETWORK

12Basic Computer Network

LAN Topologies

BUS

STAR RING

• Bus• Ring• Star• Star-Bus

13Basic Computer Network

�Star-Bus Topology

14Basic Computer Network

+,-./0123456 Gigabit Ethernet

system 96::690;6<

IEEE 802.3ae

+,-./0123456 Gigabit Ethernet system 96::690;6<

IEEE 802.3z/802.3ab

+,-./0123456 Fast Ethernet system 96::690;6<

IEEE 802.3u

C6.D1EF/0123456 ......... 96:

:690;6< IEEE 802.3

GH906I46:/0J4 10 Gbps

GH906I46:/0J4 1000 Mbps

GH906I46:/0J4 100 Mbps

GH906I46:/0J4 10 Mbps

/DIL<LM21I46:/0J4 ETHERNET

&'�'( )'&�*'+ IEEE802.3

15Basic Computer Network

Fast EthernetTwisted Pair

(UTP)......... /:90100 Mbps100baseT

Fiber Optic2000 /:9010 Mbps10baseF

Twisted Pair (UTP)

STAR100 /:9010 Mbps10baseT

Thick EthernetThick Coaxial500 /:9010 Mbps10base5

Thin Ethernet S0TG

CheapernetThin CoaxialBUS185 - 200 /:9010 Mbps10base2

UT-G/0123V62D1-WUX Cable

Topology D1-WUX

0F2FI46:264 W<3600HC-V5.

YXG:ZM

GH906I46:/0J4 3600HC-V5.

YXG:ZM

:690;6< 360

/UT-G:95G

:690;6<360/UT-G:95G ETHERNET

16Basic Computer Network

IP Address3 Internet Protocol Address !�-�����!�*��� �% �����&'� ( � �!)#���&'�

��J" *'�� � ���'12����� �����'/0�&%+��, Hardware ����,+���

– "'�*� ����!�*�������!"#�*'�� (Host Address)

– "'�*� ����!�*!"#�*'�� (Network Address)

• � *��+ 32 bit �,' !�-� 4 �'�� �&'���'�� � "'�&�2 �&' 0- 255

17Basic Computer Network

18Basic Computer Network

IP Addresses – Class A• Class A

– Start with binary 0– All 0 reserved– 01111111 (127) reserved for loopback– Range 1.x.x.x to 126.x.x.x– All allocated

• Private address 10.x.x.x

19Basic Computer Network

IP Addresses – Class B• Start with binary 10

– Range 128.x.x.x to 191.x.x.x– Second Octet also included in network address– 214 = 16,384 class B addresses– All allocated

• Private address range172.16.x.x – 172.31.x.x

20Basic Computer Network

IP Addresses – Class C• Start with binary 110

– Range 192.x.x.x to 223.x.x.x– Second and third Octet also part of network address– 221 = 2,097,152 class C addresses– Near all allocated

• Private address range192.168.x.x

21Basic Computer Network

22Basic Computer Network

Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol

• DHCP "#� Service � ��������� �������� IP Address *� �,,!"#�*'�� �����,!"#�� �0�*'�� (Client) ��&J���&% ������/0�+0���,,��'&�� "����,&�2 "'�&'� ( ����!)#���&'�� �!"#�� Client � ��!"#�� �����)� ���,,+� ��'�� !"#�� ���,%�� (Server) ��&�� &%+&�2 Service ��,�&' ���!������ ��� run ��� �'��� �!"#�� Client ��&�� ��,�&' ����,�,, IP ���!"#�� ���,%��

23Basic Computer Network

Domain Name� )#��J+!�� (Domain Name) ����6] )#��� �60�! �������! ��!�-�

����!�*�%�!���!�̂& (IP Address) �����!�-�)#��� ��#��"�������6] ��'�� �� �#�!���*� !�^,�1&���2�(

� !)'�!�^,�1&�*� !�"!�" � ����!�* IP "#� 202.44.204.33 � �������+ ")#��J+!��" !�-� www.nectec.or.th

� ��&%+&'����'� "��$%�!&����!"#�*'�� �)� IP Address !"#�� � ��������� �!�-�&�� Lookup �#�+�)� ����!�b++0,��) ����!�*���)#��� �!�-�&�����c (Domain Name) ! ���'� Domain Name Server

24Basic Computer Network

1'�12'3+456'57)89:�&7�;<+1'��=>�7)&67 Network

Windows 98 / ME

25Basic Computer Network

1'� setup windows 98/ME

Click Y46D1- My computer /MTG3 Properties

Network Interface Card

904EVGC3609[\9H]. Network Interface Card

26Basic Computer Network

1'� setup windows 98/ME

• start

• Setting

• Control Panel

27Basic Computer Network

1'� setup windows 98• !�b+ Control Panel !�#�� Network

28Basic Computer Network

Network Configuration

1

2

29Basic Computer Network

TCP/IP Properties : IP Address

30Basic Computer Network

DNS Configuration

31Basic Computer Network

• &����,��!)#���&'����'� PC ��, Network J+���!*����� � DOS Prompt ���� $%�$� ipconfig /all

32Basic Computer Network

3�>7?���� RUN 89)8; winipcfg

33Basic Computer Network

1'�12'3+456'57)89:�&7�;<+1'��=>�7)&67 Network

Windows XP / 2000

34Basic Computer Network

1. 5@91A:'&�( Icon My network Place F@G:5@91��� Properties1'� Setup Windows XP / 2000

35Basic Computer Network

2. 5@91A:'&�( Local Area connection F@G:5@91��� Properties

36Basic Computer Network

3. Double Click &�( Internet Protocol (TCP/IP)

37Basic Computer Network

4. �@>71 Obtain an IP automatically, Obtain DNS server automatically

38Basic Computer Network

1'� Setup V6'+ Control Panel

����� Control Panel

39Basic Computer Network

Double Click ��� Network Connections

Double Click Network

Connections

40Basic Computer Network

"�%�*��� � Local Area Connection ���!�#�� Properties

Click ���

����� Properties

41Basic Computer Network

�@>71 Internet Protocol (TCP/IP) F@�5@91����WX) Properties F@G:<+FYZ General <3G�@>71 Obtain an IP address automatically F@� Obtain DNSserver address automatically.

�@>71 internet Protocol(TCP/IP)

�@>71 obtain an IP address

�@>71 obtain DNS

Click Properties

42Basic Computer Network

• &����,��!)#���&'����'� PC ��, Network J+���!*����� � DOS Prompt ���� $%�$� ipconfig /all

43Basic Computer Network

52'\]�(&�:^\7Z�5�>7A6'_ Ping52'\]�(&�:^\7Z�5�>7A6'_ Ping• �)�����&����,�6�����!)#���&'����'� !"#�� &���� ��,!"#�� ������

J+����' �$^"!�^�*���0�*��+!�̂� ( ��/'���� J�J&"�� ICMP (Internet Control Message Protocol) ���!"#�� ������ � �!��' �$"̂!�^�����2���� ����0' �^��&�,���,��!�-� ICMP Echo Reply (&���' !�-� ICMP Echo Request)

• ,� � � �!"#�� ������ � �� block ping !�����+��� Fire wall !�#�� �����!�&�+���"������+.�� ������/�� ��+�����!�-��'�&%+&'�!"#�� ������ ��'�+�

44Basic Computer Network

��̀4 command prompt 89)8;52'\]�( Ping &')4G:_�@A IP address 7W�1�a;�@'_�'(���&94&67

45Basic Computer Network

Wireless LANWireless LAN

46Basic Computer Network

������� Wireless LAN (Local Area Network) ���� WLAN � !"�������#�$�#���%�&'(�)�&��*)#'��+,-./%��01$"2.. peer-to-peer /5$�&6�% 27�(+#0�"5 (station) #�&��0#�$�#��09�:-";,%�,7��2..;�%#� <9$��' 2..���:��#�$�#��� !";,%/-=�2..>?,7��>?, (point-to-point) ����2..>?,7���(�>?, (point-to-multi point)

������� WLAN � !"B((-CDE���:��"F�������� LAN &� �-. �?� �,� (5$"#�$�/5$/F��"%�/5$� !"7-):(���-.#�� <9$��,1&������� LAN &5:��6G%#����.1(2..7��� H

<[26:YG.LI0.Y562 Wireless LAN

47Basic Computer Network

I_`a0FL2U<bYG.0FCCVT-GV60c0XV62

� ;&�&5�%�>F�:-,6"���$��7F�2�"��/5$#�&��06G%.�1:��71,7��#�$�#��

� 6"�I+:F�(-�71,7��#�$�#�� B'%6G%.�1:��#�&��0��(�$�"/5$;,%

� �������71,7��#�$�#��#�&��0#�%���9="6G%��";,%��� �),��*) 2(+7%"/?"0'::)���������/5$6G%#�

48Basic Computer Network

4[4Hd<6360YG.LI0.Y562YXG:ZMc0XV62

Wireless LAN (Proprietary)

Wired LAN Network

IEEE Standard ETSI Standard

IEEE 802.11

IEEE: Institute of Electrical and Electronics EngineersETSI: European Telecommunications Standards Institute

HiperLAN/1HiperLAN/2HiperACCESS

IEEE 802.11b (Wi-Fi) IEEE 802.11a (Wi-Fi5)

IEEE 802.11g (Wi-Fi)

49Basic Computer Network

IEEE 802.11Specifications

2.4-2.497 GHz5.15-5.35 GHz

5.425-5.675 GHz2.4-2.497 GHz

Frequencies

CCK= 1,2,5.5,11 Mbps

OFDM=6,9,12,18,24,36,48,54 Mbps

6,9,12,18,24,36,48,54 Mbps

1,2,5.5,11 Mbps

Data rates

OFDM and CCKOFDMCCKModulation

54Mbps54Mbps11MbpsMaximum Data rate

June 2003July 1999July 1999Standard Approved

802.11g802.11a802.11b

�OFDM (Orthogonal Frequency Division Multiplexing)

�CCK (Complementary Code Keying)

50Basic Computer Network

Wi-Fi� Wi-Fi 25G:6E63Ig6456 Wireless Fidelity /ah</I0T-G.S:62D6.360IX6YG.U_\:690;6</I0TGY562c0XV62 IEEE 802.11 (Institute of Electrical and Electronic Engineer 802.11)

� :690;6<<1]3g6S<\/DIL<LM21D1-WUXV0X6./I0TGY562IG:i[4/9G0bc0XV62 (Wireless Local Area Network (WLAN)) L\2WUXIMT-<4[D2_256<I46:j1- UHF (Ultra High Frequency)

51Basic Computer Network

Wireless Network Components

RF interface for iPAQ / Casiopia)

Access Point

………….……. ………………….

……

……

……

……

.….

RF interface for desktop PC

RF interface for notebook

52Basic Computer Network

Access Point� /ah<E_\kZ<2b3M6.Vg6S0HC Wireless Network

� V6:60jjG\/aM1-2</ah</V6G636k /iT-G/i[-:0F2F

0HC - V5.c\X

� V6:60j/YX60SHVYXG:ZMD1-0HC/YX6lMFV5.GG3\X42

0SHV lCC 128 C[9

� Eg63H\360/UT-G:95G\X42360M.DF/C12< MAC

address

� V6:60ja0HCLS:\360Dg6.6<c\XSM62lCC c\Xl35

Client mode, Infrastructure, Repeater, lMF

Multipoint repeater

53Basic Computer Network

RF Interface Card

lM<c0XV62lCC PCMCIA USB portCard Compact flash

360b\ PCMCIA 9[\9H]./YX63HC360b\ PCI 360b\ PCI Wireless c:59XG.:1360b\ PCMCIA

�PCMCIA : Personal Computer Memory Card Internationa l Association

54Basic Computer Network

������������ �

���������� Wi-Fi � ������������������������������������

������������� ���� ���������������!�����"�� IEEE 802.11a/b/g

55Basic Computer Network

Wireless Bridging (LAN-to-LAN connectivity)Infrastructure connection

Ad- hoc connection

&'()*+,-./0-1-234(210'5 WLAN

56Basic Computer Network

Peer to Peer Topology (Ad Peer to Peer Topology (Ad Peer to Peer Topology (Ad Peer to Peer Topology (Ad hochochochoc))))o ��������������� �������������� �� ���������������� Access Point

o ��������������� �������������������� (������� 3 ��)

o ��� ��������� ��� ������� !���" #��$�����%��&����� ���� �� '

AdAdAdAd----hoc network is a network typically created in a spontaneous mannhoc network is a network typically created in a spontaneous mannhoc network is a network typically created in a spontaneous mannhoc network is a network typically created in a spontaneous manner.er.er.er.

57Basic Computer Network

360/UT-G:95GlCC Infrastructure WUX Access Point 9H4/\124

l95MF/I0T-G. V6:60j/IMT-G<2X62c\XG256.G[V0F m62W<YGCY562360/UT-G:95G

c:5Eg63H\Eg6<4<E_\/UT-G:95G

58Basic Computer Network

1'��=>�7)&67FZZ Infrastructure <=G Access Point 3@'_&]:

8>c+���5�7Z5@W)�]c(3)4��d+�5�>7A6'_�4�_:1]+

�5�>�7(@e1A6'_\')'�Y�5@>�7+��� ^'18>c+���A7( Access point &]:3+f�( ?�_](8>c+���A7( Access point 7�1&]:3+f�(?4G g4_1'��=>�7)&67?)6A'4=6:( ���_1:6' Roaming

59Basic Computer Network

&'()8+-& Channels - IEEE802.11 DS

o .> 3 *0-2@>,*0-2ABCC'D48+,EF.0)&5/@BH&BEo A'.'(I.> Access Points FJK 3 /BLMEN+OE@>,)J>5L&BEo P/08Q*0-24L'.I>,.> bandwidth @>,M*K2'E)@0'&BH 22 MHz.o 4L'.)(VL1-21K-.W8)@0'&BH 11 Mb/s

1 2 3 4 5 6 7 8 9 10 112400

2472241212 13

1

2

3

5

4

6

7

8

10

9

13

11

12

60Basic Computer Network

Service Set Identifier (SSID)

• )#����� �% Service Set• !�-�&���,' ������'� !"#�*'��

• 6��&�� ��!)#���J� !*��!"#�*'��&�� �����+!�-�)#��!+ �����

61Basic Computer Network

Wired Equivalent Privacy (WEP)

• !�#��!�#��&�� ����c�"������+.���,, Ac-Hoc

• &����,�%�e%�,,�,,�b+

• 6��!�#�� WEP 64 ,%&��'" �� 10 digit

• 6��!�#�� WEP 128 ,%&��'" �� 26 digit

62Basic Computer Network

Local Area Network (LAN)

HubHubHubHub

ServerServerServerServer SwitchSwitchSwitchSwitch

InternetInternetInternetInternet

Access PointAccess PointAccess PointAccess PointHubHubHubHub

Wireless LAN (WLAN) as an Wireless LAN (WLAN) as an Wireless LAN (WLAN) as an Wireless LAN (WLAN) as an extension to wired LANextension to wired LANextension to wired LANextension to wired LAN

Ethernet ClientEthernet ClientEthernet ClientEthernet Client

63Basic Computer Network

1. ����$����&C1)�7��E�,#/*� (����$�� PC 7-=��7\+) /F�:���G�$�&7��:-.:��E,

2(";�%#�

� 2.. PCMCIA :-.:��E, PCI "F�&��G�$�&7��:-" 2(+71,7-=�." PCI

Slot �������$����&C1)�7��E

� 2.. PCI Wireless /5$;&�7%��&5:��E, PCMCIA 2(+71,7-=�." PCI Slot

�������$����&C1)�7��E

� 2.. USB B��"C��E7 USB �������$����&C1)�7��E (2.. USB >+

#+,)::)��2(+#�&��06G%��":-.����$���"%7.?\�;,%�G�":-")

�V0_a/CT]G.9X<W<360WUX.6</I0TGY562c0XV62

64Basic Computer Network

2. ����$����&C1)�7��E�"%7.?\� /F�:���G�$�&7��:-.:��E,2(";�%#�

� 2.. PCMCIA ��&�+#F���-.����$���"%7.?\��?�"�:��/5$;&�6G� Centrino� 2.. USB B��"C��E7 USB �������$���"%7.?\�

3. ����$����&C1)�7��E�"%7.?\�2.. Centrino ;&�>F�� !"7%��<�=��? :�IE2(";�%

#��C1$& �C��+����$���"%7.?\�2.. Centrino #�&��06G%��"��������;�%#�

;,%�,7��

4. �? :�IEC:C� Palm ���� Pocket PC /F�:���G�$�&7��:-.�? :�IE2(";�%

#�2..:��E,;)�(# <9$�:��E,;)�(#"5=#F���-.�G�$�&7��:-. Palm ���� Pocket

PC 27�(+�?�"�/��"-="

�V0_a/CT]G.9X<W<360WUX.6</I0TGY562c0XV62

65Basic Computer Network

DELL

66Basic Computer Network

Hewlett Packard

67Basic Computer Network

IBM

68Basic Computer Network

ACER

69Basic Computer Network

Compaq

70Basic Computer Network

Compaq

71Basic Computer Network

ASUS

72Basic Computer Network

THE ENDTHE END

Q & AQ & A

Recommended