Page 32 - Computer Network
P. 32
บทที่ 4
แอดเดรส
To be able to communicate with one another, each network host must have an IP address. If
book) IP address to each host.
a network has only a few network hosts, we may manually assign an
However, whenanetworkhasalargenumberofhosts, itmaynotbepracticaltoassignIPaddresses
manually. Especially, when working in the wireless environment, network hosts such as mobile
devices come in and out of a network randomly. In such a case, it is impossible for network
(partialmobile device that joins the network.
administrators to manually assign an IP address to each
To be more efficient on assigning IP addresses, this chapter introduces the DHCP service, which
automates the IP address assignment process. DNS service is another key network service. For
example, to access a website, we must provide the name of the web server. However, network
hosts communicate through IP addresses. Therefore, we must have a service that is able to convert
the name of a server to its corresponding
only IP address so that the web server and client computer
can communicate with each other.
KKU
4.1 IP Address มาจากไหน
โนโลกของการสื่อสาร IP Address ถือเป็นสิ่งที่เครื่องทุกเครื่องต้องกำหนดขึ้น ใน windows 10 เราสามารถ
ตรวจสอบการหมายเลย IP Address ของเครื่องได้ง่าย ๆ ด้วยการไปยัง ไอคอนของ internet access และเปิด
ดู properties เลื่อนลงมาในส่วนล่างจะปรากฎข้อมูลเกี่ยวกับแอดเดรส ดังนี้
จากรูปที่ 4.1 ผู้จะพบว่ามีการระบุแอดเดรสไว้อย่างชัดเจน 3 ประเภทของแอดเดรส ได้แก่
• IPv4 address หมายเลข IP address ของเครื่องที่ใช้อยู่ในขณะนี้
• IPv4 DNS servers IP address ของเซิร์ฟเวอร์DNS โดยที่ DNS หรือ Domain Name Server เป็นการ
ระบุถึง IP address ของเครื่อง DNS โดยที่มีหน้าที map จาก URL ไปเป็น IP address เพื่อให้เครื่องใน
เน็ตเวิร์คสามารถสื่อสารกันได้ เช่น www.google.com ไปเป็น IP address เป็นต้น
• Physical address (MAC) เป็นหมายเลขของอินเตอร์เฟซที่ใช้สื่อสาร
หากมองย้อนกับขึ้นไปด้านบนของรูปที่ 4.1 ผู้อ่านจะพบส่วนที่เรียกว่า IP settings โดยที่ส่วนนี้ เป็นการระบุ
ที่มาของ IP address โดยมีการกำหนดแบบ Automatic (DHCP) ถือเป็นส่วนสำคัญทำหน้าที่แจกจ่าย IP address
ที่เชื่อมต่อกับเน็ตเวิร์ค นอกเหนือจากการได้แอดเดรสมาแบบ Automatic (DHCP) เราสามารถที่จะแก้ไขเป็นแบบ
23

