Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.

Similar presentations


Presentation on theme: "1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals."— Presentation transcript:

1 1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals Dhahran, Saudi Arabia

2 2 Topics Covered in this Session l What is TCP/IP? l TCP/IP Utilities l TCP/IP Protocol suite l TCP/IP Addressing, Sub netting l Domain Name System l IPv6

3 3 3 TCP/IP l Industry-Standard Suite of Protocols l Routable Enterprise Networking Protocol l Technology for connecting dissimilar systems l Robust, scalable, cross-platform client/server framework l Method of gaining access to the Internet

4 4 4 Sample TCP/IP Utilities l FTP, TFTP, RCP, Telnet l RSH, REXEC, LPR, LPQ, LPD l Ping, Ipconfig, nslookup, hostname, netstat l Nbtstat, route, tracert, arp, finger

5 5 5 TCP/IP Protocol Suite Application Transport Internetwork Network Interface FTP TCP IP (ICMP, IGMP, ARP) LAN (Ethernet, TR, FDDI) Telnet HTTP UDP WAN ( Serial, Frame Relay, ATM ) TCP/IP ModelTCP/IP Protocols NetBIOS

6 6 6 Network Interface Technologies l IP Over LAN Technologies »Ethernet, Token Ring, ARCnet, FDDI l IP Over WAN Technologies »Serial lines »Packet switched networks »Frame Relay »ATM

7 7 7 Address Resolution Protocol l Successful mapping of an IP address (logical) to a hardware address (physical). l Address resolution is the function of ARP l ARP uses a local broadcast to obtain a hardware address l Address mappings are stored in a cache for future reference

8 8 8 Internet Protocol l Addresses and Routes packets l Connectionless »No session is established l “Best effort” delivery l Fragments and reassembles packets

9 9 9 Transmission Control Protocol (TCP) l Connection oriented l Reliable delivery l Byte-stream communications l Uses port numbers as endpoints to communicate l Examples: FTP (21), Telnet (23), DNS (53)

10 10 User Datagram Protocol (UDP) l Connectionless l Does not guarantee delivery l Reliability is the responsibility of the application l Uses port numbers as endpoint to communicate l Examples: TFTP (63), SNMP (161), Domain (53)

11 11 IP Addressing l Each host is identified by a logical unique IP address. l Each IP address defines network ID and host ID. l Patch choice is based on location l Location is represented by an address 32 Bits Network ID Host ID

12 12 IP Address Classes l Class A »(1.0.0.0 to 126.0.0.0) »Number of hosts addresses: 16,777,214 l Class B »(128.1.0.0 to 191.254.0.0) »Number of hosts addresses: 65,534. l Class C »(192.0.1.0 to 223.255.254.0) »Number of hosts addresses: 254 l Class D: for multicast Class E: for research l N: Network ID assigned by NIC l H: Host number assigned by network administrator NHHHNNHHNNNH

13 13 Subnetting l With subnetting, you can divide your network into smaller networks by using some of the host ID bits (in the IP address) as part of Network ID. l It is achieved by the clever use of Subnet mask. l Routers are used to send traffic between two sub- nets. These devices are identified as Gateway address.

14 14 Exercise l Find out your machines IP address, subnet mask and default gateway address. l Solution: Run ipconfig /all

15 15 Domain Name System l Humans identify network resources with names while machines identify them with the number. l Domain Name System does the hostname to IP address resolution or vice versa. l DNS offers a distributed client/server database of forward mappings (hostname to IP addresses) and reverse mappings (IP address to host names) in a TCP/IP network like Internet.

16 16 How it works? l In DNS jargon, clients are identified as resolvers and servers as name servers. »Resolvers pass name requests between applications and name server »Name server takes requests and resolve computer (or domain name) to IP address. »If the name server is not able to resolve the request, it may forward the request to another name server that can resolve it. »Name servers are grouped into different levels that are called domains.

17 17 Domain Name Space Root level Domain Top level Domain.com.org.edu.sa.ae compaqmit.com.edu kfupm ccse www

18 18 Exercise l Find out the DNS server address of your machine. »Use ipconfig command l Find out IP address of www.ccse.kfupm.edu.sa. www.ccse.kfupm.edu.sa »Use ping www.ccse.kfupm.edu.sawww.ccse.kfupm.edu.sa »Use nslookup command.

19 19 Establishing Network Infrastructure Internet Perimeter Network Corporate Network Web Farm

20 20 Summary »TCP/IP Protocol »IP Addressing »Domain Name System »Network Infrastructure


Download ppt "1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals."

Similar presentations


Ads by Google