ประวัติความเป็นมาของ TCP/TP
จุดเริ่มต้นของ
Internet มาจากกระทรวงกลาโหมในประเทศสหรัฐอเมริกา ได้พยายามที่จะเชื่อมโยงระบบคอมพิวเตอร์ทางทหารของแต่ละเหล่าทับ
ซึ่งมีระบบ Operating System ที่แตกต่างกันออกไป
ทำให้เกิดโครงการ Arpanet ที่พยายามสร้างมาตรฐานในการจัดส่งและรับข้อมูล
TCP/IP จึงได้เกิดขึ้น และมีการแพร่หลายมากขึ้นจนกระทั่งปัจจุบัน
TCP/IP เป็นชุดของโปรโตคอลที่ถูกใช้ในการสื่อสารผ่านเครือข่ายอินเทอร์เน็ต
โดยมีวัตถุประสงค์เพื่อให้สามารถใช้สื่อสารจากต้นทางข้ามเครือข่ายไปยังปลาย ทางได้
และสามารถหาเส้นทางที่จะส่งข้อมูลไปได้เองโดยอัตโนมัติ ถึงแม้ว่าในระหว่างทางอาจจะผ่านเครือข่ายที่มีปัญหา
โปรโตคอลก็ยังคงหาเส้นทางอื่นในการส่งผ่านข้อมูลไปให้ถึงปลายทางได้
TCP เป็นโปรโตคอลในระดับชั้นที่
4 เมื่อเทียบกับ OSI มีลักษณะการทำงานเป็น
Virtual Circuit คือจะมีการทำวงจรเสมือนขึ้นมาก่อนที่จะรับส่งข้อมูลกัน
นั่นคือ แต่ละโหนดต้องมีตารางของ address และ destination
route เพื่อให้รู้ว่าจะต่อกับใครจึงจะได้วงจรเสมือนตามต้องการ
เมื่อทำ connection setup เสร็จแล้วก็จะรับส่งข้อมูลกันโดยใช้เส้นทางนี้ตลอด
ดังนั้นจะไม่มีปัญหาเรื่องการเรียงลำดับของชุดข้อมูลผิดพลาด หรือ เกิดการซ้ำซ้อนของข้อมูล
การส่งผ่านข้อมูลบน TCP เป็น byte stream-oriented สำหรับหน้าที่ของ TCP นี้ก็คือ จัดการเรื่อง ตรวจสอบ
error , ทำ flow control , ทำการ multiplex
หรือ demultiplex application layer connection นอกจากนี้ก็ยังทำหน้าที่ควบคุมแลกเปลี่ยนสถานะและทำ Synchronization
ด้วย
หน้าที่ของ TCP
หน้าที่ของ TCP
Transmission Control Protocal (TCP) จะทำหน้าที่ในการแยกข้อมูลเป็นส่วน ๆ หรือที่เรียกว่า Package ส่งออกไป ส่วน TCP ปลายทาง ก็จะทำการรวบรวมข้อมูลแต่ละส่วนเข้าด้วยกัน
เพื่อนำไปประมวลผลต่อไป โดยระหว่างการรับส่งข้อมูลนั้นก็จะมีการตรวจสอบความถูกต้องของ
ข้อมูลด้วย ถ้าเกิดผิดพลาด TCP ปลายทางก็จะขอไปยัง TCP
ต้นทางให้ส่งข้อมูลมาใหม่
หน้าที่ของ IP
Internet Protocal (IP) จะทำหน้าที่ในการจัดส่งข้อมูลจากเครื่องต้นทางไปยังเครื่องปลายทางโดยอาศัย
IP Address สำหรับรายละเอียดเพิ่มเติม ของ IP Address
ที่มา http://www.ihostingthailand.com/index.php/information/15-tcpip
Lab exercise:
1) Note down the TCP/IP configuration of your machine:
To check the TCP/IP configuration, double click on the LAN icon on
your taskbar (two small monitors on the right hand side of your taskbar that
look like). Next, click on the Support tab of the window.
a.Note down the IP address configured on
your machine
-
IP Assress: 192.168.1.2
b.What
is the subnet mask?
- Subnet Mask: 255.255.255.0
c.Is the address manually configured, or assigned automatically
through a server (Hint : the name of the server that automatically
configures IP address is called a"dynamic host configuration
protocol"P[DHCP]server)
d. What is the IP address of the default gateway? Is the gateway used for
communication in the same network, or in communications with other networks?
- ให้ที่อยู่IP ของอุปกรณ์และเราเตอร์ในกลุ่มเครือข่ายเดียวกัน ตามที่ตั้งค่าเริ่มต้นโดยทั่วไป
เกตเวย์เริ่มต้นเป็นที่อยู่ IP ของเรา เตอร์เพื่อให้ใส่ที่อยู่ IP ในเบราว์เซอร์เพื่อให้บรรลุ
การเยี่ยมชมอุปกรณ์ LAN
2) Open a DOS command prompt (start > run > cmd), and use the tracert command on your machine to trace the route of a packet from your machine to the machine www.google.com.
a. What is the IP address of the first hop router?
- 118.174.24.59
c.Is the address manually configured, or assigned automatically
through a server (Hint : the name of the server that automatically
configures IP address is called a"dynamic host configuration
protocol"P[DHCP]server)
- Default Gateway: 192.168.1.1
d. What is the IP address of the default gateway? Is the gateway used for
communication in the same network, or in communications with other networks?
- ให้ที่อยู่IP ของอุปกรณ์และเราเตอร์ในกลุ่มเครือข่ายเดียวกัน ตามที่ตั้งค่าเริ่มต้นโดยทั่วไป
เกตเวย์เริ่มต้นเป็นที่อยู่ IP ของเรา เตอร์เพื่อให้ใส่ที่อยู่ IP ในเบราว์เซอร์เพื่อให้บรรลุ
การเยี่ยมชมอุปกรณ์ LAN
2) Open a DOS command prompt (start > run > cmd), and use the tracert command on your machine to trace the route of a packet from your machine to the machine www.google.com.
a. What is the IP address of the first hop router?
- 118.174.24.59


