Presentation 48 – TCP/IP

Post on 07-Jan-2016

33 views 1 download

description

Presentation 48 – TCP/IP. Objectives. At the end of this presentation, you will be able to:. Recognize IP addresses and subnet masks. Explain the difference between the Network ID and the Host ID portions of an IP address. Explain the purpose of the subnet mask. - PowerPoint PPT Presentation

Transcript of Presentation 48 – TCP/IP

Copyright © 2007 Heathkit Company, Inc. All Rights Reserved

PC Fundamentals

Presentation 48 Presentation 48 –– TCP/IP TCP/IP

2

ObjectivesObjectives

At the end of this presentation, you will be able to:

3

Recognize IP addresses and subnet masks.

Explain the difference between the Network ID and the Host ID portions of an IP address.

Explain the purpose of the subnet mask.

Recognize Windows XP’s auto-configure IP parameters.

Discuss the purpose of the TCP/IP IPCONFIG and PING tools.

4

ProtocolProtocol

A signed document containing the record of the points on which agreement has been reached by negotiating parties.

The code of ceremonial forms and courtesies accepted as proper and correct in official dealings.

5

In Networking, Protocols are:In Networking, Protocols are:

Agreements that describe how things work. Industry-wide frameworks that describe

every aspect of communications between computers.

Grouped together into Protocol Suites.

6

In the PC world, the main In the PC world, the main Protocol Suites are: Protocol Suites are:

NetBEUI – Used in small Microsoft-based networks.

SPX/IPX – Used primarily in Novell-based networks.

TCP/IP – Must be used if the network is to connect to the Internet. But it is also widely used even in those networks that do not connect to the Internet.

7

TCP/IP is:TCP/IP is:

The Protocol of the Internet The number 1 protocol in the world for moving

data around A suite of over 100 protocols One of the protocols supported by both Windows

and Macintosh Operating Systems.The protocol of UNIX.

8

TCP/IP- A suite of protocolsTCP/IP- A suite of protocols

Internet Protocol (IP) - The protocol that determines the Internet’s basic packet structure and its addressing scheme.

Transmission Control Protocol (TCP) - The protocol that sets up a connection between two hosts and ensures that data is passed between them reliably.

9

TCP/IP- A suite of protocolsTCP/IP- A suite of protocols

File Transport Protocol (FTP) - Defines file transfers among computers on the Internet.

Simple Mail Transport Protocol (SMTP) - Describes the format of Internet email.

Hypertext Transfer Protocol (HTTP) - Defines how WWW data is transmitted between a server and a browser.

Network News Transport Protocol (NNTP) - Defines how Usenet newsgroups and postings are transmitted.

10

IP AddressIP Address

A logical rather than a physical address.How it is entered into your computer:

– Manually, by you or the network administrator.– Automatically, via the Dynamic Host

Configuration Protocol (DHCP).

11

Each computer on a network that Each computer on a network that uses the TCP/IP protocol must uses the TCP/IP protocol must have its own unique IP address.have its own unique IP address.

12

TCP/IPTCP/IP

13

IP Address

IP Address

Subnet Mask

Subnet Mask

14

DefaultGateway

DefaultGateway

15

DNS ServersDNS Servers

16

IP Address 32-bitsIP Address 32-bits

100000 0111 10 100011 1 0000011 11 100 0

17

IP Address 4-OctetsIP Address 4-Octets

1 1 1 1 10 0 0 1 1 0 0 00 1 0

0 1 0 0 11 1 0 00 0 1 10 0 0

100000 0111 10 100011 1 0000011 11 100 0

18

IP AddressIP AddressConvert each octet to decimalConvert each octet to decimal

1 1 1 1 10 0 0 11 0 0 00 1 0

0 1 0 0 11 1 0 00 0 1 10 0 0

205 208

113 5

19

IP Address IP Address Dotted-Decimal NotationDotted-Decimal Notation

10 00 0 0 0111 11 10 001 1 1 0000011 11 10 0 0

205 208 113 5

205 .208 .113 .5

20

Where does the IP address come Where does the IP address come from?from?

If you are not connected to the Internet, your network administrator can “make up” a range of IP addresses and assign you one.

If you are connected to the Internet, the IP address must be registered with the Internet Network Information Center (InterNIC).

Some IP address are designated Private. These can be used by more than one network, as long as they do not connect directly to the Internet.

21

Usually, you get your IP Usually, you get your IP addresses from your local addresses from your local Internet Service Provider.Internet Service Provider.

22

Configuring TCP/IPConfiguring TCP/IP

ManuallyAutomatically

– DHCP– Autoconfiguration

23

The IP Address is divided into The IP Address is divided into two parts:two parts:

Network ID(Assigned by

InterNIC)

Host ID(Assigned

locally)

24

205 .208 .113 .5

Network IDOr

Network Address

Host IDOr

Node Address

25

IP Address 32-bits

100000 0111 10 100011 1 0000011 11 100 0

Network ID Host ID

26

The Subnet MaskThe Subnet Mask

A 32-bit numberMakes the IP address more flexible.Indicates which part of the IP address is the

Network ID and which is the node ID.

27

The subnet mask.The subnet mask.

010000 00111 11 1111111 1 1111111 11 111 1

A string of 1s followed by a string of 0s.

1s indicate bits in Network ID0s indicate bits in Node ID

28

100000 0111 10 100011 1 0000011 11 100 0

010000 00111 11 1111111 1 1111111 11 111 1

Network ID Node ID

29

Network ID Node ID

205 . 208 . 113 . 5255 . 255 . 255 . 000

IP Address

SubnetMask

30

Manually configuring TCP/IPManually configuring TCP/IP

IP address of each nodeSubnet maskDefault gateway IP addressDNS server IP address

31

32

Default GatewayDefault Gateway

The gateway to the world outside your own network.

Usually a router.Routers interconnect networks.Networks outside your own are accessible

through the default gateway.

33

DNS ServerDNS Server

DNS stands for Domain Name Service. Allows you to use domain names like

www.nasa.gov or www.ford.com.Converts domain names into IP addresses.

34

Automatically configuring Automatically configuring TCP/IP.TCP/IP.

DHCP serverWindows Auto-configure or Automatic

Private IP Addressing (APIPA)

35

36

DHCP Server automatically DHCP Server automatically provides:provides:

IP addressSubnet maskDefault gateway addressDNS addresses

37

Windows Auto-configureWindows Auto-configure

Used when a DHCP server cannot be found.Windows supplies an IP address and a

subnet mask.Formally called Automatic Private IP

Addressing (APIPA).

38

Recognizing Auto-configuration.Recognizing Auto-configuration.

IP address:

169.254.000.001 through 169.254.255.254Subnet mask:

255.255.000.000

39

Automatic Private IP AddressingAutomatic Private IP Addressing(APIPA)(APIPA)

Allows computers in a small LAN to communicate without any other IP address configuration.

The Internet Assigned Numbers Authority (IANA) reserves 169.254.0.0 through 169.254.255.255 for this purpose.

40

41

Two TCP/IP ToolsTwo TCP/IP Tools

IPCONFIGPING

42

IPCONFIGIPCONFIG

Windows command-line utility.Displays the current TCP/IP configuration.

43

44

PingPing

A TCP/IP utility that is used to verify connectivity between two hosts.

It determines if a destination is reachable and if it is responding.

Sends an echo request message to a host.The host returns the message, verifying the

connection.

45

C:\>ping 204.146.80.99

PingCommand

IP Address

46

ping 204.146.80.99

IP AddressIP Address BytesBytes TimeTime Time-to-Live

Time-to-Live

47

C:\>ping www.ibm.com

PingCommand

URL orHost Name

48

IP AddressIP Address

Copyright © 2007 Heathkit Company, Inc. All Rights Reserved

PC Fundamentals

EndEnd