1 / 12

OSI / Internet Layer

OSI / Internet Layer. หน้าที่การทำงานของแต่ละ Layer. 1. Physical layer : เคลื่อนย้าย bit ทาง transmission medium 2. Data Link layer : ส่ง datagram ผ่านทาง single link เช่น Ethernet หรือ PPP (Point to point protocol)

carrascoj
Download Presentation

OSI / Internet Layer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OSI / Internet Layer 2110472 Computer Network (TCP/IP Overview)

  2. หน้าที่การทำงานของแต่ละ Layer 1. Physical layer : เคลื่อนย้าย bit ทาง transmission medium 2. Data Link layer : ส่ง datagram ผ่านทาง single link เช่น Ethernet หรือ PPP (Point to point protocol) 3. Network layer : route datagram จากผู้ส่ง(source) ไปหายังผู้รับ (destination) ใช้ IP (Internet Protocol) ในการกำหนดจุดหมายปลายทาง 4. Transport layer : ส่ง message ระหว่าง client และ server ประกอบด้วย 2 protocol คือ TCP และ UDP 5. Application layer : จัดการทางด้าน application program เช่น Web, mail 2110472 Computer Network (TCP/IP Overview)

  3. FTP,WWW,Mail DNS,NFS traceroute TCP UDP IP ICMP ARP, Device Driver UTP, Fiber optics, Radio wave Protocol / Media ในแต่ละ Layer 2110472 Computer Network (TCP/IP Overview)

  4. IP Address • เป็นเลข 32 บิต (IPv4) จัดเรียงแบบ Big endian • อุปกรณ์ทุกชิ้นบนเครือข่ายจะต้องมีเลข IP ที่ไม่ซ้ำกัน • ใช้บอกเครือข่าย และ Host • Net ID 127 จะเป็น Loop Back เสมอ • Ureliable (Connectionless) 2110472 Computer Network (TCP/IP Overview)

  5. IPv4 Address formats 2110472 Computer Network (TCP/IP Overview)

  6. Netmask (Subnet) • Network เดียวกัน ต้องมี Subnet เหมือนกันเสมอ • Host ID = 0 เป็นหมายเลขเครือข่าย • Host ID = -1 เป็น Broad Cast Address 2110472 Computer Network (TCP/IP Overview)

  7. Broadcast Address ksh-2.04$ ping -b -c2 161.200.93.255 WARNING: pinging broadcast address PING 161.200.93.255 (161.200.93.255) from 161.200.93.37 : 56(84) bytes of data. Warning: time of day goes back, taking countermeasures. 64 bytes from 161.200.93.37: icmp_seq=0 ttl=255 time=138 usec 64 bytes from 161.200.93.38: icmp_seq=0 ttl=255 time=257 usec (DUP!) 64 bytes from 161.200.93.1: icmp_seq=0 ttl=255 time=277 usec (DUP!) --- 161.200.93.255 ping statistics --- 2 packets transmitted, 2 packets received, +22 duplicates, 0% packet loss round-trip min/avg/max/mdev = 0.043/1.469/10.402/2.705 ms 2110472 Computer Network (TCP/IP Overview)

  8. Address Resolution Protocol (ARP) ksh-2.04$ /sbin/arp Address HWtype HWaddress Flags Mask Iface 161.200.93.254 ether 00:E0:1E:4D:2C:40 C eth0 cpu.cp.eng.chula.ac.th ether 00:03:47:1B:81:03 C eth0 atlantic.cp.eng.chula.a ether 00:10:B5:54:28:99 C eth0 dhcp0-210.cp.eng.chula. ether 00:00:E2:4F:0A:C3 C eth0 cpu200.cp.eng.chula.ac. ether 08:00:20:85:68:C6 C eth0 pacific.cp.eng.chula.ac ether 00:50:8B:E9:14:1D C eth0 420-2.cp.eng.chula.ac.t ether 08:00:20:E9:02:55 C eth0 ksh-2.04$ 2110472 Computer Network (TCP/IP Overview)

  9. Interface Addresses 2110472 Computer Network (TCP/IP Overview)

  10. Trace Route แสดงทางเดินบนของข้อมูล • ksh-2.04$ /usr/sbin/traceroute www.chula.ac.th • traceroute to www1.netserv.chula.ac.th (161.200.192.1), 30 hops max, 38 byte packets • 1 161.200.93.254 (161.200.93.254) 0.709 ms 0.609 ms 0.577 ms • 2 f1-0-2-8510-cen32.it.chula.ac.th (161.200.255.154) 1.851 ms 1.557 ms 1.429 ms • 3 g1-0-0-8540-cen59.it.chula.ac.th (161.200.255.230) 0.830 ms 0.800 ms 0.776 ms • 4 f4-0-7513-cen59.it.chula.ac.th (161.200.255.173) 1.362 ms 1.348 ms 1.486 ms • 5 www1.netserv.chula.ac.th (161.200.192.1) 1.257 ms 1.142 ms 1.115 ms • ksh-2.04$ 2110472 Computer Network (TCP/IP Overview)

  11. client server 1. Connection establish 2. Data Transfer 3. Connection termination TCP 2110472 Computer Network (TCP/IP Overview)

  12. 2110472 Computer Network (TCP/IP Overview)

More Related