146
NETWORK SYSTEM (รรรรรรรรรรรรร) Present By LT.SONGKIAT TUBSOONGNERN

สอนLAN

Embed Size (px)

Citation preview

Page 1: สอนLAN

NETWORK SYSTEM (ระบบเคร�อข่าย)

Present ByLT .SONGKIAT TUBSOONGNERN

Page 2: สอนLAN

ระบบเคร�อข่าย• เคร�อข่ายข่องคอมพิ�วเตอร� ค�อ การนำ�าคอมพิ�วเตอร�ต��งแต

2 เคร��องข่��นำไป มาเชื่��อมตอก�นำ เพิ��อให้!สามารถต�ดตอส��อสารก�นำ ใชื่!ข่!อม%ลรวมก�นำ ใชื่!ทร�พิยากรรวมก�นำได! ต�วอยางเชื่นำ Printer, Hard Disk เป(นำต!นำ

Page 3: สอนLAN

ระบบเคร�อข่าย

• ระบบเคร�อข่ายระยะใกล! :LAN (Local Area Network)• ระบบเคร�อข่ายระยะไกล :WAN (Wide Area

Network)

Page 4: สอนLAN

Network Topology

• STAR• RING• BUS• DUAL RING• MESH

Page 5: สอนLAN

STAR

• เป(นำการเชื่��อมตอโดยม* คอมพิ�วเตอร�ห้ล�ก ห้ร�อ HUB เป(นำศู%นำย�กลาง และม*เคร��องคอมพิ�วเตอร�อ��นำๆตออย%รอบๆ

Page 6: สอนLAN

RING

• ล�กษณะการเชื่��อมตอแบบวงแห้วนำ ห้ร�อ วนำ LOOP

Page 7: สอนLAN

BUS

• ล�กษณะการเชื่��อมตอแบบม*เส!นำทางข่!อม%ลห้ล�ก และม* คอมพิ�วเตอร� ตออย%ตามแนำวเส!นำทาง

Page 8: สอนLAN

DUAL RING• ใชื่!ก�บ FDDI (Fiber Distributed Data Interface)

โดย RING ท��ง 2 ท�างานำรวมก�นำในำล�กษณะ REDUNDANT

Page 9: สอนLAN

MESH

• ปกต�ใชื่!ก�บ WAN โดยม*การเชื่��อมตอผ่านำ Router

Page 10: สอนLAN

ลั�กษณะข่องการเชื่��อมต่อเคร�อข่าย

• Peer to Peer• Client/Server

Page 11: สอนLAN

Peer to Peer• เป(นำระบบเคร�อข่ายข่นำาดเล0ก คอมพิ�วเตอร�ในำเคร�อข่ายสามารถ

ใชื่!ทร�พิยากรตางๆ ข่องเคร��องอ��นำๆรวมก�นำได! ระบบปฏิ�บ�ต�การท*� ใชื่! ได!แก Windows for WorkGroup, Win95,

Win98, Win2000, WinXP เป(นำต!นำ• อ2ปกรณ�ท*�ต!องใชื่!ได!แก LAN Card และ HUBข่!อด*• ประห้ย�ด• ต�ดต��งงาย

Page 12: สอนLAN

Peer to Peer

Page 13: สอนLAN

Client/Server

• ระบบนำ*�จะม*คอมพิ�วเตอร�ห้ล�กเร*ยกวา File Server ท�าห้นำ!าท*�เก0บข่!อม%ลและเป(นำศู%นำย�กลางข่องระบบ สวนำคอมพิ�วเตอร�เคร��องอ��นำๆเร*ยกวาเป(นำ Work Station

• อ2ปกรณ�ท*�ต!องใชื่!ได!แก LAN Card และ HUBข่!อด*• สามารถบร�ห้ารและจ�ดการได!จากสวนำกลาง• Security ส%ง

Page 14: สอนLAN

Client/Server

Page 15: สอนLAN

Network Equipmentองค�ประกอบพิ��นำฐานำข่องระบบเคร�อข่าย1.คอมพิ�วเตอร�อยางนำ!อย 2 เคร��อง2.NIC (Network Interface Card)3.สายส�ญญาณ เชื่นำ Coaxial, UTP, Fiber Optic4.อ2ปกรณ�เคร�อข่าย เชื่นำ Hub, Switch, Router 5.โปรโตคอล ค�อภาษาท*�ใชื่!ส��อสารก�นำในำเคร�อข่าย เชื่นำ TCP/IP, IPX/SPX6.ระบบปฏิ�บ�ต�การเคร�อข่าย (NOS: Network Operating

System) เชื่นำ Windows NT, Windows 2000 Server, Windows

2003 Server, Netware

Page 16: สอนLAN

Network Equipment LAN Card/Ethernet Card/NIC

• อ�ปกรณ�ที่��แปลังสั�ญญาณจากเคร��องคอมพิ!วเต่อร� แลั#วสังสั�ญญาณผ่านสัายน&าสั�ญญาณไปย�ง HUB

• การพิ!จารณา LAN Card จาก CHIPSET , ความเร(วแลัะระบบ เชื่น10 BaseT, 100BaseT, 10/100BaseT เป)นต่#น

Page 17: สอนLAN

Network Equipment

สายนำ�าส�ญญาณป7จจ2บ�นำสายส�ญญาณท*�ใชื่!เป(นำมาตรฐานำในำระบบเคร�อข่ายม* 3 แบบ ค�อ • สาย Coaxial• สายค%บ�ดเกล*ยว (Twisted Pairs)• สายใยแก!วนำ�าแสง (Fiber Optic)

Page 18: สอนLAN

Network Equipment

สาย Coaxial  Coaxial Cable ม�ลั�กษณะเป)นสัายที่��ประกอบไปด้#วยแกนข่องที่องแด้งหุ้�#มหุ้อ

ด้#วยฉนวนแลัะสัายด้!น (ลั�กษณะเป)นฝอย ) แลั#วหุ้�#มด้#วยฉนวนบางอ�กชื่�/นหุ้น0�ง  Coaxial Cable ที่��ใชื่#ในระบบเคร�อข่ายแบงออกเป)น    2 แบบค�อ 

10 Base2 หุ้ร�อ Thin coaxial cable จะใชื่#สัาย RG58A/U10Base5 หุ้ร�อ Thick coaxial Cable จะใชื่#สัาย 8 หุ้ร�อ  11

Page 19: สอนLAN

Network Equipment

สายค%บ�ดเกล*ยว ( Twisted pair Cable) เป)นสัายสั�ญญาณที่��ประกอบไปด้#วยสัายที่องแด้ง 2 เสั#นข่0/นไปบ!ด้ก�นเป)นเกลั�ยว

 (Twist) เป)นค2ๆ ไป แลัะหุ้�#มด้#วยฉนวน เชื่นสัายโที่รศั�พิที่�  โด้ยการบ!ด้ก�นเป)นเกลั�ยวน�/จะชื่วยในการลัด้คา Cross Talk ในสัาย สัายค2บ!ด้เกลั�ยวในเคร�อข่ายแบบ Ethernet แบงออกเป)น 2 แบบ ค�อ • สัายแบบ   STP ( Shield twisted Pair) เป)นสัายแบบม�ฉนวนป6องก�น

สั�ญญาณรบกวนที่��ความถี่��สั2งได้#  ม�คาความต่#านที่าน 150 โอหุ้�ม • สัายแบบ  UTP ( Unshielded Twisted Pair) เป)นสัายแบบไมม�การ 

  Shield จะม�สัายต่�วน&า 8 เสั#นต่�เกลั�ยวเป)นค2จ&านวน 4 ค2 ม�คาความต่#าน 1 00 โอหุ้�ม

สาย UTP ท*�ใชื่!ในำ ทร.เป(นำแบบ Cat.5E รองร�บ BW 100 MHz

Page 20: สอนLAN

Cat.5E ก�บ Cat.61.BW ข่อง Cat.5E ค�อ 100 MHz แต่ BW ข่อง Cat.6 ค�อ 200 MHz

แลัะต่#องที่ด้สัอบถี่0ง 250 MHz2.Cat.5E ใชื่#แกนที่องแด้งเบอร� 24 AWG ม�เสั#นผ่าศั2นย�กลัางประมาณ 051

mm.แต่Cat.6ใชื่#แกนที่องแด้งเบอร� 23 AWG ม�เสั#นผ่าศั2นย�กลัางประมาณ 057

mm. ซึ่0�งม�ข่นาด้ใหุ้ญกวาแลัะการใชื่#แกนที่องแด้งที่��ม�ข่นาด้ใหุ้ญข่0/นน�/จะชื่วยลัด้การสั2ญเสั�ยที่างไฟฟ6าลัง รวมที่�/งคาพิาราม!เต่อร�อ��นๆก(ด้�ข่0/นด้#วย เชื่น คา Attenuation ต่างๆลัด้ลัง

Network Equipment

Page 21: สอนLAN

Network Equipment

สายใยแก!วนำ�าแสง (Fiber Optic)

ในป:จจ�บ�นม�การใชื่#สัายใยแก#วน&าแสังในระบบเคร�อข่ายมากข่0/น เน��องจากไมถี่2กรบกวนด้#วยคลั��นแมเหุ้ลั(กไฟฟ6า แลัะสัามารถี่สังข่#อม2ลัได้#ในอ�ต่ราที่��สั2งแลัะระยะที่างไกลักวา แต่เน��องจากอ�ปกรณ�ม�ราคาสั2ง จ0งม�กจะใชื่#เป)น Backbone หุ้ร�อ Link ข่องระบบ

โครงสัร#างข่องสัายใยแก#วน&าแสัง จะประกอบด้#วย Core แลัะ Cladding

Page 22: สอนLAN

Network Equipment

ชื่น!ด้ข่อง Fiber Optic แบงต่าม Transmission Mode ได้# 2 แบบ• 1.Single Mode:SM • 2.Multi Mode:MM ข่นาด้ที่��น!ยมใชื่#ค�อ 50 แลัะ 625125. / um

Page 23: สอนLAN

Network Equipment Snell’s Law: When light crosses the boundary between two

materials, it is bent (refracted) in such a way that is dependent onl   y upon the relative indexes of refraction of the two materials.

Page 24: สอนLAN

Network Equipment

Total Internal Reflection: The optical mechanism by which fiber optics are made to work. If the

angle of incidence of light attempting to cross from a high index to a low index medium is in excess of the critical angle, then no refraction occurs

   and the light is totally reflected.

Page 25: สอนLAN

Network Equipment

Fiber Optic Connector

Page 26: สอนLAN

Network Equipment

ST Fiber Optic Connector

ST/UTP Media Converter

SC Fiber Optic Connector

Page 27: สอนLAN

Network Equipmentการเข่!าห้�วสาย UTP• เข่!าตามมาตรฐานำ TIA 568B ได! 2 แบบ ค�อ1. Straight Through• ข่าว-ส!ม , ส!ม , ข่าว-เข่*ยว , นำ��าเง�นำ , ข่าว-นำ��าเง�นำ , เข่*ยว ,

ข่าว-นำ��าตาล , นำ��าตาล ตามล�าด�บ -182. Cross Over• ข่าว-เข่*ยว , เข่*ยว , ข่าว-ส!ม , นำ��าเง�นำ , ข่าว-นำ��าเง�นำ , ส!ม ,

ข่าว-นำ��าตาล , นำ��าตาล ตามล�าด�บ -18

Page 28: สอนLAN

Network Equipment

การเข่!าห้�วสาย UTP แบบ Straight Through

Page 29: สอนLAN

Network Equipment

การเข่!าห้�วสาย UTP แบบ Cross Over

Page 30: สอนLAN

Ethernet• 1973 Bob Metcalfe ค�ดค!นำ และถ%กพิ�ฒนำาตอโดย Xerox• ใชื่!มาตรฐานำ 8023IEEE .• ใชื่! CSMA/CD (Carrier Sense Multiple

Access/Collision Detection)• ความห้มายข่องรห้�ส แบบ S Type L• S ค�อ Speed ความเร0วเป(นำ Mbps• T ค�อ Type :Base Band/Broad Band• L ค�อ ระยะท*�ตอได!ส%งส2ดต�วอยาง 10 Base 5 • 10 ค�อ ความเร0ว 10Mbps• Base ค�อ Baseband• 5 ค�อ ระยะทางเชื่��อมตอส%งส2ด 500 ม.

Page 31: สอนLAN

Ethernet

Ethernet (ตอ)• Baseband=สงส�ญญาณ 01, ห้ร�อแรงด�นำไฟ

05 V ไมม*การผ่สมส�ญญาณก�บความถ*�ส%งอ��นำๆ• Broadband=ผ่สมส�ญญาณข่!อม%ลท*�จะสงเข่!าก�บ

ส�ญญาณ Analog ห้ร�อ Carrier ท*�ม*ความถ*�ส%ง

Page 32: สอนLAN

Ethernet

ชื่นำ�ดข่อง Ethernet • 10 Base2 ห้ร�อ Thin Ethernet • 10 Base5 ห้ร�อ Thick Ethernet • 10BaseT• 100 BaseT ห้ร�อ Fast Ethernet

Page 33: สอนLAN

Ethernet10 Base2 ห้ร�อ Thin Ethernet ใชื่#สัาย    Coaxial RG5 8 A/U ความเร(ว 10 Mbps เชื่��อมต่อได้#สั2งสั�ด้ 185 ม . แลัะต่#องม�

  Ground  Terminator ข่นาด้     5 0 โอหุ้�ม ป;ด้ที่#ายข่องสัายสั�ญญาณเป)นจ&านวน 2 ต่�ว  

• T-connector เป)นอ�ปกรณ�ที่��ใชื่#เชื่��อม Network Card แลัะ Cable เข่#าด้#วยก�น T-connector ม� 3   ข่า ข่าที่�� 1 จะเป)นข่าที่��ใชื่#ต่อก�บ Network Card ซึ่0�งเสั�ยบอย2ใน PC สัวน

อ�ก 2 ข่าที่��เหุ้ลั�อจะใชื่#ต่อก�บ Cable • - BNC Connector เป)นอ�ปกรณ�ที่��ใชื่#ที่&าหุ้�วใหุ้#ก�บสัาย Cable เพิ��อใหุ้#สัามารถี่เสั�ยบต่อก�บ -T

Connector ได้#• - BNC Barrel Connector เป)นอ�ปกรณ� ที่��ใชื่#เชื่��อมต่อสัาย  Coax ในกรณ�ที่��ต่#องการต่อใหุ้#ม�

ความยาวมากข่0/น  ไมควร น&าสัาย Coax มาต่อก�น โด้ยใชื่# - T connector เพิราะจะที่&าใหุ้#ระบบค!ด้วาเป)นอ�ก 1Workstation ซึ่0�งอาจจะที่&าใหุ้#เก!ด้ ป:ญหุ้าก��ยวก�บจ&านวน Station ใน 1LAN วงได้# (ไมเก!น 3 0 Station)

• - Ground Terminator ม� 2 ต่�ว ต่อ 1 ระบบ ใชื่#ป;ด้สั�ญญาณหุ้�วที่#ายข่องระบบ Networkแลัะม�  Ground เพิ��อป6องก�น ไฟร��ว

Page 34: สอนLAN

ข่#อก&าหุ้นด้ข่อง 10 Base2• Use Coaxial RG 58• 185m. max. segment length• Max. 30 connector per segment• Use BNC(Bayonet-Neil Concelman) connector• 50 cm. min. distance between connector point• 5 cm. min. bend radius• Max. transceiver length 50 m.• Terminated 50 Ohm• Topology ใชื่#แบบ Bus

Ethernet

Page 35: สอนLAN

Ethernet

Page 36: สอนLAN

Ethernet

Page 37: สอนLAN

Ethernet

Page 38: สอนLAN

10 Base5 ห้ร�อ Thick Ethernet

 ม�ลั�กษณะคลั#ายก�บ   10 2Base แต่แที่นที่��จะต่อ Cabl e เข่#าก�บ   Station โด้ยต่รงกลั�บต่อเข่#าก�บอ�ปกรณ�เชื่��อมต่อต่�ว กลัางที่��เร�ยกวา  "Medium Attachment Unit

 (MAU)" แลั#วใชื่#สัาย Cable ชื่��อ    "AttachmentUnit Interface (AUI)" เป)นต่�วเชื่��อมต่อ จาก MAU เข่#าสั2    Station สัวนสัาย Cable ระหุ้วาง Station จะใชื่#ชื่น!ด้ 8RG หุ้ร�อ  11 ซึ่0�งเป)นแบบ Thi ck Coaxi al Cabl e แลัะย�ง คงม� Gr ound

Terminators ข่นาด้ 50 โอหุ้�ม 2 ต่�วป;ด้หุ้�วที่#ายข่องระบบ

Ethernet

Page 39: สอนLAN

ข่!อก�าห้นำดข่อง 10 Base5• Coaxial RG8• Minimum Length Between transceivers 2.5 m.• 25cm. Minimum bend radius• Use Viper Tap to connect backbone to NIC• Maximum Transceiver AUI 50Cable Length m.• 500Maximum Segment Length m.• 2500Maximum Network Length m.• 5 4Maximum Node Separation Segments / Repeater• 1 00 Connector PPP PPPPPPP• 3Maximum Populated Segments• 50 Ohm Terminated• 5-4-3-2-1 Rule• Topology ใชื่#แบบ Bus

Ethernet

Page 40: สอนLAN

Ethernet

Page 41: สอนLAN

5-4-3-2-1 Rule Ethernet แบบ 10Base2 และ 10Base5 ม*กฎกต�กาห้ล�ก ท*�เร*ยกวา กฎ

- - - - 54321

• 5 ค�อ 5 Segment หุ้มายความวา 1 เคร�อข่ายสัามารถี่ม� PPPPPPP สั2งสั�ด้ไมเก!น 5PPPPPPP

• 4 ค�อ 4Repeater หุ้มายความวา 1 เคร�อข่ายสัามารถี่ม�อ�ปกรณ� Repeat er เพิ��อเชื่��อมต่อบรรด้า Segment ที่�/ง 5 เข่#าด้#วยก�น เพิ�ยงแค 4ต่�วเที่าน�/น

• 3 ค�อ 3 Active Segment หุ้มายความวา ใน 1 เคร�อข่ายสัามารถี่ม� Segment ที่��เชื่��อมต่อก�บสัถี่าน�ที่&างานต่าง ๆ หุ้ร�อ Act i ve Segment ได้#มากถี่0ง 3 Segment

• 2 ค�อ 2Link Segment หุ้มายความวา 1 เคร�อข่ายสัามารถี่ม� Segment ที่��เชื่��อมต่อก�บ Act i ve Segment ต่าง ๆ ได้#มากถี่0ง 2Link Segment (Link Segment เป)น Segme

nt ที่��ไมม�การเชื่��อมต่อก�บสัถี่าน�ที่&างานใด้ ๆ แต่ม�ไว#เพิ��อเชื่��อมโยง Act i ve Segment ที่�/งสัองเข่#าด้#วยก�น )

• 1 ค�อ 1 Collision Domain ซึ่0�งแสัด้งวาบรรด้า Segment ต่าง ๆ บน 1 เคร�อข่าย จะต่#องอย2ภายใต่# Collision Domain เด้�ยวก�น ซึ่0�ง Collision Domain เด้�ยวก�น หุ้มายถี่0ง การสั��อสัารข่#อม2ลัระหุ้วางสัถี่าน�ที่&างานที่��อย2ต่าง Segment ก�น สัามารถี่เก!ด้ Collision ข่0/นได้# เน��องจากสั�ญญาณข่องสัถี่าน�หุ้น0�งจะว!�งไปที่��วที่�ก Segment บนเคร�อข่ายเด้�ยวก�น

• อน0�ง ความหุ้มายข่องค&าวา Segment ก(ค�อ ความยาวสั2งสั�ด้ต่อ 1 เสั#นข่องสัาย สั�ญญาณที่��ใชื่#เพิ��อเชื่��อมต่อ สัถี่าน�ที่&างานต่างๆ 

Ethernet

Page 42: สอนLAN

10 BaseT 10 หุ้มายถี่0ง 10 Mbps สัวน T หุ้มายถี่0ง Twisted Pair ลั�กษณะน�/แสัด้งวา เป)นระบบเคร�อ

ข่าย PPPPPPPP ที่��ใชื่#สัาย Twisted Pair เป)นสั��อในการสังสั�ญญาณ สัายที่��ใชื่#ก(ค�อ  UTP แลัะม�

อ�ปกรณ�ต่�วกลัางเป)นต่�วเชื่��อมต่อระหุ้วางสัายที่��มาจากที่�กๆ   Station อ�ปกรณ�ต่�วกลัางน�/เร�ยกวา Hub หุ้ร�อ

Concentrator ซึ่0�งจะคอยร�บสั�ญญาณระหุ้วาง    Wor kst at i on แลัะ PPPP PPPPPP   ในกรณ�ที่��ม�

สัายจาก Station ใด้เสั�ยหุ้ร�อม�ป:ญหุ้าที่��เก!ด้ข่0/น จะไมม�ผ่ลักระที่บใด้ๆ ต่อระบบ Network เลัย  แต่ระบบน�/ จะต่#องด้2แลัร�กษา PPP เป)นอยางด้�  เน��องจากถี่#า Hub ม�ป:ญหุ้าข่0/น ที่�/งระบบจะหุ้ย�ด้ชื่ะง�กที่�นที่�• อ�ปกรณ�ที่��ใชื่#ในระบบ 10 Base T ได้#แก

– สัาย UTP หุ้ร�อ STP– หุ้�วต่อ - RJ 45 เพิ��อต่อก�บสัาย Twisted Pair– Hub

Ethernet

Page 43: สอนLAN

ข่!อก�าห้นำดข่อง 10 BaseT• Maximum Workstation to concentrator Length100 M• Maximum Node Per Segment 512• Maximum Concentrators in Sequence 4• Maximum Concentrators in PerSegment 12• Maximum Node Separation 5 Segments / 4 Repeater• การเชื่��อมต่อระหุ้วาง Hub จะใชื่#ว!ธี� Cross สัาย• Topology ใชื่#แบบ Star

Ethernet

Page 44: สอนLAN

Ethernet

Page 45: สอนLAN

Ethernet

Page 46: สอนLAN

Ethernet

Page 47: สอนLAN

Fast Ethernet• Fast Ethernet เป)นระบบเคร�อข่าย Ethernet ที่��จ�ด้อย2ในมาต่รฐาน IEEE

8023. uเป)นระบบเคร�อข่ายที่��ม�ความเร(วสั2งกวาระบบ Ethernet แบบ 10

Mbps ที่��วไปถี่0ง 10 เที่า บนสัายสั�ญญาณที่&าจากสัายที่องแด้งแลัะสัาย ใยแก#วน&าแสัง ม�ว!ธี�การเข่#ารหุ้�สัสั�ญญาณ แลัะม�ยานความถี่��ในการที่&างานสั2งกวา อยางไรก(ด้� F

ast Ethernet ก(ย�งม�ข่#อจ&าก�ด้บางประการ เชื่นเด้�ยวก�บ 10 Mbps Ethernetต่อไปน�/เป)น ค�ณลั�กษณะการที่&างานโด้ยที่��วไปข่อง Fast Ethernet

• Fast Ethernet ไมสัามารถี่ ใชื่# Coaxial เพิ��อสั��อสัารข่#อม2ลั ซึ่0�งแต่กต่างก�บ 10

Mbps Ethernet ที่��สัามารถี่ใชื่#ได้#ก�บสัาย Cable ได้#หุ้ลัายแบบ เชื่น สัาย Coaxialสัาย Twisted Pair แบบ UTP แลัะ Fiber Optic ข่ณะที่�� Fast Ethernetสัามารถี่ใชื่#ได้#ก�บ สัาย UTP สัาย STP แลัะ สัาย Fiber Optic เที่าน�/น

• กฏกต่!กาการจ�ด้วาง Topology ข่อง Fast Ethernet ต่างก�นก�บ 10 Mbpsมาก โด้ยที่�� Fast Ethernet 1 Segment สัามารถี่ม� Repeat er Hub ได้#เพิ�ยง

1 หุ้ร�อ 2 เที่าน�/นข่ณะที่�� 10 Mbps สัามารถี่ เชื่��อมต่อ Repeater Hub ได้#หุ้ลัายๆ ต่�ว

Ethernet

Page 48: สอนLAN

Fast Ethernetอยางไรก(ด้� ที่�/ง 10Mbps แลัะ Fast Ethernet ย�งม�สั!�งที่��เหุ้ม�อนก�น ด้�งน�/ • ที่�/งสัองแบบใชื่# Frame ข่#อม2ลัที่��เหุ้ม�อนก�น โด้ย Frame ที่��ใชื่#น� /นม�ข่นาด้ 64ไบต่� ไปจนถี่0ง

1518 ไบต่� รวมที่�/ง รายลัะเอ�ยด้ข่อง Frame ก(เหุ้ม�อนก�นหุ้มด้ ด้�งน�/นจ0งไมเป)นอ�ปสัรรคต่อการใชื่# Application ระหุ้วางเคร�อข่าย ที่�/งสัองแบบ

• ที่�/งค2ต่างก(ใชื่#ว!ธี�การ Access เข่#าถี่0งเคร�อข่ายแบบ PPP PPPP เชื่นเด้�ยวก�น

Ethernet

Page 49: สอนLAN

Fast Ethernet:100Base-TX• ชื่น!ด้ข่องสัายสั�ญญาณ :ใชื่#สัาย UTP Cat.5 ข่0/นไป แต่ป:จจ�บ�นน!ยมใชื่#สัาย

UTP Cat.5E ที่��ม�ประสั!ที่ธี!ภาพิสั2งกวา• Connectors ที่��ใชื่# - : เชื่นเด้�ยวก�บ - 10BASE T ค�อ - 45• SEGMENT LENGTH : หุ้ร�อข่นาด้ความยาวสัายข่องแต่ลัะ Segment

ถี่#าหุ้ากใชื่#สัาย - UTP CAT 5 แบบ 2 PAIR จะได้#ความยาวที่�� 100

เมต่ร ภายใต่#มาต่รฐาน EIA/TIA 568 UTP ซึ่0�งเป)นมาต่รฐานการเด้!นสัาย โด้ยม�ค2สัายแรกใชื่#เพิ��อ สังข่#อม2ลั สัวนอ�กหุ้น0�งค2สัายสั&าหุ้ร�บการร�บข่#อม2ลั

มาตรฐานำท*�ใชื่! • - - 100BASE Tx เป)น มาต่รฐาน 8023IEEE . u ที่��ก&าหุ้นด้ข่0/นใน

ปB 1995

Ethernet

Page 50: สอนLAN

Fast Ethernet:100Base-FX• - 100BASE FX ถี่2กออกแบบใหุ้#ใชื่#ก�บงานที่��ต่#องใชื่#สัาย Fiber Optic

หุ้ร�อระบบ FDDI Technology สั&าหุ้ร�บงานร�บสังข่#อม2ลัผ่าน Back Bon e ความเร(วสั2ง หุ้ร�อเพิ!�มระยะที่างการเชื่��อมต่อใหุ้#ยาวกวาเด้!ม

• - 100BASE FX (คลั#ายก�นก�บ - 100BASE TX) ต่รงที่��ม�การย�มเอามาต่รฐานที่างด้#าน Physical Layer จาก 3 95ANSI X T . FDDI

Physical Layer Media Dependent (FIBER PMD) โด้ยม�การประย�กต่�ใชื่#งานสัาย Fiber Optic แบบ Multimode ข่นาด้ -2 STRAN

D (62.5/125 nm• - 100BASE FX สัามารถี่ใชื่#ที่�/ง - Multi mode Fiber หุ้ร�อ Single

PPPP PPPPP • สังข่#อม2ลัได้#ไกลัสั�ด้ 412 ม. (Half Duplex Mode) แลัะ 2 กมP

(Full Duplex Mode) เม��อใชื่#สัาย FO MM แลัะอาจสังได้# 20

กมPหุ้ร�อไกลักวาเม��อใชื่#สัาย FO SM • น!ยมใชื่#เชื่��อมต่อระหุ้วาง HUB หุ้ร�อ SWITCH หุ้ร�อ BACKBONE

Ethernet

Page 51: สอนLAN

- 100 4BASE T :Fast Ethernet ท*�ใชื่!สาย - 3UTP CAT แบบ 4PAI R

• ใชื่#สัาย UTP Cat.3 จ&านวน 4 ค2 โด้ยม� 3 PAIR ใชื่#ในการสังข่#อม2ลัข่ณะที่��ค2ที่�� 4 ใชื่#เพิ��อเป)นชื่องร�บเพิ��อต่รวจสัอบ Collision

• - 100 4BASE T ใชื่#สัาย PAIR ครบที่�/ง 4 ค2 8( เสั#น ) 100BASE- T4 ไมเหุ้ม�อนก�บ - 10BASE T แลัะ - 100BASE TX ต่รงที่��ไมม�การก&าหุ้นด้แนชื่�ด้วาสัาย PAIR ค2ไหุ้นใชื่#ร�บหุ้ร�อสังข่#อม2ลั ด้#วยเหุ้ต่�น�/จ0งร�บสังข่#อม2ลัแบบ - full duplex ไมได้#

• - 100 4BASE T ใชื่# - 45 8RJ Connector ข่า • ความยาวสั2งสั�ด้ข่อง Segment สั&าหุ้ร�บ - 100 4BASE T ค�อ

100 แลัะได้#

Ethernet

Page 52: สอนLAN

Ethernet

Page 53: สอนLAN

Round Trip Propagation Delay

• The time required for a bit to travel from a transmittingdevice to a receiving device and then back again to the originating device on the same network.• In a CSMA/CD Ethernet network, any device on that network must be able to transmit the first bit of a transmission to and from another device on that networkbefore the last bit of the transmission is transmitted. • This guideline insures that, in the worst case, when a device begins a data transmission it will be able to detect

collision occurring from anywhere with in the same collision

domain before the transmission has completed.

Page 54: สอนLAN

• As we all knowwith Ethernet LANs, there are limitations on th e distance by which equipment can be connected to a hub

(repeaters) interface. With 1 0 BaseT, the distance is 1 0 0 meters when using UTPcabling, and 2 0 0 0 meters when usi

- - 543ng fiber cabling. And we all remember the rule when c onnectinghubs together.

• Wellwhathaschangedwith100BaseTLANs? ThemaximumroundtripdelaytimeacrossaLANstillremainsat512bittimes. For10BaseT, thisequatesto51.2microseconds. With100BaseT, thebitsaret r ansmi t t ed 10t i mes f ast er. This results in a maximum round trip delay of 5.12 microsec

onds. To compensate for the reduction in time, the 100BaseT st andard has reduced the number of repeaters and the length of cabling allowable on a LAN, and limited the distance between t

wo repeaters to five meters with UTP cabling.

Round Trip Propagation Delay

Page 55: สอนLAN

• When calculating the round trip delay on a 1 0 0 Mbps LAN, the following formula should be used to determine if the round trip delay meets the IEEE standard.

• DTE Equipment Delay + Cable Delay + Repeater Delay < 512 bit times (5.12 microseconds)

Round Trip Propagation Delay

Page 56: สอนLAN
Page 57: สอนLAN

• The DTE station interface is the first factor in determining the round trip delay. If the stations are connected using TX, FX or a combination of TX and FX, a delay of 100 bit

10times needs to be used for DTE Equipment Delay. If 0 44BaseT ( wire networking) is used, additional delay bit

s will be experienced.• The cable delay can easily be determined by multiplying

the total cable length by the Delay Per Meter value. If a station is connected with 100 meters of UTP, the round

1112 112trip delay is . bit times or . microseconds. The de lay per meter value is less for fiber because the signal wil

l travel faster on a fiber connection than on a UTP connecPPPPP

Round Trip Propagation Delay

Page 58: สอนLAN

• Two types of repeaters can be used with 100MbpsPPPPPPPPP

1A class repeater is used when combining 100BaseTX/FX and

100 4BaseT connections. On a LAN, only one class 1 repeater

can be used due to the 140 bit delay. A class 2 repeater is used

when using only the 100BaseTx/FX interfaces. Only two class 2

repeaters can be used on a LAN. In most networks, onlythe

class 2 repeaters are used. The repeaters are usually connected

 with a five meter cable.

Round Trip Propagation Delay

Page 59: สอนLAN

Round Trip Propagation Delay

Lets review some samples of calculating the round trip 100delay on a BaseTX/FX LAN. The first example (fig

1 2 100ure ) includes stations connected to a Base T hub. One of the stations is connected to the hub with

100meters of UTP. The second station is connected 75to the hub with meters of fiber.

Page 60: สอนLAN

3782 512. bit time is less than the maximum bit w www w www www w w w wwwww wwwwwwwwwwwwww1 0 0 .

Page 61: สอนLAN

Round Trip Propagation Delay

Let's take a second, more complicated example. In this case we have two class 2 repeaters. The repeaters are connected

with a five meter UTP cable. Stations are connected to each repeater with 100 meter UTP.

Page 62: สอนLAN

51196 512In this case, a . bit time is also within the bit tiww

wwww ww ww www wwww ww wwwwwww wwwww . , .

Page 63: สอนLAN

Conclusion• As you can see, calculating the round trip delay is not all t

hat difficult. However, the thing to remember is that the l ength of the network has been reduced when compared

with a 1 0 BaseT network. Due to the speed of a 1 0 0 BaseT LAN, it is necessary to ensure all cabling and equip

10ment meet the IEEE standard. When installing new 0Mbps LAN equipment, it is important to take the time t

oensurethattheequipmentmeetst he st andar d. As t he ol d sayi ng goes, "Pay me now, o rpayme l at er ."

Round Trip Propagation Delay

Page 64: สอนLAN

GIGABIT ETHERNET

เป)น Ethernet ที่��ม�ความเร(ว 1000 Mbps ใชื่#มาต่รฐาน IEEE. 802.3z โด้ยก&าหุ้นด้ใหุ้#

ใชื่#สัายสั�ญญาณต่อไปน�/ในการสังสั�ญญาณ• UTP Cat.5E/STP• Fiber Optic Multi Mode ข่นาด้ 625. แลัะ 50 um.• Fiber Optic Single Mode ข่นาด้ 8.3 um.มาต่รฐาน Gigabit Ethernet แบงออกเป)น 4 ประเภที่• 1000 Base-SX• 1000 Base-LX• 1000 Base-CX• 1000 Base-T

Page 65: สอนLAN

1000 Base-SXอ�กษร S มาจาก Short หุ้มายถี่0งแสังความยาวคลั��นสั�/น (Short Wavelength) ที่�� 850 nm.ใชื่#สัายน&าสั�ญญาณแบบ FO MM โด้ยสัาย 50 um สัามารถี่สังข่#อม2ลัได้#ไกลัสั�ด้ 550m. แลัะสัาย 625. um. สัามารถี่สังข่#อม2ลัได้#ไกลัสั�ด้ 250m.

1000 Base-LXอ�กษร L มาจาก Long หุ้มายถี่0งแสังความยาวคลั��นยาว (Lomg Wavelength) ที่�� 1310 nm.ใชื่#สัายน&าสั�ญญาณได้#ที่�/งแบบ FO MM แลัะ SM โด้ยสัาย FO MM 50 um สัามารถี่สังข่#อม2ลัได้#ไกลัสั�ด้ 550m. แลัะสัาย FO MM

625. um. สัามารถี่สังข่#อม2ลัได้#ไกลัสั�ด้ 440m. สั&าหุ้ร�บสัาย FO SM 8 3um. สัามารถี่สังข่#อม2ลัได้#ไกลัสั�ด้ 5 km.

1000 Base-CXใชื่#สัายน&าสั�ญญาณแบบ STP แต่ความยาวสัายถี่2กจ&าก�ด้ที่�� 25m. สัวนมากจะใชื่#เชื่��อมต่อระหุ้วาง Switch หุ้ร�อ คอมพิ!วเต่อร�ที่��อย2ในหุ้#องเด้�ยวก�น

1000 Base-Tใชื่#สัายน&าสั�ญญาณแบบ UTP Cat.5 หุ้ร�อสั2งกวา ที่�/ง 4 ค2 ในการสังสั�ญญาณ แต่ความยาวสัายถี่2กจ&าก�ด้ที่�� 100m.

GIGABIT ETHERNET

Page 66: สอนLAN

10 GIGABIT ETHERNET• ก&าหุ้นด้โด้ยมาต่รฐาน IEEE. 802.3ae ย�งคงใชื่#มาต่รฐานข่อง Ethernet อย2 แต่สั!�งที่��แต่ก

ต่างค�อความเร(วแลัะระยะที่างข่องสัายสั�ญญาณ นอกจากน�/ 10 Gigabit Ethernet รองร�บการสังข่#อม2ลัแบบ Full Duplex เที่าน�/น ต่างจาก Ethernet แบบเกา ด้�งน�/นจ0งไมต่#องใชื่#โปรโต่คอลั CSMA/CD

• 10the Gigabit Ethernet system, which is the highest speed of Ethernet operation. This standard was formally ratified by the IEEE on

122 002

• The10GBASE - Gigabit Ethernet system operates in full duplex mode only, over fiber optic media. There are seven media types, which are

designed for use in either local or wide area networking. This provides t 10he Gigabit Ethernet system with the flexibility needed to operate i

n local area networks (LAN), metropolitan area networks (MAN), regiona l area networks (RAN) and wide area networks (WAN).

Page 67: สอนLAN

10 Gigabit Ethernet Standard• 10 8023The Gigabit specifications are contained in the IEEE . ae

8023 8023supplement to the . standard. The introduction of the . ae 10supplement provides a brief outline of the Gigabit standard: "This su

pplement to IEEE Std. 802.3 provides support to extend the 802.3 proto 10col and MAC specification to an operating speed of Gb/s. Several Phy

- - -10 10 10sical Coding Sublayers known as GBASE X, GBASE R and GBASE W are specified, as well as significant additional supporting material for

10 10a Gigabit Media Independent Interface (XGMII), a Gigabit Attachm - 10ent Unit Interface (XAUI), a Gigabit Sixteen Bit Interface (XSBI) and

management.• - 10 850The physical layers specified include GBASE S, a nm wavelengt

- 10 4h serial transceiver which uses two multimode fibers; GBASE L , a 1310nm wavelength division multiplexing (WDM) transceiver which use

- - 10 1310s two multi mode or single mode fibers; GBASE L, a nm wavelen -10gth serial transceiver which uses two single mode fibers; and GBASE

E, a 1550nm wavelength serial transceiver which uses two single mode fibers."

10 GIGABIT ETHERNET

Page 68: สอนLAN

10 Gigabit Ethernet Media Types• The -ww10 and -ww10 media types are designed for use over short

wavelength (8 5 0 nm) multimode fiber (MMF). The design goal of 2 300these media types is from meters to meters of fiber distance,

depending on the type and quality of the multimode fiber. Longer distan ces are possible depending on the qualities of the fiber optic cable used.

- P PPPP PPPP PP PPPPPPPP PPP PPP PPPP PPPP PPPPPP P PPPPP1 0 , g a fiber optic cable that is not in use and that is not connected to any ot PPP PPPP -PP P PPPP PPPP PP PPPPPPPP PP PPPPPPP PP . 1 0

SONET equipment, which is typically used to provide long distance data communications. The -10GBASE LR PPP -10GBASE LW media types are designed for u - PPP PPP PPP PPPPPP ( 1 3 1 0 ) ( ) .

2 10 32goal of these media types is from meters to kilometers ( , 808 feet) of fiber distance, depending on cable type and quality (longer

- distances are possible). The 10GBASE LR media type is designed for use - 10over dark fiber, while the GBASE LW media type is designed to conne

ct to SONET equipment.• The -10GBASE ER PPP -10GBASE EW - mediatypesaredesignedforuseoverextralongwavelength(1550nm) singlemodefiber(SMF). Thedesigngoalofthesemediatypesisfrom2metersupto40kilometers(131,

233 feet), depending on cable type and quality (longer distances are - possible). The 10GBASE ER media types is designed for use over dark fi

- 10ber, while the GBASE EW media type is designed to connect to SONET equipment.

10 GIGABIT ETHERNET

Page 69: สอนLAN

• Finally, there is a -10 4GBASE LX media type, which uses wave division multiplexing technology to send signals over fou r wavelengths of light carried over a single pair of fiber optic

- cables. The 10GBASE LX4 system is designed to operate at - - 1310 nm over multi mode or single mode dark fiber. The d

esign goal for this media system is from 2 meters up to 300 met ers over multimode fiber or from 2 meters up to 10 kilometers o - ver single mode fiber, with longer distances possible depending

on cable type and quality.

10 GIGABIT ETHERNET

Page 70: สอนLAN

Port Trunking• การที่&า Port Trunking ค�อการเพิ!�ม Bandwidth โด้ยรวมเอาหุ้ลัาย Port ข่อง Switch ใหุ้#

ที่&างานเสัม�อนเป)น Port เด้�ยว เชื่น รวมเอา 3 Port ข่อง Switch 100 Mbps มาที่&าเป)น Trunk ที่&าใหุ้# BW เพิ!�มเป)น 300 Mbps (สั&าหุ้ร�บ Port ข่อง Switch ที่��วไปที่��ที่&างานแบบ Half Duplex) แลัะถี่#า Port ที่&างานแบบ Full Duplex จะที่&าใหุ้# Link น�/ม� BW 600 Mbps

• Ports connecting the switch to another switch or other device can be - combined (trunked) to function as a single, higher speed link that

dramatically increases bandwidth and fault tolerance. A maximum of fo ur ports can be combined in a single port trunk. The Spanning Tree

Protocol (STP) sees a port trunk as a single link. For more information on port trunks, refer to the manual you received with the switch.

• Note: On a pair of switches you plan to connect with a port trunk, the ports to be used in the trunk should not be linked until after you

configure them for trunking. Otherwise, a "broadcast storm" could occur , which could impair network performance.

Spanning Tree• The switch uses the IEEE 802.1D Spanning Tree Protocol (STP), when

enabled, to ensure that only one path at a time is active between any two nodes in the network. In networks where there is more than one ph

ysical path between any two nodes, STP ensures a single active path bet ween them by blocking all redundant paths and retaining them as backu

ps. If the active path shuts down, then STP automatically activates (unbl ocks) an available backup to serve as the new active path. The default S

TP setting is "Off". STP sees a port trunk as a single link, or path.

Ethernet

Page 71: สอนLAN

Ethernet

Page 72: สอนLAN

ETHERNET

Bridge - - 2A Bridge is a (ethernet level ) gateway between 2 Local Area Network or network segments. Bridges

- transfer MAC layer packets from one network to - another, performing frame level format conversion if - needed. Commonly, bridges auto configure, building ma

ppingt abl es f or st at i ons on opposi t e si des of t he br i dge fromeach ot her .

Gateway - A Gateway is a network device that connects multiple networks together. Gateways are classified depending on what

Network layer - they operate at: A level 1 Gateway is a Rereater ; A- level 2 Gateway is a Bridge - ; A level 3 Gateway is a Router ; A le

- vel 4 Gateway is a Transport Layer Gateway.

Page 73: สอนLAN

Repeater - A simple network hub that serves as an ethernet level 1 (Physical Layer) gateway between different subnetork segments.

Typically, a repeater merely amplifies and passes through all inform -ation to all of its ports. More sophisticated repeaters sense physical l

ayer subnet faults and deactivate those ports.Router - A sophisticated network hub which serves as an ethernet

level 3 (Network Layer) gateway between different segments and -- networks. Our routers connect via several protocols ethernet, FDD

-- I, ATM and can perform bridging and certain filtering operations. Ou -r building routers live in E15 040.

GBIC Shor t f or gigabit i nterface converter , a transceiverthat converts

serial electric signals to serial optical signals and vice versa. In networking, a GBIC is used to interface a fiber optic system with an E

thernetsystem, such as Fibre Channel and Gigabit Ethernet. A GBIC allows designers to design one type of device that can be adapted fo

-r either optical or copper applications. GBICs also are hot swappable - , which adds to the ease of upgrading electro optical communication

networks.

ETHERNET

Page 74: สอนLAN

ETHERNET Manchester Code

• Transition in the middle of each bit period• Transition provides clocking and data• - - - - Low to high=1 , high to low=0• Used in Ethernet

• Ethernet LAN technology uses Manchester coding to place data bits onto the physical medium (i.e.

the cable). Manchester coding does not represent a 1 as a high voltage and a 0 as a low voltage. I

nfactitdoesn' t use vol t age l evel s t o r epr esent bi t satall. I t uses vol t age t r ansi t i ons t o r epr esent bi tsrathert han l evel s. I n t hi s way t he l i ne al ways cont ainsl ot s of vol t age changes and t he r ecei ver use st hese vol t age changes t o synchr oni se i t s cl o ckt o t he t r ansmi t t er ' s cl ock.

Page 75: สอนLAN

ETHERNET

Page 76: สอนLAN

VLANw ww w ค�ออะไร • VLANยอมาจาก Virtual LAN เป)นเที่คโนโลัย�ที่��ใชื่#ในการจ&าลัองสัร#างเคร�อข่าย LANแต่ไมข่0/น

อย2ก�บการต่อที่างกายภาพิเชื่น สัว!ต่ชื่�หุ้น0�งต่�วสัามารถี่ใชื่#จ&าลัองเคร�อข่าย LAN ได้#หุ้#าเคร�อข่าย หุ้ร�อสัามารถี่ใชื่#สัว!ต่ชื่�สัามต่�วจ&าลัองเคร�อข่าย LAN เพิ�ยงหุ้น0�งเคร�อข่าย เป)นต่#น

• ในการสัร#าง VLAN โด้ยใชื่#อ�ปกรณ�เคร�อข่ายหุ้ลัายต่�ว จะม�พิอร�ต่ที่��ที่&าหุ้น#าที่��เชื่��อมต่อระหุ้วางอ�ปกรณ�เคร�อข่ายแต่ลัะต่�ว เร�ยก Trunk port ซึ่0�งเสัม�อนม�ที่อเชื่��อม หุ้ร�อ Trunk เป)นต่�วเชื่��อมด้#วย

• เน��องจาก VLAN เป)น LANแบบจ&าลัอง ถี่0งแม#วาจะต่อที่างกายภาพิอย2บนอ�ปกรณ�เคร�อข่ายต่�วเด้�ยวก�น แต่การต่!ด้ต่อก�นน�/นจ&าเป)นต่#องใชื่#อ�ปกรณ�ที่��ม�ความสัามารถี่ในการค#นหุ้าเสั#นที่าง เชื่น เราเต่อร� หุ้ร�อสัว!ต่ชื่�เลัเยอร�สัาม

• ลั�กษณะพิ!เศัษข่อง VLAN ที่��วๆ ไปค�อ 1. VLAN แต่ลัะเคร�อข่ายที่��ต่!ด้ต่อก�นน�/น จะม�ลั�กษณะเหุ้ม�อนก�บต่อแยกก�นด้#วยบร!ด้จ�

2. VLAN สัามารถี่ต่อข่#ามสัว!ต่ชื่�หุ้ลัายต่�วได้# 3. ที่อเชื่��อม (Trunks) ต่างๆ จะรองร�บที่ราฟฟ;กที่��ค�บค��งข่องแต่ลัะ VLAN ได้#

Page 77: สอนLAN

ชื่นำ�ดข่อง wwww 1 1. Layer VLAN : Membership by ports

• ในการแบง VLAN จะใชื่#พิอร�ต่บอกวาเป)นข่อง VLAN ใด้ เชื่นสัมม�ต่!วาในสัว!ต่ชื่�ที่��ม� 4 พิอร�ต่ ก&าหุ้นด้ใหุ้# พิอร�ต่ 1 2, แลัะ 4 เป)นข่อง VLAN เบอร� 1 แลัะพิอร�ต่

ที่�� 3เป)นข่อง VLAN เบอร� 2 2 2. Layer VLAN : Membership by MAC Address

• ใชื่# MAC Address ในการแบง VLAN โด้ยใหุ้#สัว!ต่ชื่�ต่รวจหุ้า MAC Address จากแต่ลัะ VLAN

3. Layer 2 VLAN : Membership by Protocol types• แบง VLAN โด้ยใชื่#ชื่น!ด้ข่อง protocol ที่��ปรากฎอย2ในสัวนข่อง Layer 2

Header 4. Layer 3 VLAN : Membership by IP subnet Address

• แบง VLAN โด้ยใชื่# Layer 3 Header น��นก(ค�อใชื่# IP Subnet เป)นต่�วแบง

VLAN

Page 78: สอนLAN

5. Higher Layer VLAN's• VLAN ที่&าได้#โด้ยใชื่#โปรแกรมประย�กต่�หุ้ร�อ ser vi ce แบง VLAN เชื่นการใชื่#โปรแกรม FTP

สัามารถี่ใชื่#ได้#ใน VLAN 1 เที่าน�/น แลัะถี่#าจะใชื่# Telnet สัามารถี่เร�ยกใชื่#ได้#ใน VLAN 2 เที่าน�/น เป)นต่#น

VLAN

Page 79: สอนLAN

ท�าไมต!องใชื่! w ww w• 1. เพิ!�มประสั!ที่ธี!ภาพิข่องเคร�อข่าย• ในระบบเคร�อข่ายที่��วไปจะม�การสังข่#อม2ลั Br oadcast จ&านวนมาก ที่&าใหุ้#เก!ด้ความค�บค��ง

( Congestion ) แลัะ VLAN ม�ความสัามารถี่ชื่วยเพิ!�มประสั!ที่ธี!ภาพิข่องเคร�อข่ายได้#เน��องจาก VLAN จะจ&าก�ด้ใหุ้#สังข่#อม2ลั Broadcast ไปย�งผ่2#ที่��อย2ใน VLAN เด้�ยวก�นเที่าน�/น

• 2. งายต่อการบร!หุ้ารการใชื่#งาน• VLAN อ&านวยความสัะด้วกในการบร!หุ้ารจ�ด้การโครงสัร#างข่องระบบเคร�อข่ายใหุ้#งาย ม�ความ

ย�ด้หุ้ย�น แลัะเสั�ยคาใชื่#จายน#อย โด้ยเพิ�ยงเปลั��ยนโครงสัร#างที่างต่รรกะ ( Logical ) เที่าน�/น ไมจ&าเป)นต่#องเปลั��ยนโครงสัร#างที่างกายภาพิ กลัาวค�อ ถี่#าต่#องการเปลั��ยนโครงสัร#างข่อง VLANก(ที่&าโด้ยการคอนฟ;กที่��อ�ปกรณ�เคร�อข่ายใหุ้ม ไมจ&าเป)นเปลั��ยนร2ปแบบที่างกายภาพิข่องการเชื่��อมต่อเคร�อข่ายที่��ม�อย2เด้!ม

• 3. เพิ!�มการร�กษาความปลัอด้ภ�ยมากข่0/น• เน��องจากการต่!ด้ต่อระหุ้วางอ�ปกรณ�เคร�อข่ายจะสัามารถี่ที่&าได้#ภายใน VLAN เด้�ยวก�นเที่าน�/น ถี่#า

ต่#องการที่��จะต่!ด้ต่อข่#าม VLAN ต่#องต่!ด้ต่อผ่านอ�ปกรณ�ค#นหุ้าเสั#นที่างหุ้ร�อสัว!ต่ชื่�เลัเยอร�สัาม

VLAN

Page 80: สอนLAN

ข่!อเส*ยและป7ญห้าท*�พิบข่องการใชื่! VLAN• 1. ถี่#าเป)นการแบง VLAN แบบ - port based น�/นจะม�ข่#อเสั�ยเม��อม�การเปลั��ยนพิอร�ต่น�/นอาจ

จะต่#องที่&าการคอนฟ;ก VLAN ใหุ้ม• 2. ถี่#าเป)นการแบง VLAN แบบ - MAC based น�/นจะต่#องใหุ้#คาเร!�มต่#นข่อง VLAN

member shi p กอน แลัะป:ญหุ้าที่��เก!ด้ข่0/นค�อในระบบเคร�อข่ายที่��ใหุ้ญมาก จ&านวนเคร��องน�บพิ�นเคร��อง นอกจากน�/ถี่#าม�การใชื่#เคร��อง Not ebook ด้#วย ซึ่0�งก(จะม�คา MAC แลัะเม��อที่&าการเปลั��ยนพิอร�ต่ที่��ต่อก(ต่#องที่&าการคอนฟ;ก VLAN ใหุ้ม

มาตรฐานำข่อง VlLAN ค�อ 802 1. Q นำ��นำม*ล�กษณะอยางไร • มาต่รฐาน IEEE 802.1Q น�/นเป)นมาต่รฐานในการน&าข่#อม2ลัข่อง VLAN membership ใสั

เข่#าไปใน Ethernet Frame หุ้ร�อที่��เร�ยกวา การ Tagging แลัะโปรโต่คอลั 8 0 2 .1 Q น�/ถี่2กพิ�ฒนาเพิ��อแก#ป:ญหุ้าเร��องการบร!หุ้ารจ�ด้การด้#านเคร�อข่ายที่��เพิ!�มข่0/น เชื่น การกระจายเคร�อข่ายใหุ้ญๆ ใหุ้#เป)นสัวนยอยๆ ( Segment ) ที่&าใหุ้#ไมสั2ญเสั�ยแบนว!ธีใหุ้#ก�บการ broadcastแลัะ multicast มากเก!นไป แลัะย�งเป)นการร�กษาความปลัอด้ภ�ยระหุ้วางสัวนยอยต่างๆ ภายในเคร�อข่ายใหุ้#สั2งข่0/นอ�กด้#วย

• การต่อเต่!มเฟรม (tagging Frame) ด้#วยมาต่รฐาน 8 0 2 .1 Q น�/นจะที่&าในระด้�บ - Data Link layer แลัะการที่&า VLAN Tagging น�/นจะเป)นการเปลั��ยนร2ปแบบข่อง

Ethernet Frame มาต่รฐาน 8 0 2 .3 ใหุ้#เป)นร2ปแบบใหุ้มที่��เป)นมาต่รฐาน 8 0 2 .3PP ซึ่0�งม�ได้อะแกรมข่องเฟรมมาต่รฐาน 8 0 2 .3 ด้�งร2ปที่�� 5 แลัะได้อะแกรมข่องมาต่รฐาน

8 0 2 .3 ac ด้�งร2ปที่�� 6 ( สัวนสั�เหุ้ลั�องแที่นสัวนข่อง 8021tag . Q )

VLAN

Page 81: สอนLAN

VLAN

Page 82: สอนLAN

VLAN

Page 83: สอนLAN

VLAN

Page 84: สอนLAN

ชื่องโห้วข่องการใชื่! VLAN• โด้ยปกต่!แลั#วจะไมสัามารถี่สังข่#อม2ลัข่#าม VLAN ได้#ถี่#าไมใชื่# เราเต่อร� สัว!ต่ชื่�เลัเยอร�สัาม หุ้ร�อ

ต่�วกลัางที่��ชื่วยค#นหุ้าเสั#นที่างอ��นๆ แต่ม�ชื่องโหุ้วที่��ที่&าใหุ้#ผ่2#ใชื่#สัามารถี่สังข่#อม2ลัข่#าม VLAN ได้#โด้ยไมต่#องอาศั�ยต่�วกลัาง เร�ยกวา " การเบรค VLAN " ซึ่0�งชื่องโหุ้วน�/เก!ด้จาก Trunking protocol ข่องสัว!ต่ชื่�บางร� น แลัะว!ธี�การที่ด้สัอบค�อที่&าการสังข่#อม2ลัต่�วอยางจาก VLANหุ้น0�งไปย�ง VLAN อ��น ที่��อย2บนสัว!ต่ชื่�คนลัะต่�ว แลัะข่#อม2ลัที่��สังน�/นใหุ้#ที่&าการสัร#าง ethernet

Frame ที่��ม� 8021Tag . Q แลัะเปลั��ยนคาข่องหุ้มายเลัข่ VLAN ใหุ้#เป)นคาข่องหุ้มายเลัข่ V LANปลัายที่างที่��ต่#องการเบรค เฟรมที่��ถี่2กสัร#างข่0/นใหุ้มน�/นจะม�ลั�กษณะด้�งร2ปที่�� 6 แลัะคา

ข่อง 8021Tag . Q จะม�ร2ปแบบ "8 1 0 0 0 n nn" โด้ยที่�� PPP ค�อหุ้มายเลัข่ข่อง VLAN ซึ่0�งผ่ลัจากการที่ด้สัอบด้�งกลัางจะสัามารถี่ที่&าการเบรค VLAN ได้#

สถานำการณ�ตอไปนำ*�จะท�าให้!เก�ดชื่องโห้วข่อง VLAN– เม��อผ่2#บ�กร�กสัามารถี่ที่��จะเข่#าถี่0งพิอร�ต่ในสัว!ต่ชื่�ที่��เป)น VLAN เด้�ยวก�นก�บ VLAN ข่อง

Trunk port– เคร��องเป6าหุ้มายอย2บนสัว!ต่ชื่�ต่างก�นแต่ม�กลั�ม trunk เด้�ยวก�น– ผ่2#บ�กร�กที่ราบถี่0ง MAC address ข่องเคร��องเป6าหุ้มาย– Layer 3 device สัามารถี่สัร#าง Connection จาก VLAN เป6าหุ้มายกลั�บไปย�ง

VLAN ที่��เป)นต่#นที่างได้#

VLAN

Page 85: สอนLAN

สร2ป• เน��องจากชื่องโหุ้วที่��พิบน�/นเป)นชื่องโหุ้วที่��อาจจะไมสัามารถี่จะป6องก�นได้#เพิราะ

เป)นชื่องโหุ้วที่��เก!ด้จากที่างผ่2#พิ�ฒนามาต่รฐานแลัะผ่2#ผ่ลั!ต่อ�ปกรณ�เคร�อข่าย ฉะน�/นข่อแนะน&าวา ไมควรใชื่# VLAN เพิ��อจ�ด้ประสังค�ในการร�กษาความปลัอด้ภ�ยข่องข่#อม2ลัที่��สังผ่าน เพิ�ยงแต่ค�ณสัมบ�ต่!ที่��ด้�ข่อง VLAN น�/นก(ที่&าใหุ้#เป)นที่างเลั�อกอ�กที่างที่��นาใชื่# ค�ณสัมบ�ต่!ด้�งกลัาวเชื่นสัามารถี่ที่&าการแบงเคร�อข่ายงาย ลัด้การ br oadcast แลัะ ลัด้ความค�บค��ง ( Collision ) เป)นต่#นแต่ถี่#าจ&าเป)นต่#องใชื่# VLAN น�/นใหุ้#พิยายามเลั��ยงการใชื่#สัว!ต่ชื่�หุ้ลัายต่�ว หุ้ร�อกลัาวอ�กน�ยหุ้น0�งค�อไมควรที่��จะใชื่# Tr unk por t

VLAN

Page 86: สอนLAN

HUB and SWITCHS •Hubs Operate at Physical layer•Hubs Operate at Physical layer

A B C D

Physical

• All devices in the same collision domain

• All devices in the same broadcast domain

• Devices share the same bandwidth

Page 87: สอนLAN

•More end stations means more collisions

•CSMA/CD is used

Hubs: One Collision DomainHubs: One Collision Domain

HUB and SWITCHS

Page 88: สอนLAN

HUB and SWITCHS

•Each segment has its own collision domain

•All segments are in the same broadcast domain

Data LinkSwitches Operate at Data Link LayerSwitches Operate at Data Link Layer

1 2 3 4

Page 89: สอนLAN

HUB and SWITCHSSwitchesSwitches

•Each segment has its own collision domain

•Broadcasts are forwarded to all segments

Memory

Switch

Page 90: สอนLAN

OSI ModelOpen System Interconnect Model

• Makes the complexity of networking more understandable by using a layered approach.

• Eases troubleshooting.• Allows for specialization which helps

industry progress faster

Page 91: สอนLAN

OSI Model

• Uses standard interfaces to enable ease of interoperability

• Serves as a framework for creating and implementing network standards, devices, and internetworking methods.

Page 92: สอนLAN

OSI ModelOSI Reference Model

• Layer 7 Application• Layer 6 Presentation• Layer 5 Session• Layer 4 Transport• Layer 3 Network• Layer 2 Data-Link• Layer 1 Physical

Page 93: สอนLAN

OSI Model

Data Flow Layers

Transport Layer

Data Link

Network Layer

Physical

Application (Upper) Layers

Session

Presentation

Application

Page 94: สอนLAN

OSI Model

Keeping different applications’ data separate

User Interface

• How data is presented• Special processing such as encryption

TelnetHTTP ต่!ด้ต่อก�บผ่2#ใชื่#

ASCIIEBCDICJPEG, แปลัค&าสั��ง

Operating System/Application Access Scheduling, ควบค�มการเชื่��อมต่อ

Transport Layer

Data Link

Network Layer

Physical

EXAMPLES

Session

Presentation

Application

Role of Application LayersRole of Application Layers

Page 95: สอนLAN

OSI Model

TCPUDPSPX

802.3 / 802.2HDLC

EIA/TIA-232V.35

IPIPX

Presentation

Application

SessionEXAMPLES

Role of Data Flow LayersRole of Data Flow Layers

• Reliable or unreliable delivery• Error correction before retransmit

• Combines bits into bytes and bytes into frames

• Access to media using MAC address• Error detection not correction

• Move bits between devices• Specifies voltage, wire speed and

pin-out cables

Transport

Data Link

Physical

Network Provide logical addressing which routers use for path determination

Page 96: สอนLAN

OSI Model

อ2ปกรณ�ในำระบบเคร�อข่าย เม��อเท*ยบการท�างานำก�บ OSI Model

•Layer 1 - HUB•Layer 2 - SWITCH•Layer 3 - Router, L3 SWITCHS

Page 97: สอนLAN

ProtocolIPX/SPX• IPX/SPX (Internetwork Packet

Exchange/Sequence Packet Exchange)• IPX ท�างานำในำ Network Layer สงข่!อม%ลแบบ

Connectionless, Unreliable ไมต!องสถาปนำาการเชื่��อมตอ , ไมต!องรอส�ญญาณย�นำย�นำจากปลายทาง

• SPX ท�างานำในำ Transport Layer ต!องสถาปนำาการเชื่��อมตอ , รอส�ญญาณย�นำย�นำในำการร�บสงข่!อม%ลจากปลายทาง

• ป7จจ2บ�นำไมเป(นำท*�นำ�ยมนำอกจาก LAN Games บางต�ว

Page 98: สอนLAN

Protocol

NetBEUI• NetBEUI (NetBIOS Enhanced User

Interface)• ใชื่!การ Broadcast ข่!อม%ลในำระบบ (Physical

Segment) แตจะไมสามารถ Broadcast ข่!อม%ลข่!าม Router ได!

• ใชื่!ก�บ Network ข่นำาดเล0ก• ต�วอยางค�อ ชื่��อเคร��องในำ My Network Place

Page 99: สอนLAN

ProtocolTCP/IP (Transmission Control Protocol/Internet Protocol)

ประกอบด!วยกล2ม Protocol ด�งนำ*�• Transmission Control Protocol (TCP)• User Datagram Protocol (UDP)• Internet Protocol (IP)• Internet Control Message Protocol (ICMP)• Internet Group Management Protocol (IGMP)• Address Resolution Protocol (ARP)• TCP/IP Utilities

Page 100: สอนLAN

Protocol

• บทบาทส�าค�ญข่อง TCP/IP ค�อการท�างานำในำเคร�อข่าย Internet

• TCP จะท�างานำเป(นำ Connection Oriented และม*Flow Control

• IP จะให้!บร�การสงข่!อม%ลไปย�งปลายทางโดยด%จาก IP Address ท�างานำรวมก�บ โปรโตคอล ARP ในำการแปลงระห้วาง IP Address และ MAC Address

TCP/IP (ตอ)

Page 101: สอนLAN

Port NumbersPort Numbers

TCP

Port Numbers

FTP

TransportLayer

TELNET

DNS

SNMP

TFTP

SMTP

UDP

ApplicationLayer

2121 2323 2525 5353 6969 161161

RIP

520520

Page 102: สอนLAN

IP Address• เป(นำห้มายเลข่อ!างอ�งประจ�าต�วข่องอ2ปกรณ�ท*�เชื่��อมตอในำเคร�อข่าย

Internet • IP ท*�ใชื่!ในำป7จจ2บ�นำเป(นำแบบ IPv4 แตในำอนำาคตจะเป(นำแบบ IPv6

IP Addressing

255 255 255 255

DottedDecimal

Maximum

Network Host

32 bits

Page 103: สอนLAN

IP AddressingIP Addressing

255 255 255 255

DottedDecimal

Maximum

Network Host

128 64 32 16 8 4 2 1

11111111 11111111 11111111 11111111

10101100 00010000 01111010 11001100

Binary

32 bits

172 16 122 204ExampleDecimal

ExampleBinary

1 8 9 16 17 24 25 32

128 64 32 16 8 4 2 1

128 64 32 16 8 4 2 1

128 64 32 16 8 4 2 1

Page 104: สอนLAN

• Class A:

• Class B:

• Class C:

• Class D: Multicast

• Class E: Research

IP Address ClassesIP Address Classes

NetworkNetwork HostHost HostHost HostHost

NetworkNetwork NetworkNetwork HostHost HostHost

NetworkNetwork NetworkNetwork NetworkNetwork HostHost

8 bits 8 bits 8 bits 8 bits

Page 105: สอนLAN

IP Address ClassesIP Address Classes1

Class A:

Bits:

0NNNNNNN0NNNNNNN HostHost HostHost HostHost

8 9 16 17 24 25 32

Range (1-126)

1

Class B:

Bits:

10NNNNNN10NNNNNN NetworkNetwork HostHost HostHost

8 9 16 17 24 25 32

Range (128-191)1

Class C:

Bits:

110NNNNN110NNNNN NetworkNetwork NetworkNetwork HostHost

8 9 16 17 24 25 32

Range (192-223)1

Class D:

Bits:

1110MMMM1110MMMM Multicast GroupMulticast Group Multicast GroupMulticast Group Multicast GroupMulticast Group

8 9 16 17 2425 32

Range (224-239)

Page 106: สอนLAN

IP Adderss

• Class A = 224 = 16,777,214• Class B = 216 = 65,536• Class C = 28 = 256IP สงวนำ• 127000 เป(นำ Loop Back Test• 255.255.255.255 เป(นำ Broadcast

จ�านำวนำเคร��องท*�เคร�อข่ายสามารถม*ได!

Page 107: สอนLAN

IP Address

• Class A 121.7.23.3 Subnet 255.0.0.0

• Class B137.103.210.2 Subnet 255.255.0.0

• Class C202.182.255.3 Subnet 255.255.255.0

ต�วอยาง IP

Page 108: สอนLAN

IP Address

• ค�อการก&าหุ้นด้ IP แบบไมค&าน0งถี่0งการแบงต่าม Network Class เชื่น ก&าหุ้นด้ IP ใน Class C ใหุ้#สัวนข่องหุ้มายเลัข่เคร�อข่ายเป)น 26 บ!ต่ (ปกต่! 24 บ!ต่)ที่&าใหุ้#เคร��องลั2กข่าย หุ้ร�อ Host ลัด้ลัง

• น!ยมแบงเพิ��อใหุ้#สัามารถี่ใชื่# IP ได้#อยางม�ประสั!ที่ธี!ภาพิมากที่��สั�ด้ ม�กก&าหุ้นด้ใหุ้#ก�บองค�กรที่��ม�เคร�อข่ายข่นาด้เลั(ก ม�เคร��องลั2กข่ายไมมาก

• CIDR จะม�เคร��องหุ้มาย “/” บอกใหุ้#ที่ราบวา Network Address ม�ก��บ!ต่ต่�วอยาง• 10106250130. . . /

การแบง IP แบบไมลง Class พิอด* (Classless Inter-Domain Routing :CIDR)

Page 109: สอนLAN

IP AddressIP Address: 10.106.250.1/ 30

• Subnet Address = 10.106.250.0• Host Addresses = 10.106.250.1–10.106.250.2• Broadcast Address = 10.106.250.3• 2 bits of subnetting

Network Subnet Host

00001010 01101010 11111010 00000011

10.106.250.1 :

255.255.255.252:

00001010

11111111

Subnet: 00001010 01101010

01101010

11111111

11111010

11111010

11111111

00000001

11111100

00000000

Broadcast:

Network

Page 110: สอนLAN

MAC Address

• MAC Address (Media Access ControlAddress)

• เป(นำห้มายเลข่ประจ�าต�วข่องอ2ปกรณ�ท*�ถ%กก�าห้นำดจากบร�ษ�ทผ่%!ผ่ล�ต

ต�วอยาง08:0a:0E:12:b5:05

บร�ษ�ทผ่%!ผ่ล�ต ห้มายเลข่

Page 111: สอนLAN

Command

• Win98 winipcfg, winipcfg /all

• 2000Win /XP ipconfig, ipconfig /all

• - ping, ping t

ค�าส��งในำการตรวจสอบการท�างานำข่องระบบเบ��องต!นำ

Page 112: สอนLAN

Wireless LAN

• ระบบเคร�อข่าย LAN แบบไร!สายท*�อาศู�ยคล��นำว�ทย2ในำการร�บสงข่!อม%ล โดยใชื่!อากาศูเป(นำต�วนำ�าส�ญญาณ ป7จจ2บ�นำสามารถร�บสงข่!อม%ลได!ถ�ง 54Mbps

ข่!อด*ข่อง WLAN• ความคลองต�ว: สามารถเชื่��อมตอเข่!าส%เคร�อข่ายได!สะดวกจากจ2ดใดก0ได!ท*�

ส�ญญาณไปถ�ง• ม*ความสะดวกในำการต�ดต��งและจ�ดการ• ความย�ดห้ย2นำ:สามารถเข่!าส%ระบบจากจ2ดท*�สายส�ญญาณไมสามารถต�ดต��งได!

Page 113: สอนLAN

Institute of Electrical and Electronics Engineers (IEEE) The WLAN standards were started with the 8 0 2 .1 1

standard, developed in 1 9 9 7 by the IEEE. This base standard allowed data transmission of up to 2 Mbps. Ov

er time, this standard has been enhanced. These extensi ons are recognized by the addition of a letter to the origin 80211 80211al . standard, including . a and

80211. b. The chart below details the various stand 80211ards related to . .

Wireless LAN

Page 114: สอนLAN

802.11 Standards • 80211. The original WLAN Standard. Supports 1 Mbps to

2 Mbps.• 80211 High speed WLAN standard for 5 Ghz band.

Supports 54 Mbps.• 80211I . b WLAN standard for 2 .4 Ghz band. Supports

11 Mbps.• 80211 Address quality of service requirements for all IEEE

WLAN radio interfaces.• 80211 - Definesi nt er access poi nt communi cat i ons t o

- facilitate multiple vendor distributed WLAN networks.• 80211 Establishes an additional modulation technique for

24 54. Ghz band. Intended to provide speeds up to Mbps.• 80211 Defines the spectrum management of the 5 Ghz

band for use in Europe and in Asia Pacific.• 80211 Address the current security weaknesses for both

authentication and encryption protocols. The standard encomp asses 8 0 2 .1 X, TKIP, and AES protocols.

Wireless LAN

Page 115: สอนLAN

80211The . b specification was ratified by the IEEE in July 1999 and

PPPPP PPP PPPPPPPPP 2.42.49 7 PPP PPPPP PPPPPPPPP PPP PPPPPPPPPP PPPPPP PPPPPPPP PPP .

80211. b is known as complementary direct sequence spread spectrum (DSSS) using complementary code keying (CCK) making

PPPPPPPPPPPPP PPP 11.802 . 11 1999also ratified in July , but products did not become available 2001 80211until so it isn't as widely deployed as . b.

80211. a P PP P P P P P5 15 5 8 7 5

PPP P modulation scheme known as orthogonal frequency division

multiplexing (OFDM) makes data speeds as high as 54 Mbps.

Wireless LAN

Page 116: สอนLAN

Wi-Fi• Short for wireless fidelity and is meant to be used

80211generically when referring of any type of . network - 80211 80211, whether . b, . a, dual band, etc. The term is

- promulgated by the Wi Fi Alliance. Any products tested a - nd approved as "Wi Fi Certified" (a registered trademark) - by the Wi Fi Alliance are certified as interoperable with e

ach other, even if they are from different manufacturers. - A user with a "Wi Fi Certified" product can use any brand of access point with any other brand of client hardware t

- hat also is certified. Typically, however, any Wi Fi product 24using the same radio frequency (for example, . GHz for

80211 11 5 80211. b or g, GHz for . a) will work with any oth - er, even if not "Wi Fi Certified."

• - Formerly, the term "Wi Fi" was used only in place of the 24 80211. GHz . b standard, in the same way that

8023"Ethernet" is used in place of IEEE . .

Page 117: สอนLAN

Wireless LAN

Page 118: สอนLAN

Wireless LAN

Page 119: สอนLAN

BLUETOOTH• มาจากชื่��อ Herald Blatand (หุ้ร�อ Bluetooth) กษ�ต่ร!ย�ชื่าวไวก!/งในชื่วง

คPศัPที่�� 10 ผ่2#รวมนอร�เวย�แลัะเด้นมาร�กเข่#าด้#วยก�นเหุ้ม�อนลั�กษณะเที่คโนโลัย�ที่��รวมการสั��อสัารแลัะคอมพิ!วเต่อร�เข่#าด้#วยก�น

• ใชื่#คลั��นว!ที่ย�ความถี่�� 24 GHz• อ�ต่ราการสังข่#อม2ลั 1 Mbps • เชื่��อมต่อได้#ที่�/งแบบ point-to-point แลัะ point-to-multipoint• ระยะหุ้างระหุ้วางอ�ปกรณ�ไมเก!น 10 ม.(ก&าลั�งไมเก!น 1 ม!ลัลั!ว�ต่ต่� ) ถี่#าม�

อ�ปกรณ�ข่ยายสั�ญญาณจะสังได้#ถี่0ง 100 ม 100.( ม!ลัลั!ว�ต่ต่� )• สั��อสัารก�นแบบเคร�อข่ายได้#สั2งสั�ด้ 8 ต่�วโด้ยใชื่#ชื่องสั�ญญาณเด้�ยวก�น เร�ยก

วา Piconet

Page 120: สอนLAN

การออกแบบระบบเคร�อข่าย• ความต!องการ/การเล�อกระบบ/เทคโนำโลย*/งบประมาณ• ข่!อจ�าก�ดข่องระบบท*�เล�อก• ประมาณว�สด2/อ2ปกรณ�• เทคนำ�คในำการต�ดต��ง/ทดสอบระบบ

Page 121: สอนLAN

ERROR CONDITIONRunt• A Runt is a complete frame that is shorter than 6 4 bytes (5 1 2 bits),

whichisthesmallestal l owabl e f r ame. I t can be caused by a col l i si on, dodgy sof t war e or a faultyport/NIC.

Long• Thisisaframethatisbetween1518and6000byt es l ong. Nor mal l y i t i s due t o f aul t y har dwar e or

softwareon t he sendi ng st at i on.Giant• This is a frame that is between more than 6 0 0 0 bytes long. Normally it

isdue t o f aul t y har dwar e or sof t war e on t he sendi ng st at i on.Dribble• 1518Aframethatisdefinedasa ' dr i bbl e' i s one t hat i s gr eat er t han byt es but can st i l l be

-processed. This could point to a problem where the IPG is too small or non e xistentsuch t hat t wo f r ames j oi n t oget her .

Jabber• This is when a device is having problems electrically. Ethernet relies on

electrical signalling to determine whether or not to send data, so a faulty ca rd could stop all traffic on a network as it sends false signals causing other d

evices to think that the network is busy. This shows itself as a long frame wit h an incorrect FCS or is an alignment error.

Page 122: สอนLAN

Frame Check Sequence (FCS) Error• This defines a frame which may or may not have the right number of bits but

they have been corrupted between the sender and receiver, perhaps due to interference on the cable.

Alignment Error• Frames are made up of a whole number of octets. If a frame arrives with part

of an octet missing, and it has a Frame Check Sequence (FCS) error, then it i s deemed to be an Alignment Error. This points to a hardware problem, perh

aps EMF on the cable run between sender and receiver. Broadcast Storm

• An incorrect packet broadcast onto a network that causes multiple stations to respond all at once, typically with equally incorrect packets which causes

the storm to grow exponentially in severity. When this happens there are to o many broadcast frames for any data to be able to be processed. Broadcast

frames have to be processed first by a NIC above any other frames. The NIC filters out unicast packets not destined for the host but multicasts and broad casts are sent to the processor. If the broadcasts number 1 2 6 per second

or above then this is deemed to be a broadcast storm. An acceptable level of broadcasts is often deemed to be less than 2 0 % of received packets altho

ugh many networks survive well enough on higher levels than this. The perf - ormance lower specified workstations may be impacted by as little as 1 0

0 broadcasts/second. Some broadcast/multicast applications such as video conferencing and stock market data feeds can issue more than 1 0 0 0 br

oadcasts/sec.

ERROR CONDITION

Page 123: สอนLAN

Collisions• Collisions are a normal occurrence on an Ethernet network. The more

devices there are within a segment (Collision Domain) the more collisions are likely. A badly cabled infrastructure can cause unnecessar

y collisions due to a device being unable to sense a carrier and transmit ting anyway.

Jam• PPPPPPPPP PP P PPPPPPPPPP PPP P PP PPPPP PPP P PPP PPPPPP PP PPP PPP ,

other stations know that a collision has occurred. A repeater, on seeing a collision on a particular port, will send a jam on all other ports causing

collisions and making all the stations wait before transmitting. A station must see the jam signal before it finishes transitting the frame otherwis

e it will assume that another station is the cause of the collision.

ERROR CONDITION

Page 124: สอนLAN

QUIZ

1 101062501330.IP= . . . /2 101062625028.IP= . . . /3 101062310024.IP= . . . /จากข่!อ 1 ถ�ง 3 ให้!ห้าคาด�งตอไปนำ*�• Subnet Address • Host Addresses ท*�สามารถม*ได!• Broadcast Address• bits of subnetting4.อธิ�บายความแตกตางข่อง Switchs และ Hubโดยใชื่!

Broadcast Domain, Collision Domain

Page 125: สอนLAN

5 ยกต่�วอยาง IPv4 มา 1 หุ้มายเลัข่6.ใหุ้#ยกต่�วอยาง Topology 3 ต่�วอยาง พิร#อมก�บอธี!บาย แลัะวาด้ภาพิประกอบ7.Topology ใด้ที่��ที่&างานลั�กษณะ Redundant8.Ethernet แบบใด้ที่��ไมใชื่#โปรโต่คอลั CSMA/CD9.GBIC ค�ออะไร

10. “ Establishes an additional modulation technique for 24 54. Ghz band. Intended to provide speeds up to

Mbps.” ค�อน!ยามข่อง Wireless LAN ต่ามมาต่รฐาน IEEE. ใด้11.จาก Snell’s Law ใหุ้# n1 ค�อคาด้�ชื่น�การหุ้�กเหุ้แสังข่อง Core

n2 ค�อคาด้�ชื่น�การหุ้�กเหุ้แสังข่อง Core“ แสังจะสัามารถี่เด้!นที่างใน สัายน&าสั�ญญาณ Fiber Optic ได้#โด้ยไมสัะที่#อนกลั�บ

หุ้มด้หุ้ร�อที่ะลั�ผ่าน” เม��อความสั�มพิ�นธี�ระหุ้วาง n1 แลัะ n2 เป)นอยางไร

QUIZ

Page 126: สอนLAN

12.Fast Ethernet ก&าหุ้นด้ด้#วยมาต่รฐาน IEEE. ใด้13.สัาย UTP ซึ่0�งลัากจาก Patch Panel ไปย�ง Wallet เร�ยกวาเป)นการ

เด้!นสัายแบบใด้14.ใหุ้#อธี!บายความแต่กต่างข่อง 10Base2 แลัะ 10 Base5 มา

โด้ยลัะเอ�ยด้15.จากข่#อม2ลั 100101110 ใหุ้#แปลังเป)น Manchester

Code16.Port Trunking ค�ออะไร ม�ข่#อจ&าก�ด้อยางไร17.ใหุ้#เข่�ยนร2ป OSI Model18.”Hub, Switch, Router” ที่&างานที่�� Layer ใด้ข่อง OSI Model19.NOS ค�ออะไร ยกต่�วอยางมา 3 ต่�วอยาง20.ใหุ้#อธี!บาย VLAN Layer 3

QUIZ

Page 127: สอนLAN

QUIZ21.จากร2ป ใหุ้#หุ้า Round Trip Propagation Delay ระหุ้วาง WS1 ก�บ Server แลัะที่านค!ด้วาระบบน�/จะสัามารถี่ที่&างานได้#หุ้ร�อไม

Page 128: สอนLAN

QUIZ

Page 129: สอนLAN

ค�าตอบIP Address: 10.106.250.13/ 30

• Subnet Address = 10.106.250.12• Host Addresses = 10.106.250.13–10.106.250.14• Broadcast Address = 10.106.250.15• 2 bits of subnetting

Network Subnet Host

00001010 01101010 11111010 00001111

10.106.250.1 :

255.255.255.252:

00001010

11111111

Subnet: 00001010 01101010

01101010

11111111

11111010

11111010

11111111

00001101

11111100

00001100

Broadcast:

Network

ข่!อ 1.

Page 130: สอนLAN

ค�าตอบIP Address: 10.106.26.250/28

• Subnet Address = 10.106.26.240• Host Addresses = 10.106.26.241–10.106.26.254• Broadcast Address = 10.106.26.255• 4 bits of subnetting

Network Subnet Host

00001010 01101010 00011010 11111111

10.106.26.250 :

255.255.255.240:

00001010

11111111

Subnet: 00001010 01101010

01101010

11111111

00011010

00011010

11111111

11111010

11110000

11110000

Broadcast:

Network

ข่!อ 2.

Page 131: สอนLAN

ค�าตอบIP Address: 10.106.23.100/24

• Subnet Address = 10.106.23.0• Host Addresses = 10.106.23.1–10.106.23.254• Broadcast Address = 10.106.23.255• 8 bits of subnetting

Network Subnet Host

00001010 01101010 00010111 11111111

10.106.23.100 :

255.255.255.240:

00001010

11111111

Subnet: 00001010 01101010

01101010

11111111

00010111

00010111

11111111

01100100

00000000

00000000

Broadcast:

Network

ข่!อ 3.

Page 132: สอนLAN

4.น!ยามข่อง HUB– All devices in the same collision domain– All devices in the same broadcast domain

น!ยามข่อง SWITCHS– Each segment has its own collision domain– All segments are in the same broadcast domain

ค�าตอบ

Page 133: สอนLAN

5.ยกต่�วอยาง IPv4 มา 1 หุ้มายเลัข่1010623100. . .

6.ใหุ้#ยกต่�วอยาง Topology มา 3ต่�วอยาง พิร#อมก�บวาด้ภาพิประกอบ

ค�าตอบ

1.STAR

• เป)นการเชื่��อมต่อโด้ยม� คอมพิ!วเต่อร�หุ้ลั�ก หุ้ร�อ HUB เป)นศั2นย�กลัาง แลัะม�เคร��องคอมพิ!วเต่อร�อ��นๆต่ออย2รอบๆ

Page 134: สอนLAN

ค�าตอบ2.BUS

• ลั�กษณะการเชื่��อมต่อแบบม�เสั#นที่างข่#อม2ลัหุ้ลั�ก แลัะม�คอมพิ!วเต่อร� ต่ออย2ต่ามแนวเสั#นที่าง

3.MESH

• ปกต่!ใชื่#ก�บ WAN โด้ยม�การเชื่��อมต่อผ่าน Router

Page 135: สอนLAN

7.Topology ใด้ที่��ที่&างานลั�กษณะ Redundant• RING FDDI ห้ร�อ DUAL RING8.Ethernet แบบใด้ที่��ไมใชื่#โปรโต่คอลั CSMA/CD• 10 Gigabit Ethernet9.GBIC ค�ออะไร• Short for gigabit i nterface converter , a transceiverthat

converts serial electric signals to serial optical signals an d vice versa. In networking, a GBIC is used to interface a f

iber optic system with an Ethernetsystem, such as Fibre Channel and Gigabit Ethernet. A GBIC allows designers to

design one type of device that can be adapted for either -optical or copper applications. GBICs also are hot swappa

- ble, whi ch adds t o t he ease of upgr adi ng el ect r o opt i cal communi cat i on net wor ks

ค�าตอบ

Page 136: สอนLAN

ค�าตอบ 10. “ Establishes an additional modulation technique for 2.4 Ghz

band. Intended to provide speeds up to 54 Mbps.” ค�อน!ยามข่อง Wireless LAN ต่ามมาต่รฐาน IEEE. ใด้

• IEEE.802.11g11.จาก Snell’s Law ใหุ้# n1 ค�อคาด้�ชื่น�การหุ้�กเหุ้แสังข่อง Core

n2 ค�อคาด้�ชื่น�การหุ้�กเหุ้แสังข่อง Cladding“ แสังจะสัามารถี่เด้!นที่างใน สัายน&าสั�ญญาณ Fiber Optic ได้#โด้ยไมสัะที่#อนกลั�บหุ้มด้

หุ้ร�อที่ะลั�ผ่าน” เม��อความสั�มพิ�นธี�ระหุ้วาง n1 แลัะ n2 เป)นอยางไร• n2>n2

Page 137: สอนLAN

ค�าตอบ12.Fast Ethernet ก&าหุ้นด้ด้#วยมาต่รฐาน IEEE. ใด้• wwww wwwwwwww เป(นำระบบเคร�อข่าย wwwwwwww ท*�จ�ดอย%ในำ มาตรฐานำ 8023IEEE . u13.สัาย UTP ซึ่0�งลัากจาก Patch Panel ไปย�ง Wallet เร�ยกวาเป)นการเด้!นสัายแบบใด้• Horizontal Cabling

Page 138: สอนLAN

ค�าตอบ14.ใหุ้#อธี!บายความแต่กต่างข่อง 10Base2 แลัะ 10 Base5 มาโด้ย

ลัะเอ�ยด้10 Base2 ห้ร�อ Thin Ethernet ใชื่#สัาย    Coaxial RG5 8 A/U ความเร(ว 10 Mbps เชื่��อมต่อได้#สั2งสั�ด้ 185 ม . แลัะต่#องม�

  Ground  Terminator ข่นาด้     5 0 โอหุ้�ม ป;ด้ที่#ายข่องสัายสั�ญญาณเป)นจ&านวน 2 ต่�ว  

• T-connector เป)นอ�ปกรณ�ที่��ใชื่#เชื่��อม Network Card แลัะ Cable เข่#าด้#วยก�น T-connector ม� 3   ข่า ข่าที่�� 1 จะเป)นข่าที่��ใชื่#ต่อก�บ Network Card ซึ่0�งเสั�ยบอย2ใน PC สัวน

อ�ก 2 ข่าที่��เหุ้ลั�อจะใชื่#ต่อก�บ Cable • - BNC Connector เป)นอ�ปกรณ�ที่��ใชื่#ที่&าหุ้�วใหุ้#ก�บสัาย Cable เพิ��อใหุ้#สัามารถี่เสั�ยบต่อก�บ -T

Connector ได้#• - BNC Barrel Connector เป)นอ�ปกรณ� ที่��ใชื่#เชื่��อมต่อสัาย  Coax ในกรณ�ที่��ต่#องการต่อใหุ้#ม�

ความยาวมากข่0/น  ไมควร น&าสัาย Coax มาต่อก�น โด้ยใชื่# - T connector เพิราะจะที่&าใหุ้#ระบบค!ด้วาเป)นอ�ก 1Workstation ซึ่0�งอาจจะที่&าใหุ้#เก!ด้ ป:ญหุ้าก��ยวก�บจ&านวน Station ใน 1LAN วงได้# (ไมเก!น 3 0 Station)

• - Ground Terminator ม� 2 ต่�ว ต่อ 1 ระบบ ใชื่#ป;ด้สั�ญญาณหุ้�วที่#ายข่องระบบ Networkแลัะม�  Ground เพิ��อป6องก�น ไฟร��ว

Page 139: สอนLAN

ค�าตอบ

10 Base2 ห้ร�อ Thin Ethernet

Page 140: สอนLAN

ค�าตอบ10 Base5 ห้ร�อ Thick Ethernet•  ม�ลั�กษณะคลั#ายก�บ P   102 แต่แที่นที่��จะต่อ Cable เข่#าก�บ

  Station โด้ยต่รง• กลั�บต่อเข่#าก�บอ�ปกรณ�เชื่��อมต่อต่�ว กลัางที่��เร�ยกวา  PP PPPPP

Attachment Unit•  (MAU)" แลั#วใชื่#สัาย Cable ชื่��อ  "AttachmentUnit Interface

  (AUI)" เป)นต่�ว• เชื่��อมต่อ จาก MAU เข่#าสั2    Station สัวนสัาย Cable ระหุ้วาง Station

จะใชื่#ชื่น!ด้• 8 หุ้ร�อ  11 ซึ่0�งเป)นแบบ Thick Coaxial Cable แลัะย�ง คงม�

Ground• Ter mi nat or s ข่นาด้ 50 โอหุ้�ม 2 ต่�วป;ด้หุ้�วที่#ายข่องระบบ

Page 141: สอนLAN

ค�าตอบ

Page 142: สอนLAN

ค�าตอบ15.จากข่#อม2ลั 100101110 ใหุ้#แปลังเป)น Manchester Code

Page 143: สอนLAN

16.Port Trunking ค�ออะไร ม�ข่#อจ&าก�ด้อยางไร• การที่&า Port Trunking ค�อการเพิ!�ม Bandwidth โด้ยรวมเอาหุ้ลัาย Port ข่อง

Switch ใหุ้#ที่&างานเสัม�อนเป)น Port เด้�ยว เชื่น รวมเอา 3Port ข่อง Switch 100 Mbps มาที่&าเป)น Trunk ที่&าใหุ้# BW เพิ!�มเป)น 300 Mbps (สั&าหุ้ร�บ Port ข่อง Switch ที่��วไปที่��ที่&างานแบบ Half Duplex) แลัะถี่#า Port ที่&างานแบบ Full Duplex จะที่&าใหุ้# Link น�/ม� BW 600 Mbps

• Ports connecting the switch to another switch or other device - can be combined (trunked) to function as a single, higher speed link that dramatically increases bandwidth and fault tolerance.

A maximum of four ports can be combined in a single port trunk . The Spanning Tree Protocol (STP) sees a port trunk as a single

link. For more information on port trunks, refer to the manual y ou received with the switch.

• Note: Onapairofswitchesyouplant o connect wi t h a por t t r unk, t he por t s t o be used in the trunk should not be linked until after you configure them f or trunking. Otherwise, a "broadcast storm" could occur, which

could impair network performance.

ค�าตอบ

Page 144: สอนLAN

17.ใหุ้#เข่�ยน OSI Model

ค�าตอบ

OSI Reference Model

• Layer 7 Application• Layer 6 Presentation• Layer 5 Session• Layer 4 Transport• Layer 3 Network• Layer 2 Data-Link• Layer 1 Physical

Page 145: สอนLAN

18.”Hub, Switch, Router” ที่&างานที่�� Layer ใด้ข่อง OSI Model• Layer 1 - HUB• Layer 2 - SWITCH• Layer 3 – Router

19.NOS ค�ออะไร ยกต่�วอยางมา 3ต่�วอยางระบบปฏิ�บ�ต�การเคร�อข่าย (NOS: Network Operating System)เป)นระบบปฏ!บ�ต่!การที่��ที่&าหุ้น#าที่��จ�ด้การเก��ยวก�บการสั��อสัารข่#อม2ลัผ่านเคร�อข่าย แลัะการเข่#าใชื่#ที่ร�พิยากรที่��ม�อย2ในเคร�อข่าย เชื่น เคร��องพิ!มพิ� ฮาร�ด้ด้!สัก� เป)นต่#น ต�วอยางข่อง NOSเชื่น Windows 2000 Server, Netware, Windows 2003 Server

ค�าตอบ

Page 146: สอนLAN

20.ใหุ้#อธี!บาย VLAN Layer 3 wwww w wwwwwwwwww ww ww wwwwww wwwwwww3:• แบง VLAN โด้ยใชื่# Layer 3 Header น��นก(ค�อใชื่# IP Subnet เป)นต่�ว

แบง

21. Round Trip Propagation Delay ระหุ้วาง WS1 ก�บ Serverแลัะที่านค!ด้วาระบบน�/จะสัามารถี่ที่&างานได้#หุ้ร�อไม• (15+90+85+15)X1.112+(92X3)+100=603.96 • ระบบน�/ผ่!ด้หุ้ลั�กการข่อง Fast Ethernet ซึ่0�งใหุ้#ใชื่# Class 2 Repeater

ได้#แค 2 ต่�วแลัะต่#องต่อก�นไมเก!น 5 ม . แลัะค&าต่อบที่��ได้#น�/นก(เก!น 51 2 ไมสัามารถี่ที่&างานได้#

ค�าตอบ