1 TCP/IP introduction ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem, Ph.D. Computer Engineering Department Kasetsart University, Bangkok, Thailand
2 Outline TCP/IP Overview IP Address Subnet Design
3 An Internet according to TCP/IP
4 OSI Model and TCP/IP 7Application 6Presentation 5Session 4Transport 3Network 2Data Link 1Physical Applications TCP/ UDP IP Physical Data Link (Network) (Transport) (Internet)
5 TCP/IP Layering Concept Transmission Network Interface Network Application Applications End-to-end Services Transport Routing Internet Physical Network
6 TCP/IP Encapsulation Applications TCP/ UDP IP Physical Data Link Message User Datagram (segment) Datagram Frame Bits
7 Data Flow Hello HHello Applications TCP/ UDP IP Physical Data Link HHelloH2TH H
8 UDP Datagram format
9 TCP segment format
10 IP Datagram
11 Ethernet Frame CRC 4 bytes
12 Internet
13 Data Flow over the Internet SourceDestinationRouter Application TCP/IP IP Data Link Physical Application TCP/IP IP Data Link Physical IP Data Link Physical IP Data Link Physical
14 IP Datagram
15 Internet Address
16 Internet Classes Classful Addressing
17 Internet Classes Class A Class C D E Class B
18 IP address in decimal notation
19 Class ranges of Internet Address
20 Class A example
21 Class C example
22 Network Address
23 Sample internet Network and Host addresses
24 A Network with Two Levels of Hierarchy
25 A Network with Three Levels of Hierarchy
26 Addresses with and without Subnetting
27 Masking
28 Default Mask Clas s In Binary In Dotted- Decimal Using Slash A /8 B /16 C /24
29 Subnet Design Given a network with 16 hosts in each subnetwork Find the following: The number of subnetworks Sub-network ID / Broadcast Address Sub-netmask First/Last address that can be used for each subnet
30 Subnet Design Last Byte(Host ID) Class C IP address 16 Hosts 2 4 =16 is not enough (subnetID and broadcast) 2 5 = 32 total of 30 hosts 5 bits for Host and 3 bits for subnet HostSubnet
31 Subnet Design Subnet Mask = = = = = = = = 224 SubnetHost Subnet ID
32 Subnet Design SubnetSubnet ID1 st AddLast AddBroadcast