Presentation 48 – TCP/IP

49
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 48 Presentation 48 TCP/IP TCP/IP

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

Page 1: Presentation 48  –  TCP/IP

Copyright © 2007 Heathkit Company, Inc. All Rights Reserved

PC Fundamentals

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

Page 2: Presentation 48  –  TCP/IP

2

ObjectivesObjectives

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

Page 3: Presentation 48  –  TCP/IP

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.

Page 4: Presentation 48  –  TCP/IP

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.

Page 5: Presentation 48  –  TCP/IP

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.

Page 6: Presentation 48  –  TCP/IP

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.

Page 7: Presentation 48  –  TCP/IP

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.

Page 8: Presentation 48  –  TCP/IP

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.

Page 9: Presentation 48  –  TCP/IP

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.

Page 10: Presentation 48  –  TCP/IP

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).

Page 11: Presentation 48  –  TCP/IP

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.

Page 12: Presentation 48  –  TCP/IP

12

TCP/IPTCP/IP

Page 13: Presentation 48  –  TCP/IP

13

IP Address

IP Address

Subnet Mask

Subnet Mask

Page 14: Presentation 48  –  TCP/IP

14

DefaultGateway

DefaultGateway

Page 15: Presentation 48  –  TCP/IP

15

DNS ServersDNS Servers

Page 16: Presentation 48  –  TCP/IP

16

IP Address 32-bitsIP Address 32-bits

100000 0111 10 100011 1 0000011 11 100 0

Page 17: Presentation 48  –  TCP/IP

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

Page 18: Presentation 48  –  TCP/IP

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

Page 19: Presentation 48  –  TCP/IP

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

Page 20: Presentation 48  –  TCP/IP

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.

Page 21: Presentation 48  –  TCP/IP

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.

Page 22: Presentation 48  –  TCP/IP

22

Configuring TCP/IPConfiguring TCP/IP

ManuallyAutomatically

– DHCP– Autoconfiguration

Page 23: Presentation 48  –  TCP/IP

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)

Page 24: Presentation 48  –  TCP/IP

24

205 .208 .113 .5

Network IDOr

Network Address

Host IDOr

Node Address

Page 25: Presentation 48  –  TCP/IP

25

IP Address 32-bits

100000 0111 10 100011 1 0000011 11 100 0

Network ID Host ID

Page 26: Presentation 48  –  TCP/IP

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.

Page 27: Presentation 48  –  TCP/IP

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

Page 28: Presentation 48  –  TCP/IP

28

100000 0111 10 100011 1 0000011 11 100 0

010000 00111 11 1111111 1 1111111 11 111 1

Network ID Node ID

Page 29: Presentation 48  –  TCP/IP

29

Network ID Node ID

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

IP Address

SubnetMask

Page 30: Presentation 48  –  TCP/IP

30

Manually configuring TCP/IPManually configuring TCP/IP

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

Page 31: Presentation 48  –  TCP/IP

31

Page 32: Presentation 48  –  TCP/IP

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.

Page 33: Presentation 48  –  TCP/IP

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.

Page 34: Presentation 48  –  TCP/IP

34

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

DHCP serverWindows Auto-configure or Automatic

Private IP Addressing (APIPA)

Page 35: Presentation 48  –  TCP/IP

35

Page 36: Presentation 48  –  TCP/IP

36

DHCP Server automatically DHCP Server automatically provides:provides:

IP addressSubnet maskDefault gateway addressDNS addresses

Page 37: Presentation 48  –  TCP/IP

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).

Page 38: Presentation 48  –  TCP/IP

38

Recognizing Auto-configuration.Recognizing Auto-configuration.

IP address:

169.254.000.001 through 169.254.255.254Subnet mask:

255.255.000.000

Page 39: Presentation 48  –  TCP/IP

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.

Page 40: Presentation 48  –  TCP/IP

40

Page 41: Presentation 48  –  TCP/IP

41

Two TCP/IP ToolsTwo TCP/IP Tools

IPCONFIGPING

Page 42: Presentation 48  –  TCP/IP

42

IPCONFIGIPCONFIG

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

Page 43: Presentation 48  –  TCP/IP

43

Page 44: Presentation 48  –  TCP/IP

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.

Page 45: Presentation 48  –  TCP/IP

45

C:\>ping 204.146.80.99

PingCommand

IP Address

Page 46: Presentation 48  –  TCP/IP

46

ping 204.146.80.99

IP AddressIP Address BytesBytes TimeTime Time-to-Live

Time-to-Live

Page 47: Presentation 48  –  TCP/IP

47

C:\>ping www.ibm.com

PingCommand

URL orHost Name

Page 48: Presentation 48  –  TCP/IP

48

IP AddressIP Address

Page 49: Presentation 48  –  TCP/IP

Copyright © 2007 Heathkit Company, Inc. All Rights Reserved

PC Fundamentals

EndEnd