Chapter 2

  1. Define protocol.
    Protocal คือ มาตรฐานที่ใช้ในการปฏิบัติการระหว่างกันบน Layer เดียวกัน แต่ต่างเครื่องคอมพิวเตอร์กัน

    Define protocol data unit (PDU).
    PDU จะช่วยในการ communicate กันระหว่างคอมพิวเตอร์ 2 เครื่องใน Layer ต่าง

    Which layers have PUDs?
    layer ที่มี PDU คือ
    - Application Layer
    มี PDU = HTTP
    - Transport Layer
    มี PDU = TCP
    - Internet Layer
    มี PDU = IP
    - Data Link Layer
    มี PDU = PPP

    Which layers have end-to-end communication?
    Layer ที่มีการ communicate แบบ End-to-End ได้แก่ Application Layer และ Transport Layer


  2. Why do we need nested PUD transmission (why cant the two application layer programs merely exchahge PUDs without nesting)?
    เพราะ Application Layer ที่อยู่ต่างเครื่องคอมพิวเตอร์กันไม่สามารถสื่อสารกันเองโดยตรงได้


  3. In nested PUD transmission, what three things normally can be in a PDUs data field?
    HTTP-PDU, TCP-PDU, IP-PDU

    What is the exception to this rule?
    ข้อยกเว้นจะอยู่ใน Application Layer นั่นคือ ถ้าเราใช้ Application Layer ที่แตกต่างกัน program จะสร้าง FTP-PDU แทน HTTP-PDU


  4. Why are there multiple HTTP request-response cycles to download a single webpage?
    ในแต่ละ webpage จะมีทั้ง text และ image เวลา download browser จะ request HTML จากนั้นจะดูว่าใน page มี file image, sound, video หรือ Java applet หรือไม่ แล้วจึงทำการ request มา add เข้าใน page


  5. What is an octet?
    Octet คือกลุ่มของ bit จำนวน 8 bit ซึ่งก็คือ 1 byte นั่นเอง


  6. What is reliability?
    Reliability คือความสามารถในการป้องกันและการแก้ใขความผิดพลาด

    Why is it good?
    ข้อดีก็คือ เมื่อ browser request ข้อมูลไปแล้วไม่ได้รับ response กลับมา ก็จะทำการ request ข้อมูลซ้ำโดยอัตโนมัติ

    Why is it not usde at all layers?
    ไม่จำเป็นต้องใช้ในทุก Layer เพราะไม่จำเป็นต้อง check eroor ทุก Layer และจะทำให้ต้นทุนสูง


  7. What is connection-oriented service?
    Eplain the benefits of sequence numbers.?

    Connection-oriented service จะรองรับ sequence number ซึ่ง sequence number นี้จะเป็นตัวที่บอกว่าข้อมูลที่ request ไปได้ถูกส่งมาโดยปลอดภัยหรือไม่


  8. What is flow control?
    Flow-control คือความสามารถในการสั่งให้อีกด้านหนึ่งส่งข้อมูลช้าลงหรือหยุดชั่วคราว


  9. What is frabmentation?
    Why is it necessary?
    What program does reassembly?

    Fragmentation คือการแบ่งข้อมูลออกเป็นส่วนเล็ก หลาย ๆส่วน จะใช้เมื่อข้อมูลที่ response มีขนาดใหญ่มากเกินไป และต้องทำการ degragmentation ก่อนส่งไปยัง higher-layer ต่อไป


  10. What are the two parts in two-part internet addresses?
    Two-Part Internet Address จะมี Network Part และ Local Part

    What are the teree parts in three-part internet addresses?
    Three-Part Intenet Address จะมี Network Part, Subnet Part และ Host Part


  11. With two-part internet addtessing, a router connects two or more networks. To what do rouers connect in three-part network addressing?
    Three-Part Internet Address นั้น Router จะ connect Network Part และ Subnet Part


  12. What does a router look at in two-part addressing to decide whether it can deliver the IP packet to its destiantion host or must pass it on to another router? What does a router look at in three-part network addtessing?
    สำหรับ Two-Part จะดูที่ Network Part เพียงส่วนเดียวว่าจะส่งข้อมูลไปยัง Router ตัวนั้นหรือส่งผ่านไปยังตัวต่อไป สำหรับ Three-Part นั้น Router จะดูที่ Network Part และ Subnet Part


  13. Why do we need the Domain Name System (DNS)? What information does the client PC send in a DNS-Request-PUD? What new information does the DNS host send vack in its DNS-Response-PUD?
    เนื่องจากเครื่องไม่สามารถแปลaddressที่เป็นตัวอักษรได้และการให้userจำaddressก็ ยากเกินไปในการจำจึงต้องมี (DNS) Domain Name Systemเข้ามาช่วย
    สาเหตุที่ต้องทำการส่ง DNS- Request-PDU จาก client pc ก่อนก็เพื่อทำการแปลตัว host name ที่เป็น URL ข้อมูลใหม่ที่ถูกส่งกลับมาจาก DNS ไปยัง DNS-Response PDU คือinternet address ของ webserver ที่ร้องขอไป


  14. Distinguish between top-level domains, second-level domains, and host names.
    Top-level domains จะบอกประเภทว่าเป็นบริษัทหรือสถานศึกษาหรืออาจจะบอกชื่อประเทศ
    Seconddomains
    จะบอกชื่อขององค์การ -level
    Hostname
    จะเป็นชื่อที่ใช้สำหรับ Host computer แต่ละตัว


  15. You wish to get internet addresses and host names for the computers in your firm. Describe what you would do to accomplish this.
    ในส่วนของ Network Part จะใช้ .com เพื่อบอกว่าเป็นบริษัทธุรกิจ แล้วในส่วนของ Subnet Part จะใช้ชื่อบริษัทเป็นตัวบอก และจะมีส่วนของ Hostname ซึ่งเป็นชื่อส่วน หรือแผนกในบริษัท เช่น แผนกบัญชีของบริษัทสมาร์ทคอม จะมี Internet Address ว่า acct.smartcom.com


  16. Why do we use autoconfiguration instead of assigning permanent internet addresses to each client PC? What new information is returned in an Autoconfiguration-Responese-PDU?


back