Skip to main content
Image result for packet tracer





Network Utilities-
 ifconfig, traceroute, netstat, ping, arp

 

1. ifconfig stands for “interface configuration”. It is used to view and change the configuration of the network interfaces on your system.
Options :
  • a : view the configuration of all network interfaces on the system. 
  • eth0 : view the configuration of a specific interface, specify its name
    as an option.
  • wlan0 down : disable an active network interface using
    the down keyword.

2. Traceroute attempts to trace the route an IP packet would follow to some Internet host by launching probe packets with a small ttl (time to live) then listening for an ICMP “time exceeded” reply from a gateway. It start its probes with a ttl of one and increases this by one until it gets an ICMP “port unreachable” (or TCP reset), which means we got to the “host”, or hit a max (which defaults to 30 hops).

Options :
  • 4 ,6 : Explicitly force IPv4 or IPv6 tracerouting.
  • F : Do not fragment probe packets.
  • T : Use TCP SYN for probes. 

3. netstat (network statistics) is a command line tool for monitoring network connections both incoming and outgoing as well as viewing routing tables, interface statistics etc

Options :
a : Listing all ports (both TCP and UDP)
l : Listing all active listening ports connections • s : Displays statistics by protocol

 4. Ping command is a Command Prompt command used to test the ability of the source computer to reach a specified destination computer. The ping command is usually used as a simple way to verify that a computer can communicate over the network with another computer or network device.
The ping command operates by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination computer and waiting for a response. How many of those responses are returned, and how long it takes for them to return, are the two major pieces of information that the ping command provides.
Options:
  • a : This ping command option will resolve, if possible, the hostname of an IP address target.
  • t : Using this option will ping the target until you force it to stop.
5. arp command allows you to display and modify the Address Resolution Protocol (ARP) cache. An ARP cache is a simple mapping of IP addresses to MAC addresses. Each time a computer’s TCP/IP stack uses ARP to determine the Media Access Control (MAC) address for an IP address, it records the mapping in the ARP cache so that future ARP lookups go faster.
Options:
  • a : Displays current ARP entries by interrogating the current protocol data.
  • d : Deletes the host specified by inet_addr.

 



Comments

Popular posts from this blog

Packet Tracer Simulation – TCP and UDP Communications Part 1: Generate Network Traffic in Simulation Mode Step 1: Generate traffic to populate Address Resolution Protocol (ARP) tables.  Click MultiServer and click the Desktop tab > Command Prompt.  Enter the ping 192.168.1.255 command. This will take a few seconds as every device on the network responds to MultiServer.  Close the MultiServer window. Step 2: Generate web (HTTP) traffic.  Switch to Simulation mode.  Click HTTP Client and click the Desktop tab > Web Browser.  In the URL field, enter 192.168.1.254 and click Go. Envelopes (PDUs) will appear in the simulation window.  Minimize, but do not close, the HTTP Client configuration window. Step 3: Generate FTP traffic.  Click FTP Client and click the Desktop tab > Command Prompt.  Enter the ftp 192.168.1.254 command. PDUs will appear in the simulation window.  Minim...

Configuration of Routing Information Protocol

Configuration of Routing Information Protocol Routing Information Protocol  ( RIP ) is a dynamic  routing protocol  which uses hop count as a  routing  metric to find the best path between the source and the destination network. It is a distance vector  routing protocol  which has AD value 120 and works on the application layer of OSI model.  RIP  uses port number 520. Features of RIP 1. Updates of the network are exchanged periodically. 2. Updates (routing information) are always broadcast. 3. Full routing tables are sent in updates. 4. Routers always trust on routing information received from neighbor routers. This is also known as  Routing on rumours . RIP versions :  There are three vesions of routing information protocol –  RIP Version1 ,  RIP Version2  and  RIPng . RIP v1  is known as  Classful  Routing Protocol because it doesn’t send information of subnet mask in...
Configuration of Static/Dynamic NAT in Cisco Router Static NAT (Network Address Translation) is one-to-one mapping of a private IP address to a public IP address. Static NAT (Network Address Translation) is useful when a network device inside a private network needs to be accessible from internet. In order to configure NAT we have to understand four basic terms; inside local, inside global, outside local and outside global. These terms define which address will be mapped with which address. Term : Description Inside Local IP Address : Before translation source IP address located inside the local network. Inside Global IP Address : After translation source IP address located outside the local network. Outside Global IP Address: Before translation destination IP address located outside the remote network. Outside Local IP Address : After translation destination IP address locat...