Introduction to Networking

Slides:



Advertisements
Similar presentations
SYSTEM ADMINISTRATION Chapter 19
Advertisements

Linux network troubleshooting If your network connection is not working..
Operating Systems Concepts 1/e Ruth Watson Chapter 11 Chapter 11 Network Maintenance Ruth Watson.
Chapter 13: Troubleshooting network connectivity Unit objectives Identify TCP/IP troubleshooting tools Discuss the Telnet utility and its functions Discuss.
Module 4: Configuring Network Connectivity
Linux Networking TCP/IP stack kernel controls the TCP/IP protocol Ethernet adapter is hooked to the kernel in with the ipconfig command ifconfig sets the.
Chapter 8 Administering TCP/IP.
Chapter 8: Configuring Network Connectivity. Installing Network Adapters Network adapter cards connect a computer to a network. Installation –Plug and.
Hands-On Microsoft Windows Server 2003 Networking Chapter 5 Dynamic Host Configuration Protocol.
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:
Linux Networking Commands
DHCP Dynamic Host Configuration Protocol. What is DHCP?  It does name resolution (one more?!) DNS resolves IP numbers and FQDN WINS resolves NetBIOS.
DHCP Server © N. Ganesan, Ph.D.. Reference DHCP Server Issues or leases dynamic IP addresses to clients in a network The lease can be subject to various.
Basic Network Training. Cable/DSL Modem The modem is the first link in the chain It is usually provided by the ISP and often has a coax cable connector.
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 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.
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
11 NETWORK PROTOCOLS AND SERVICES Chapter 10. Chapter 10: Network Protocols and Services2 NETWORK PROTOCOLS AND SERVICES  Identify how computers on TCP/IP.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
HALP! Something is in my tubes! Part I by Jason Testart, IST.
ITS CSS Desktop Support Introduction to networking concepts Last updated: 9/30/2008 by pxahelp.
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
CTSP TRAINING Router 101 And Networking Basics. You Don’t Need Internet Access to Run or Connect your devices to an Ethernet switch or Router Enable DHCP.
Copyright © Lopamudra Roychoudhuri
Module 3: Designing IP Addressing. Module Overview Designing an IPv4 Addressing Scheme Designing DHCP Implementation Designing DHCP Configuration Options.
Connecting to a Network Lesson 5. Objectives Understand the OSI Reference Model and its relationship to Windows 7 networking Install and configure networking.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Module 3: Configuring a Client IP Address. Overview Configuring a Client to Use a Static IP Address Configuring a Client to Obtain an IP Address Automatically.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol.
Linux Operations and Administration Chapter Eight Network Communications.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
Fall 2011 Nassau Community College ITE153 – Operating Systems 1 Session 9 Networking & Operating Systems (part 2)
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
ITMT Windows 7 Configuration Chapter 5 – Connecting to a Network ITMT 1371 – Windows 7 Configuration 1.
Chapter 5e.  Upon completion of this chapter, you should be able to:  Find IP configuration settings on Windows & Linux  Troubleshoot IP configuration.
LINUX Network Concepts M.S.Dibay Moghaddam Second Linux Festival Amir Kabir University of Technology Computer & IT Department.
Ifconfig Kevin O'Brien Washtenaw Linux Users Group
Chapter TCP/IP in the Windows Environment © N. Ganesan, Ph.D., All rights reserved.
Victoria Manfredi September 13, 2016.
Dynamic Host Configuration Protocol
Instructor Materials Chapter 8: DHCP
MTA Network Fundamental Cram Sesion
Linux network troubleshooting
Click to edit Master subtitle style
Troubleshooting a Network
Troubleshooting ip Chapter 5e.
Network Configuration
CompTIA Network+ N Authorized Cert Guide
Lab #1 ,Ipconfig & ping commands
IPv6 Hands-on pre-GDB IPv6 workshop 7th of June 2016 edoardo
DHCP server & Client Objectives Contents
Windows Networking Configuration
תקשורת ומחשוב תרגול 9 CMD vs Networking.
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
Introduction to Computers
Troubleshooting IP Communications
Introduction to Computers
Introduction to Networking
Troubleshooting IP Addressing
Chapter 9 Objectives Understand TCP/IP Protocol.
Routing and Switching Essentials v6.0
By - Ricardo Sanchez, Ken Wolters and William Hibbard
Examining IP Addressing
Delivery, Forwarding, and Routing of IP Packets
Overview Multimedia: The Role of DHCP in the Network Infrastructure
Troubleshooting ip Chapter 5e.
Module 12 Network Configuration
See Next Slide Example 13 (continued)
Presentation transcript:

Introduction to Networking IP Configuration Troubleshooting

Network Connection Details When the network isn’t working we may need to collect data in order to troubleshoot the network and see what is happening and why it isn’t working In Windows, to do this we can click on the connection in the Network and Sharing Center, then click on details to get our information We can also use IPconfig from the command prompt

IPconfig IPconfig will give us our basic internet properties including IP address, subnet mask and default gateway. This is useful to diagnose basic problems, but we may need more info. In that case, we can use IPconfig /all

IPconfig /release and /renew IPconfig /release forces our NIC to give up its IP address. This can be useful if our IP address is misconfigured and we need to give up the old data in order to be assigned new IPconfig /renew forces the NIC to send out a request to the DHCP server for an IP address If we do /release and /renew when everything is working right, our IP address usually won’t change since the lease won’t be up yet, but when something is wrong we can be given a new proper IP address and information

Example of APIPA address If we have a computer set up to use DHCP, but it is having problems accessing the internet, or it is not connected to parts of its subnet, it may have been assigned an IP address from APIPA Signs APIPA gave us our IP address No default gateway Network address starting with 169.254 Subnet mask of 255.255.0.0

Setting Up Alternate Configuration To set up how our interface gets its IP address when the DHCP server is down, click on the connection in network and sharing center. Go to properties, then IPv4, properties, alternate configuration We can let it automatically assign an IP address or we can have a static IP assigned in the case of DHCP outage The benefit of a static alternate IP address is that we can assign a default gateway and DNS, allowing us access to the internet

IFconfig Linux version of IPconfig Need to be root to change, any user can view it To change the IP address and subnet mask for example, you would write ipconfig ens32 (NEW IP) netmask (NEW MASK)

ENS32 (or eth0) and LO ENS32 (Or eth0 if you’re using an older version of Linux) will be the wired or wireless interface LO will be the loop-back adapter to the local host. This will exist even if you don’t have an ethernet interface, since it is used by various services running on the system to send info to each other

Anatomy of IFconfig HWaddr - Hardware address, or Mac address Inet addr - Internet address, or IP address Bcast - Broadcast IP for our subnet Mask - Subnet mask for our subnet RX Packets - number of packets received TX Packets - number of packets sent

Recognizing Different States Static IP - DHCP Enabled - no, No DCHP server line DHCP configuration - DHCP Enabled - yes, IP address on DCHP server line Rogue DHCP - DHCP Enabled - yes, wrong DCHP IP address. Possibly multiple hosts with incorrect information with the same DHCP address APIPA - DHCP Enabled -yes, No DHCP server line, IP address between 169.254.0.1 and 169.254.254.254 and subnet mask of 255.255.255.0 Alternate configuration DHCP Enabled -yes, No DHCP server line, IP address other than APIPA

Netstat Netstat stands for network statistics Netstat without modifiers will show me a list of all active incoming and outgoing connections, the port they use, the IP address they are connected to and their status Netstat -a will also include any listening ports Netstat -es Netstat -r

Netstat -es Netstat -es gives the ethernet network statistics. This includes packets sent and received, packets discarded and errors caught and current connections

Netstat -r Netstat -r gives us the routing table for our computer A netmask (another name for subnet mask) of 0.0.0.0 will show us our default gateway, and a gateway of “On-Link” shows us what we are locally connected to

Nslookup and Dig Nslookup and dig both allow us to test our DNS server We can enter nslookup with no options to use our default DNS server, or we can use nslookup -[SERVER IP ADDRESS] to use a different server After entering nslookup we can enter website names to have the DNS server process. To quit, we type “exit” When we get an answer, it will specify authoritative if our server is authoritative for the website we lookup, and non-authoritative if the server needs to lookup the site from a root server Dig is available by default on Linux, but not Windows. It has similar uses

Dig