Topic1 Introduction 01
Topic1 Introduction 01
Introduction
Network Devices:
End-Devices & Networking Devices
• There are two big classification of devices in the
Internet/network:
– End-Devices & Networking Devices.
• End devices:
– Devices that a person can use for communication
purposes.
– End-devices normally attached to a network.
• Networking devices:
– Equipments that form the network and help to mediate
and transfer data between end-devices.
Example of the Devices
• End-devices:
• Networking devices:
• A person using an end-device to communicate with another
person using another end-device via the network formed by
networking-devices.
– Servers and clients are end-devices.
Quick Quiz
• Which of the following are end devices (or
networking devices)?
– Workstations
– Web Server
– Wireless access point
– iPhone
– Wireless router
Addressing Scheme in Networks
• These are three sets of addresses that are very important to
networks and end-devices
– Network “location” address => IP Address
– Network “application” address => Port Number
– Network “hardware” address => Physical Address (MAC address)
• These addresses are used in operating-systems.
– They are used in Windows, Linux, Solaris, Unix, and Apple MacOS
computers
– They are also used in Apple iOS, Google Android and Windows
Phone mobile devices
IP address
• There are two versions of IP address in use today
– IPv4 (32 bits) and IPv6 (128 bits)
• Click on “obtain an IP
address automatically”.
ipconfig /all
• Give a more detailed status of the NICs that includes
– DNS server IP
– DHCP server IP
– Dynamic or static IP
– MAC addresses/Physical address.
– Lease of the DHCP service
2. DHCP Service
• Normally, users do not actively access the DHCP
service.
– DHCP is “transparent” to users.
ipconfig /release
• Release the IP address, netmask and default gateway back to DHCP
server.
– 0.0.0.0 = no source ip address, subnet mask
3. ping
• Function:
– Check connectivity of between a remote IP and your PC
• A successful ping means that the communication
between your PC and the remote IP is working.
• ping comes in the form of Windows command, or
GUI net tools.
• ping destination_ip or
• ping domain_name
– c:\>ping 192.168.1.1
– c:\>ping www.google.com.my
Explanation of ping result
• TTL = time-to-live
– The number of routers that the ping packet can pass before it is dropped
by the router.
– TTL = 51 means the ping packet still can travel 51 more routers.
– TTL = 51 also mean the ping packet have travel (64 – 51) = 13 routers.
Free IP Tools – Ping (Successful)
Comments on Ping
• One of best and yet simple testing tool.
– Use ping to test a remote IP first, before you access a
particular service of that remote IP, after you have set
up a network.
– ping 192.168.1.1 before you do http://192.168.1.1
• Trace route lists the IP addresses that your data will travel between
you and the destination IP.
• These IP addresses form a route between you and your destination IP.
• C:\>pathping 192.168.1.1
• pathping lists all the IP that it travels from source to destination
and then computes some statistics of the route.
Free IP Tools
5. nslookup
• nslookup communicates with a DNS so
that it can check the IP address of a valid
domain name.
• Must have a valid DNS IP in the source
IP configuration, otherwise this command
won’t work.
• C:>nslookup domain_name
(c:\>nslookup www.utar.edu.my)
Free IP Tools
6. hostname
• Displays the computer name shown in the network.
• Special hostname for 127.0.0.1 = localhost
7. getmac, getmac /v
• Displays MAC addresses for the local system and
network adapter name.
8. arp
ARP => Address Resolution Protocol
• “Linking” IP address to a MAC address in a lookup
table
• arp lookup table is stored in a cache and it is not
permanently stored.
• arp –a
– show all cache
• arp –d
– delete entries in cache
Port Scanning
• Test a remote IP to see whether it offers any service.