CEG 2400 FALL 2012 Chapter 9 In-Depth TCP/IP Networking 1.

Slides:



Advertisements
Similar presentations
Network+ Guide to Networks 6 th Edition Chapter 9 In-Depth TCP/IP Networking.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Network+ Guide to Networks 5th Edition
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Module 4: Configuring Network Connectivity
Resolving IP Connectivity Issues Lesson 2. Objectives 2.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
SYSTEM ADMINISTRATION Chapter 19
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Module 4: Configuring Network Connectivity
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Network+ Guide to Networks, Fourth Edition
Chapter 8 Administering TCP/IP.
Chapter 11: Networking with TCP/IP and the Internet Network+ Guide to Networks Third Edition.
Subnetting.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Chapter Overview TCP/IP Protocols IP Addressing.
Chapter 11: Networking with TCP/IP and the Internet.
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
Network+ Guide to Networks 6 th Edition Chapter 9 In-Depth TCP/IP Networking.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
CIS 1140 Network Fundamentals Chapter 10 – In Depth TCP/IP Networking Collected and Compiled By JD Willard MCSE, MCSA, Network+, Microsoft IT Academy Administrator.
CIS 1140 Network Fundamentals
Chapter Twelve Using TCP/IP on the Network. Objectives Here, we’ll examine how to configure TCP/IP. The concepts of subnetting will be examined in detail.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Network+ Guide to Networks 6 th Edition Chapter 9 In-Depth TCP/IP Networking.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Chapter 11 In-Depth TCP/IP Networking Network+ Guide to Networks, Fourth Edition.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Network+ Guide to Networks 5 th Edition Chapter 10 In-Depth TCP/IP Networking.
Guide to MCSE , Second Edition, Enhanced1 Windows XP Network Overview Most versatile Windows operating system Supports local area network (LAN) connections.
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Network+ Guide to Networks 6 th Edition Chapter 9 In-Depth TCP/IP Networking.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
ITS CSS Desktop Support Introduction to networking concepts Last updated: 9/30/2008 by pxahelp.
Networking with TCP/IP and the Internet. Objectives Discuss additional details of TCP/IP addressing and subprotocols Comprehend the purpose and procedure.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
MCTS Guide to Configuring Microsoft Windows Server 2008 Active Directory Chapter 8: Introduction to Windows Networking.
Connecting to a Network Lesson 5. Objectives Understand the OSI Reference Model and its relationship to Windows 7 networking Install and configure networking.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
TCP/IP (Transmission Control Protocol / Internet Protocol)
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Linux Operations and Administration Chapter Eight Network Communications.
1 Internet Protocols To support the Internet and all its services, many protocols are necessary Some of the protocols that we will look at: –Internet Protocol.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
CPMT 1449 Computer Networking Technology – Lesson 3
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Chapter 11 In-Depth TCP/IP Networking. Designing TCP/IP-Based Networks Review of some TCP/IP fundamentals: IP is a routable protocol On a network using.
ITMT Windows 7 Configuration Chapter 5 – Connecting to a Network ITMT 1371 – Windows 7 Configuration 1.
Network Layer IP Address.
Windows Vista Configuration MCTS : Advanced Networking.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 3 Networking with Windows Server 2008.
Click to edit Master subtitle style
CompTIA Server+ Certification (Exam SK0-004)
Chapter 9 Objectives Understand TCP/IP Protocol.
Network+ Guide to Networks 6th Edition
Network Addressing.
Presentation transcript:

CEG 2400 FALL 2012 Chapter 9 In-Depth TCP/IP Networking 1

Designing TCP/IP-Based Networks Review TCP/IP protocol suite use –Internet connectivity TCP/IP fundamentals –IP: routable protocol Interfaces requires unique IP address Node may use multiple IP addresses –Two IP versions: IPv4 and IPv6 –Networks may assign IP addresses dynamically or statically 2

IPv6 Users by Country 3

- Subnetting - Separates network into smaller units –Multiple logically defined segments (subnets) Reasons to subnet - Geographic locations, departmental boundaries, technology types Subnet traffic is separated from other subnet traffic Reasons to separate traffic –Enhance security –Improve performance –Simplify troubleshooting 4

Subnetting (cont’d.) From Last Class Classful addressing in IPv4 –First, simplest IPv4 addressing type –Adheres to network class distinctions –Recognizes Class A, B, C addresses Drawbacks –Fixed network ID size limits number of network hosts –Difficult to separate traffic from various parts of a network 5

Subnetting (cont’d.) 6 Network and host information in classful IPv4 addressing

Subnetting (cont’d.) Subnet Masks IPv4 subnet masks –Identifies how network is subdivided –Indicates where network information located –Subnet mask bits 1: corresponding IPv4 address bits contain network information 0: corresponding IPv4 address bits contain host information Network class –Associated with default subnet mask – , ,

Subnetting (cont’d.) 8 Default IPv4 subnet masks

Subnetting (cont’d.) ANDing - Used to calculate network id portion ANDing –Combining bits Bit value of 1 plus another bit value of 1 results in 1 Bit value of 0 plus any other bit results in 0 –Logic 1: “true” 0: “false” IP address + Subnet mask = Network ID 9

10 ANDing Example of calculating a host’s network ID

Subnetting (cont’d.) Special addresses –Cannot be assigned to node’s network interface or used as a subnet mask Examples of special addresses –Network ID 0 ( ) All zero’s –Broadcast address 255 ( ) All one’s 11

Subnetting (cont’d.) IPv4 subnetting techniques –Subnetting alters classful IPv4 addressing rules –IP address bits representing host information change to represent network information –Reduces usable host addresses per subnet –Number of hosts, subnets available after subnetting depend on host information bits borrowed 12

13 IPv4 Class C subnet masks

Subnetting (cont’d.) Calculating IPv4 Subnets –Formula: 2 n −2=Y n: number of subnet mask bits needed to switch from 0 to 1 (bits borrowed) Y: number of resulting subnets –Formula: 2 n −2=X n: number of host bits left X: number of resulting workstation addresses Example - Class C network Network ID: Want to divide into six subnets 14

15 Subnet information for six subnets in a sample IPv4 Class C network

Subnetting (cont’d.) Class A, Class B, and Class C networks –Can be subnetted Each class has different number of host information bits usable for subnet information Bits varies depending on network class and the way subnetting is used LAN subnetting –LAN’s devices (routers) interpret device subnetting information –External routers (don’t interpret) Need network portion of device IP address 16

CIDR (Classless Interdomain Routing) Called classless routing or supernetting Not exclusive of subnetting –Provides additional ways of arranging network and host information in an IP address –Conventional network class distinctions do not exist Supernet –Subnet created by moving subnet boundary left 17

18 Subnet mask and supernet mask

CIDR (cont’d.) Example: class C range of IPv4 addresses sharing network ID –Need to greatly increase number of default host addresses 19 Calculating a host’s network ID on a supernetted network

CIDR (cont’d.) CIDR notation (or slash notation) –Shorthand denoting subnet boundary position –Form ( /27, 3 bits taken) Network ID followed by forward slash ( / ) Followed by number of bits used for extended network prefix –CIDR block Forward slash, plus number of bits used for extended network prefix Example: / /22 20

Subnetting in IPv6 Each ISP can offer customers an entire IPv6 subnet Subnetting in IPv6 –Simpler than IPv4 –Classes not used –Subnet masks not used Subnet represented by leftmost 64 bits in an address Route prefix –Slash notation is used, used to group interfaces –Ex. 3434:FA10::/32 Special addresses can’t be used (ex. ::1) 21

22 Hierarchy of IPv6 routes and subnets Subnet prefix and interface ID in an IPv6 address

What is an Internet Gateway Combination of software and hardware Enables different network segments to exchange data Default gateway (default router) –Interprets outbound requests to other subnets –Interprets inbound requests from other subnets Network nodes – Allowed one default gateway Assigned manually or automatically (DHCP) 23

Internet Gateways (cont’d.) Gateway interface is usually on a router –Advantages One router can supply multiple gateways Gateway assigned own IP address Default gateway connections can –Connect multiple internal networks –Internal network with external network Internet –Usually router used as gateway Must maintain routing tables 24

25 The use of default gateways

Address Translation Public network –Any user may access with little or no restrictions Private network –Access is restricted Clients, machines with proper credentials –Hide IP addresses Provides more flexibility in assigning addresses 26

Address Translation (cont’d.) Reasons for using address translation –Overcome IPv4 address quantity limitations –Add marginal security to private network when connected to public network –Allows use of own network addressing scheme NAT (Network Address Translation) –Separates private, public transmissions on TCP/IP network –Gateway replaces client’s private IP address with Internet-recognized IP address 27

Address Translation (cont’d.) Gateway conducts network translation –Most networks use router Gateway might operate on network host –Windows operating systems ICS (Internet Connection Sharing) Kinds of NATs SNAT (Static Network Address Translation) –Client associated with one private IP address, one public IP address –Addresses never change 28

29 SNAT (Static Network Address Translation)

Address Translation (cont’d.) DNAT (Dynamic Network Address Translation) –Also called IP masquerading –Internet-valid IP address might be assigned to any client’s outgoing transmission PAT (Port Address Translation) –Each client session with server on Internet assigned separate TCP port number Client to server request datagram contains port number –Internet server responds with datagram’s destination address including same port number 30

31 PAT (Port Address Translation)

TCP/IP Mail Services Mail servers –Communicate with other mail servers –Deliver, send, receive, store messages Mail clients –Send and retrieve messages to/from mail server 32

SMTP (Simple Mail Transfer Protocol) Protocol responsible for moving messages from one mail server to another over TCP/IP-based networks Operates at Application layer using port 25 Provides the basis for Internet service Simple subprotocol which transports mail or holds it in a queue Client configuration identify user’s SMTP server, use DNS server name only Client workstation, server assume port 25 Ex. Thunderbird (not web based) 33

MIME (Multipurpose Internet Mail Extensions) SMTP drawback: 1000 ASCII character limit MIME –Encodes, interprets binary files, images, video, non- ASCII character sets within message –Identifies each mail message element according to content type Text, graphics, audio, video, multipart(more than one type) Does not replace SMTP but works with it Basically fools SMTP 34

POP (Post Office Protocol) POP3 (Post Office Protocol, version 3) –Relies on TCP; operates over port 110 –Store-and-forward type of service –Retrieve messages from mail server –Application layer protocol Advantages –Minimizes server resources Disadvantage –Mail deleted from server after retrieval 35

IMAP (Internet Message Access Protocol) More sophisticated alternative to POP3 IMAP4: current version Features –Users can retrieve all or portion of mail message –Users can review messages and delete them while messages remain on server –Users can create sophisticated methods of organizing messages on server 36

IMAP (cont’d.) Advantages –Replace POP3 without having to change programs – stays on server after retrieval Disadvantages –Requires more storage space, processing resources than POP servers –Network managers must watch user allocations closely –IMAP4 server failure Users cannot access mail 37

Additional TCP/IP Utilities TCP/IP transmission process –Many points of failure Points of failure increase with network size, distance Utilities –Can help track down most TCP/IP-related problems –Can help discover information about node, network Nearly all TCP/IP utilities –Accessible from command prompt –Syntax differs per operating system 38

Ipconfig Command-line utility providing network adapter information –IP address, subnet mask, default gateway Windows operating system tool –Command prompt window Type ipconfig and press Enter –Switches manage TCP/IP settings Ipconfig /? 39

Ifconfig Utility used on UNIX and Linux systems –Modify TCP/IP network interface settings –Release, renew DHCP-assigned addresses –Check TCP/IP setting status Used alone or with switches –Uses hyphen ( - ) before some switches –No preceding character for other switches 40

Netstat Displays TCP/IP statistics and host connections Used without switches –Displays active TCP/IP connections on machine Can be used with switches such as –a which displays all connections and listening ports 41

Hostname, Host, and Nslookup Hostname utility (Windows) –Provides client’s host name Host utility (Unix,Linux) –Learn IP address from host name –No switches: returns host IP address or host name Nslookup –Query DNS database from any network computer Find the device host name by specifying its IP address Find the device IP address by specifying its host name –Verify host configured correctly; troubleshoot DNS resolution problems 42

Dig Similar to nslookup (Unix, Linux) –Query DNS database –Find specific IP address for host name Useful for diagnosing DNS problems Dig utility provides more detailed information than nslookup 43

Traceroute (Tracert) Windows-based systems: tracert Linux systems: tracepath Traceroute –Trace path from one networked node to another –Identifying all intermediate hops between two nodes Transmits UDP datagrams to specified destination –Using either IP address or host name To identify destination 44

Mtr (my traceroute) Mtr (UNIX, Linux operating systems) –Route discovery, analysis utility Combines ping, traceroute functions Simplest form –mtr ip_address or mtr host_name Run continuously Stop with Ctrl+C or add limiting option to command Results misleading –If devices prevented from responding to ICMP traffic 45

Mtr (my traceroute) Windows operating systems –Pathping program as command-line utility –Similar switches to mtr –Pathping output differs slightly Displays path first Then issues hundreds of ICMP ECHO requests before revealing reply, packet loss statistics 46

Route Route utility –Shows host’s routing table UNIX or Linux system –Type route and press Enter Windows-based system –Type route print and press Enter 47

Route (cont’d.) Route command –Add, delete, modify routes Route command help –UNIX or Linux system Type man route –Windows system Type route ? 48

Summary Subnetting separates network into multiple segments or subnets Creating subnets involves changing IP address bits to represent network information CIDR is a newer variation on traditional subnetting Last four blocks (64 bits) represent interface in IPv6 Gateways facilitate communication between subnets Different types of address translation protocols exist Several utilities exist for TCP/IP network discovery, troubleshooting 49

Window Commands Ipconfig Route Print Pingpath tracert Netstat Hostname Nslookup 50

End of Chapter 9 Questions 51