Your assignment must be uploaded / submitted before or on June 15, 2011
Assignment Statements:
Router and host are needed to view the physical address or MAC address of the machine. It is used address resolution protocol for mapping between protocol address and hardware addressing. In this assignment you will perform practically view the IP address, physical address and detail information of your machine through the ARP (Address resolution protocol) Commands.
Note: we should be required your Personal computer information. So it is strictly prohibited the copied assignment.
Follow these steps and instructions.
1. Open a Windows start menu then click Run. Start > Run. Type cmd and click OK. If you have window 7 or vista, just go to search option in start menu and enter cmd.The command prompt will be opened. See snapshot 1.
Assignment Statements:
Router and host are needed to view the physical address or MAC address of the machine. It is used address resolution protocol for mapping between protocol address and hardware addressing. In this assignment you will perform practically view the IP address, physical address and detail information of your machine through the ARP (Address resolution protocol) Commands.
Note: we should be required your Personal computer information. So it is strictly prohibited the copied assignment.
Follow these steps and instructions.
1. Open a Windows start menu then click Run. Start > Run. Type cmd and click OK. If you have window 7 or vista, just go to search option in start menu and enter cmd.The command prompt will be opened. See snapshot 1.
Solution:
arp Command
Purpose
Displays and modifies address resolution, including ATM (Asynchronous Transfer Mode) interfaces.
Syntax
To Display ARP Entries
arp { [ -t ifType ] HostName | -a [ n ] [ /dev/kmem ] }
To Display ARP ATM Entries
arp { -t atm HostName | -a [ n ] [ /dev/kmem ] [ pvc | svc ] }
To Delete an ARP Entry
arp [ -t ifType ] -d HostName
To Delete a PVC ARP ATM Entry
arp -t atm -d pvc vpi:vci if ifName
To Create an ARP Entry
arp [ -t ifType ] -s Type HostName AdapterAddress [ Route ] [ temp ] [ pub ]
To Create an SVC ARP ATM Entry
arp -t atm -s Type HostName AdapterAddress [ temp ]
To Create a PVC ARP ATM Entry
arp -t atm -s Type pvc vpi:vci { HostName | if ifName } [ no-llc ] [ no-arp ] [ temp ]
To Import ARP Entries from Another File
arp [ -t ifType ] -f FileName [ Type ]
Purpose
Displays and modifies address resolution, including ATM (Asynchronous Transfer Mode) interfaces.
Syntax
To Display ARP Entries
arp { [ -t ifType ] HostName | -a [ n ] [ /dev/kmem ] }
To Display ARP ATM Entries
arp { -t atm HostName | -a [ n ] [ /dev/kmem ] [ pvc | svc ] }
To Delete an ARP Entry
arp [ -t ifType ] -d HostName
To Delete a PVC ARP ATM Entry
arp -t atm -d pvc vpi:vci if ifName
To Create an ARP Entry
arp [ -t ifType ] -s Type HostName AdapterAddress [ Route ] [ temp ] [ pub ]
To Create an SVC ARP ATM Entry
arp -t atm -s Type HostName AdapterAddress [ temp ]
To Create a PVC ARP ATM Entry
arp -t atm -s Type pvc vpi:vci { HostName | if ifName } [ no-llc ] [ no-arp ] [ temp ]
To Import ARP Entries from Another File
arp [ -t ifType ] -f FileName [ Type ]
::::::::::::::::::::::::::::::::::
Syntax
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s option.
-n Displays addresses and port numbers in numerical form.
-p proto Shows connections for the protocol specified by proto; proto may be TCP or UDP. If used with the -s option to display per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to specify a subset of the default.
interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s option.
-n Displays addresses and port numbers in numerical form.
-p proto Shows connections for the protocol specified by proto; proto may be TCP or UDP. If used with the -s option to display per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP; the -p option may be used to specify a subset of the default.
interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.
::::::::::::::::::::::::::::::::::::::::::::::::::::
1-arp -a
2-arp -d
3-arp -d ip
4-arp -n
5-netstat
2-arp -d
3-arp -d ip
4-arp -n
5-netstat
0 comments
Post a Comment