HALP! Something is in my tubes! Part I by Jason Testart, IST.

Slides:



Advertisements
Similar presentations
TCP-IP Primer David Cozens. Targets Have a basic understanding of Ethernet network technology Be aware of how this technology is applied on the 5000 series.
Advertisements

IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Linux network troubleshooting If your network connection is not working..
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
Basic TCP/IP Networking
Installing and running FreeS/WAN. What is FreeS/WAN An implementation of IpSec for Linux –Can be found at Helps setup encrypted and/or.
Network Management And Debugging
Chapter 5 Network Layer CIS 81 Networking Fundamentals Rick Graziani Cabrillo College Last Updated: 3/9/2008.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
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:
CS 356 Systems Security Spring Dr. Indrajit Ray
Linux Networking Commands
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
TCP/IP Protocol Suite 1 Chapter 6 Upon completion you will be able to: Delivery, Forwarding, and Routing of IP Packets Understand the different types of.
Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
Networking Feb. 6, 2008 by Larry Finger. Networking Hardware Glossary RJ45 – Official name for 8-pin connector Cat 5, 5E or 6 - Cable suitable for “high”-speed.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Guide to MCSE , Second Edition, Enhanced1 Windows XP Network Overview Most versatile Windows operating system Supports local area network (LAN) connections.
Module 3: Configuring Basic TCP/IPv4 Settings. Overview of the TCP/IP Protocol Suite Overview of TCP/IP Addressing Name Resolution Dynamic IP Addressing.
Networking for server IT specialists Zdeněk Filipec Network Engineer.
OV Copyright © 2013 Logical Operations, Inc. All rights reserved. TCP/IP Services  Assign IP Addresses  Domain Naming Services  TCP/IP Commands.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
Cybersecurity Computer Science Innovations, LLC. Fingerprinting So, we have a file at the top level of a Web site. It is called robots.txt It specifies.
Network Troubleshooting
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e
Examining TCP/IP.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
1 IP: putting it all together Part 1 G53ACC Chris Greenhalgh.
MCTS Guide to Configuring Microsoft Windows Server 2008 Active Directory Chapter 8: Introduction to Windows Networking.
Networking Colin Alworth May 26, Quick Review IP address: four octets Broadcast addresses –IP addresses use all 1’s for the host bits, and whatever.
Delivery, Forwarding, and Routing of IP Packets
ITEC 370 George Vaughan Franklin University
1 Internet Tool Practice 한두균 송정환
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
1 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
Linux Setting up your network. Basic Approaches Configure during installation –Disadvantage -> not able to redo easily –Advantage-> holds your hand Configure.
IPv6 – The Future Of The Internet Redbrick Networking Conference 26 March 2003 Dave Wilson DW238-RIPE.
Routing, VLANs and Network Segmentation. Nick Rowlett Technology Director – Sparta Schools Cisco Certified Network Administrator Microsoft Certified System.
NetTech Solutions Common Connectivity Problems Lesson Eight.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
BNL PDN Enhancements. Perimeter Load Balancers Scaleable Performance Fault Tolerance Server Maintainability User Convenience Perimeter Security.
Linux Operations and Administration Chapter Eight Network Communications.
Telecommunications Essentials John R. Durrett July 5, 2005.
1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.
CSN09101 Networked Services Week 5 : Networking
CTC 228 – Computer Networks Fall 2015 Instructor: Robert Spengler.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Network Basics CS490 - Security in Computing Copyright © 2005 by Scott Orr and the Trustees of Indiana University.
CSC 116 Nov Administrative Required 2 nd exam will be next week on Wed  Nov 18th It will be short (10 questions) It will only cover chapters.
Fall 2011 Nassau Community College ITE153 – Operating Systems 1 Session 9 Networking & Operating Systems (part 2)
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
Computing: Computer Networking Fundamentals Ian Eyre Part 4 Data Transmission.
ITMT Windows 7 Configuration Chapter 5 – Connecting to a Network ITMT 1371 – Windows 7 Configuration 1.
UDP. User Datagram Protocol (UDP)  Unreliable and unordered datagram service  Adds multiplexing  No flow control  Endpoints identified by ports 
Ifconfig Kevin O'Brien Washtenaw Linux Users Group
Linux network troubleshooting
Implementing TCP/IP.
IPv6 Hands-on pre-GDB IPv6 workshop 7th of June 2016 edoardo
Introduction to Networking
Computer Networks 9/17/2018 Computer Networks.
Delivery, Forwarding, and Routing of IP Packets
Presentation transcript:

HALP! Something is in my tubes! Part I by Jason Testart, IST

Overview OSI Model Review of Ethernet, IP and common transport protocols A quick look at DHCP & DNS Scenarios we’ll cover: No DHCP No DNS Routing Problems Problem accessing a specific service on a specific server WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

OSI Model Application Presentation Session Transport Network Data Link Physical WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! 1000BASE-T Ethernet IP TCP SMTP SSL Layer 1 Layer 7

Our Focus Application Presentation Session Transport Network Data Link Physical WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! 1000BASE-T Ethernet IP TCP SMTP SSL Layer 2 Layer 3 Layer 4

Ethernet Layer 2 Shared Medium Addressing using a 48-bit “MAC” address MAC address represented using 6 groups of 2 hex digits delimited by a ‘:’ or a ‘-’ WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Internet Protocol Layer 3 Encapsulate data from a higher layer Routers are computers that span several layer 2 networks A router forwards packets from one network to another based on rules it has. It’s all about addressing. WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

One Layer-3 Network Four Layer-2 Networks (shown) WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! We don’t care about what’s in the cloud.

Layer 4 protocols UDP TCP ICMP (ping/traceroute) IGMP (multicast group management) ESP (IPSec VPN) WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

UDP Connectionless Order not guaranteed Unreliable Uses ports, like TCP DNS, NTP, DHCP WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

TCP Connection oriented Ordered Reliable Uses ports (0 to 65535) SMTP, HTTP, IMAP WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

DHCP A means of getting an IP address assigned edgement edgement On Windows, use “ipconfig /all | more” On Unix/Linux, use “ifconfig –a | more” X.Y means trouble WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Output of ifconfig (Linux) WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! ~]$ /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr 00:50:56:80:17:EB inet addr: Bcast: Mask: inet6 addr: fe80::250:56ff:fe80:17eb/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets: errors:0 dropped:0 overruns:0 frame:0 TX packets: errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes: (976.6 MiB) TX bytes: (2.2 GiB) Interrupt:177 Base address:0x1424

Extract of ipconfig output WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix. : uwaterloo.ca Description : Intel(R) Wireless WiFi Link 4965AGN Physical Address : 00-1F-3B-7B-31-A1 DHCP Enabled : Yes Autoconfiguration Enabled.... : Yes Link-local IPv6 Address..... : fe80::d173:7c70:199c:98f1%10(Preferred) IPv4 Address : (Preferred) Subnet Mask : Lease Obtained : November :25:24 PM Lease Expires : November :45:24 PM Default Gateway : DHCP Server : DNS Servers : NetBIOS over Tcpip : Enabled

What if DHCP doesn’t work? Check the cable. Is there a link light? VLAN setting OK in ONA? Linux firewall too secure? Call for help. WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

DNS Name lookup can fail, but network is OK Check your DNS resolver settings Look for stale host table entries Clear any DNS caching Check connectivity using IP addresses WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Handy IP addresses to memorize (nameserver) (nameserver) ( Your favourite off-campus site WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Resolver settings On *nix: /etc/resolv.conf On Windows: Run nslookup (or ipconfig) WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! C:\Users\jatestart>nslookup Server: UnKnown Address: Non-authoritative answer: Name: info.uwaterloo.ca Address: Aliases:

Hosts Table *nix: /etc/hosts Windows: hosts or lmhosts somewhere under System32 directory Vista: drivers\etc\hosts Keep only ‘localhost’ definitions in there, otherwise should be empty WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

DNS Caching Caching to improve performance Windows: “ipconfig /flushdns” *nix: Do you have “nscd” running? WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

What if DNS doesn’t work? Is the network OK? Can you ping “ ”? Can you ping your fav site? (they allow ping, right?) If network OK, complain that DNS is broken. WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

General Network Problems: Things to look for WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Gateway Need a gateway (router) to access the big bad Internet. Does the computer know it? If so, is it the correct one? Can you ping the gateway? Check all interfaces (wired & wireless) WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Routing tables WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! ~]$ netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface U eth U eth UG eth0 IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric On-link On-link On-link On-link On-link On-link On-link On-link On-link On-link ===========================================================================

Multiple default gateways? Disable all but one network adapter Wireless + wired can be problematic WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

No default gateway? Are you sure DHCP is working? Reboot. If problem persists, call for help. WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Can’t ping the gateway? Use “arp” command to see if you have communicated. WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! ~]$ /sbin/arp -an ? ( ) at 00:0D:ED:C0:1F:C2 [ether] on eth0 C:\Users\jatestart>arp -a Interface: xa Internet Address Physical Address Type d-2d-0a-37 dynamic e static e fc static

Client-Server Issues: Can’t access a specific service on a specific server? WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

What about that service? Does the service use UDP or TCP? What ‘port’ does the service use on the server? Is there a specific port used on the client? What’s the IP address of the server? WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

A word about ports WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! Privileged ports (1-1023) Most Operating systems won’t let just anyone bind to privileged ports Notice most “servers” are on privileged ports? Ephemeral ports (typically ) Ports that clients bind to when talking to servers Ephemeral port range varies from OS to OS and may be customized

What’s connected? Need to be privileged On Windows: netstat –bn On *nix: lsof -i -a -n WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

netstat on Windows WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! C:\Windows\system32>netstat -bn Active Connections TCP : :993 ESTABLISHED [thunderbird.exe] TCP : :22 ESTABLISHED [SshClient.exe]

lsof on Linux WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes! COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME ntpd 5250 ntp 16u IPv UDP *:ntp sshd 6337 root 3u IPv TCP *:ssh (LISTEN) sshd root 3r IPv TCP :ssh- > :49347 (ESTABLISHED) sshd jatestar 3u IPv TCP :ssh- > :49347 (ESTABLISHED)

Can you connect to the port? Use telnet to try connecting Example: telnet outcomes possible WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Connected You’re in! If there’s a problem, it’s likely something other than the network WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Connection Refused You can connect to the host, but it’s telling you the service is not there. Service is likely not running Could be “tcp-wrapped” or application access control Don’t blame the firewall! WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

Timeout Connection attempt is hanging, or timed out If you know your network is OK, and the server is OK, then something might be blocking you! Host-based firewall? IPSec Local Security Policy? Router ACL? Network firewall? WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!

THANK YOU Turning it over to Mike.... WatITis | Making the Future | December 2, 2008 | HALP! Something is my tubes!