You are on page 1of 16

Date: 06/12/2017 Roll No:02

Practical No 01

Aim: Use of PING and TRACERT / TRACEROUTE , IPCONFIG / IPCONFIG ROUTE and ARP Utilities.

Command:ipconfig

Output:

Windows IP Configuration

Wireless LAN adapter Local Area Connection* 2:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : Home


Link-local IPv6 Address . . . . . : fe80::e4d9:d53e:3397:1d87%10
IPv4 Address. . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter Ethernet 2:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::a9b4:e9b3:62d1:1deb%15
IPv4 Address. . . . . . . . . . . : 192.168.17.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet 7:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::18e2:7c72:cc49:f5eb%26
IPv4 Address. . . . . . . . . . . : 192.168.84.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Wireless LAN adapter Wi-Fi:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . : Home

Tunnel adapter Local Area Connection* 15:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :
Date: 06/12/2017 Roll No:02

Command: ipconfig /all

Output:
Windows IP Configuration

Host Name . . . . . . . . . . . . : YUSUF


Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : Home

Wireless LAN adapter Local Area Connection* 2:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : 4A-E2-44-90-AE-DF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : Home


Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
Physical Address. . . . . . . . . : B0-5A-DA-3A-69-87
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::e4d9:d53e:3397:1d87%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : January 3, 2018 09:14:07 PM
Lease Expires . . . . . . . . . . : January 4, 2018 09:14:03 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 61889242
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D6-91-8E-B0-5A-DA-3A-69-
87
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet 2:

Connection-specific DNS Suffix . :


Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::a9b4:e9b3:62d1:1deb%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.17.1(Preferred)
Date: 06/12/2017 Roll No:02

Subnet Mask . . . . . . . . . . . : 255.255.255.0


Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.17.254
DHCPv6 IAID . . . . . . . . . . . : 117461078
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D6-91-8E-B0-5A-DA-3A-69-
87
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet 7:

Connection-specific DNS Suffix . :


Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet8 #2
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::18e2:7c72:cc49:f5eb%26(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.84.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : January 3, 2018 09:13:58 PM
Lease Expires . . . . . . . . . . : January 3, 2018 09:58:59 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.84.254
DHCPv6 IAID . . . . . . . . . . . : 218124374
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D6-91-8E-B0-5A-DA-3A-69-
87
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Primary WINS Server . . . . . . . : 192.168.84.2
NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wi-Fi:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . : Home
Description . . . . . . . . . . . : Realtek RTL8723BE 802.11 bgn Wi-Fi
Adapter
Physical Address. . . . . . . . . : 48-E2-44-90-AE-DF
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 15:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Date: 06/12/2017 Roll No:02

Command: ipconfig /renew

Output:

Windows IP Configuration

No operation can be performed on Local Area Connection* 2 while it has its


media disconnected.
No operation can be performed on Wi-Fi while it has its media disconnected.

Wireless LAN adapter Local Area Connection* 2:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . : Home


Link-local IPv6 Address . . . . . : fe80::e4d9:d53e:3397:1d87%10
IPv4 Address. . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter Ethernet 2:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::a9b4:e9b3:62d1:1deb%15
IPv4 Address. . . . . . . . . . . : 192.168.17.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet 7:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::18e2:7c72:cc49:f5eb%26
IPv4 Address. . . . . . . . . . . : 192.168.84.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Wireless LAN adapter Wi-Fi:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . : Home

Tunnel adapter Local Area Connection* 15:


Date: 06/12/2017 Roll No:02

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :

Command: ipconfig /release

Output:

Windows IP Configuration

No operation can be performed on Local Area Connection* 2 while it has its


media disconnected.
No operation can be performed on Wi-Fi while it has its media disconnected.

Wireless LAN adapter Local Area Connection* 2:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::e4d9:d53e:3397:1d87%10
Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet 2:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::a9b4:e9b3:62d1:1deb%15
Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet 7:

Connection-specific DNS Suffix . :


Link-local IPv6 Address . . . . . : fe80::18e2:7c72:cc49:f5eb%26
Default Gateway . . . . . . . . . :

Wireless LAN adapter Wi-Fi:

Media State . . . . . . . . . . . : Media unoperational


Connection-specific DNS Suffix . : Home

Tunnel adapter Local Area Connection* 15:

Media State . . . . . . . . . . . : Media disconnected


Connection-specific DNS Suffix . :
Date: 06/12/2017 Roll No:02

Command: ping -help


Output:
Bad option -help.

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name

Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet (IPv4-only).
-i TTL Time To Live.
-v TOS Type Of Service (IPv4-only. This setting has been deprecated
and has no effect on the type of service field in the IP
Header).
-r count Record route for count hops (IPv4-only).
-s count Timestamp for count hops (IPv4-only).
-j host-list Loose source route along host-list (IPv4-only).
-k host-list Strict source route along host-list (IPv4-only).
-w timeout Timeout in milliseconds to wait for each reply.
-R Use routing header to test reverse route also (IPv6-only).
-S srcaddr Source address to use.
-4 Force using IPv4.
-6 Force using IPv6.

Command: ping 127.0.0.1


Output:
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Command: ping 192.168.52.125

Output:

Pinging 192.168.52.125 with 32 bytes of data:


PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
Date: 06/12/2017 Roll No:02

Ping statistics for 192.168.52.125:


Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Command: ping -t google.com

Output:

Pinging google.com [172.217.160.174] with 32 bytes of data:


Reply from 172.217.160.174: bytes=32 time=2ms TTL=57
Reply from 172.217.160.174: bytes=32 time=2ms TTL=57
Reply from 172.217.160.174: bytes=32 time=2ms TTL=57

Ping statistics for 172.217.160.174:


Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 2ms, Average = 2ms

Command: tracert 192.168.52.126

Output:

Tracing route to JHD126 [192.168.52.126]


over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms JHD126 [192.168.52.126]

Trace complete.

C:\Windows\system32>tracert 192.168.52.1

Tracing route to 192.168.52.1 over a maximum of 30 hops

1 * * * Request timed out.


2 <1 ms <1 ms <1 ms 192.168.52.1

Trace complete.

Command: tracert google.com

Output:

Tracing route to google.com [172.217.160.174]


over a maximum of 30 hops:

1 <1 ms<1 ms<1 ms TP-LINK.Home [192.168.1.1]


2 1 ms<1 ms<1 ms 26-192-119-111.mysipl.com [111.119.192.26]
3 * * 10 ms 225-192-119-111.mysipl.com [111.119.192.225]
4 2 ms 1 ms 1 ms 72.14.196.213
5 3 ms 2 ms 2 ms 108.170.248.177
6 3 ms 5 ms 3 ms 74.125.251.133
7 2 ms 15 ms 12 ms bom05s12-in-f14.1e100.net [172.217.160.174]
Date: 06/12/2017 Roll No:02

Trace complete.

Command: route

Output:

Manipulates network routing tables.

ROUTE [-f] [-p] [-4|-6] command [destination]


[MASK netmask] [gateway] [METRIC metric] [IF interface]

-f Clears the routing tables of all gateway entries. If this is


used in conjunction with one of the commands, the tables are
cleared prior to running the command.

-p When used with the ADD command, makes a route persistent across
boots of the system. By default, routes are not preserved
when the system is restarted. Ignored for all other commands,
which always affect the appropriate persistent routes. This
option is not supported in Windows 95.

-4 Force using IPv4.

-6 Force using IPv6.

command One of these:


PRINT Prints a route
ADD Adds a route
DELETE Deletes a route
CHANGE Modifies an existing route
destination Specifies the host.
MASK Specifies that the next parameter is the 'netmask' value.
netmask Specifies a subnet mask value for this route entry.
If not specified, it defaults to 255.255.255.255.
gateway Specifies gateway.
interface the interface number for the specified route.
METRIC specifies the metric, ie. cost for the destination.

All symbolic names used for destination are looked up in the network database
file NETWORKS. The symbolic names for gateway are looked up in the host name
database file HOSTS.

If the command is PRINT or DELETE. Destination or gateway can be a wildcard,


(wildcard is specified as a star '*'), or the gateway argument may be omitted.

If Dest contains a * or ?, it is treated as a shell pattern, and only


matching destination routes are printed. The '*' matches any string,
and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.

Pattern match is only allowed in PRINT command.


Diagnostic Notes:
Invalid MASK generates an error, that is when (DEST & MASK) != DEST.
Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1
Date: 06/12/2017 Roll No:02

The route addition failed: The specified mask parameter is


invalid. (Destination & Mask) != Destination.

Examples:

> route PRINT


> route PRINT -4
> route PRINT -6
> route PRINT 157* .... Only prints those matching 157*

> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2


destination^ ^mask ^gateway metric^ ^
Interface^
If IF is not given, it tries to find the best interface for a given
gateway.
> route ADD 3ffe::/32 3ffe::1

> route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2

CHANGE is used to modify gateway and/or metric only.

> route DELETE 157.0.0.0


> route DELETE 3ffe::/32

Command: route print

Output:

===========================================================================
Interface List
27...4a e2 44 90 ae df ......Microsoft Wi-Fi Direct Virtual Adapter
10...b0 5a da 3a 69 87 ......Realtek PCIe FE Family Controller
15...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
26...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 #2
11...48 e2 44 90 ae df ......Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
1...........................Software Loopback Interface 1
31...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
===========================================================================

IPv4 Route Table


===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.103 60
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
169.254.0.0 255.255.0.0 On-link 169.254.29.135 291
169.254.0.0 255.255.0.0 On-link 169.254.29.235 291
169.254.0.0 255.255.0.0 On-link 169.254.245.235 291
169.254.29.135 255.255.255.255 On-link 169.254.29.135 291
169.254.29.235 255.255.255.255 On-link 169.254.29.235 291
169.254.245.235 255.255.255.255 On-link 169.254.245.235 291
169.254.255.255 255.255.255.255 On-link 169.254.29.135 291
169.254.255.255 255.255.255.255 On-link 169.254.29.235 291
169.254.255.255 255.255.255.255 On-link 169.254.245.235 291
192.168.1.0 255.255.255.0 On-link 192.168.1.103 316
192.168.1.103 255.255.255.255 On-link 192.168.1.103 316
Date: 06/12/2017 Roll No:02

192.168.1.255 255.255.255.255 On-link 192.168.1.103 316


224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 169.254.29.135 291
224.0.0.0 240.0.0.0 On-link 192.168.1.103 316
224.0.0.0 240.0.0.0 On-link 169.254.29.235 291
224.0.0.0 240.0.0.0 On-link 169.254.245.235 291
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 169.254.29.135 291
255.255.255.255 255.255.255.255 On-link 192.168.1.103 316
255.255.255.255 255.255.255.255 On-link 169.254.29.235 291
255.255.255.255 255.255.255.255 On-link 169.254.245.235 291
===========================================================================
Persistent Routes:
None

IPv6 Route Table


===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 331 ::1/128 On-link
10 291 fe80::/64 On-link
11 316 fe80::/64 On-link
15 291 fe80::/64 On-link
26 291 fe80::/64 On-link
26 291 fe80::18e2:7c72:cc49:f5eb/128
On-link
11 316 fe80::7133:7697:599f:bf8a/128
On-link
15 291 fe80::a9b4:e9b3:62d1:1deb/128
On-link
10 291 fe80::e4d9:d53e:3397:1d87/128
On-link
1 331 ff00::/8 On-link
10 291 ff00::/8 On-link
11 316 ff00::/8 On-link
15 291 ff00::/8 On-link
26 291 ff00::/8 On-link
===========================================================================
Persistent Routes:
None

Command: route print 10.*

Output:

===========================================================================
Interface List
27...4a e2 44 90 ae df ......Microsoft Wi-Fi Direct Virtual Adapter
10...b0 5a da 3a 69 87 ......Realtek PCIe FE Family Controller
15...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
26...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 #2
11...48 e2 44 90 ae df ......Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
1...........................Software Loopback Interface 1
31...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
===========================================================================

IPv4 Route Table


===========================================================================
Active Routes:
None
Persistent Routes:
Date: 06/12/2017 Roll No:02

None

IPv6 Route Table


===========================================================================
Active Routes:
None
Persistent Routes:
None

Command: route -f print

Output:

OK!
===========================================================================
Interface List
27...4a e2 44 90 ae df ......Microsoft Wi-Fi Direct Virtual Adapter
10...b0 5a da 3a 69 87 ......Realtek PCIe FE Family Controller
15...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
26...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 #2
11...48 e2 44 90 ae df ......Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
1...........................Software Loopback Interface 1
31...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
===========================================================================

IPv4 Route Table


===========================================================================
Active Routes:
None
Persistent Routes:
None

IPv6 Route Table


===========================================================================
Active Routes:
None
Persistent Routes:
None

Command: arp

Output:

Displays and modifies the IP-to-Physical address translation tables used by


address resolution protocol (ARP).

ARP -s inet_addreth_addr [if_addr]


ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr] [-v]

-a Displays current ARP entries by interrogating the current


protocol data. If inet_addr is specified, the IP and Physical
addresses for only the specified computer are displayed. If
more than one network interface uses ARP, entries for each ARP
table are displayed.
Date: 06/12/2017 Roll No:02

-g Same as -a.
-v Displays current ARP entries in verbose mode. All invalid
entries and entries on the loop-back interface will be shown.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address inet_addr
with the Physical address eth_addr. The Physical address is
given as 6 hexadecimal bytes separated by hyphens. The entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be modified.
If not present, the first applicable interface will be used.
Example:
>arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
>arp -a .... Displays the arp table.

Command: arp -a

Output:

Interface: 169.254.29.135 --- 0xa


Internet Address Physical Address Type
192.168.1.1 60-e3-27-28-2e-5e dynamic
192.168.1.103 48-e2-44-90-ae-df dynamic
192.168.1.105 70-5a-0f-6e-07-80 dynamic
192.168.1.107 b4-7c-9c-76-19-f8 dynamic
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Interface: 192.168.1.103 --- 0xb


Internet Address Physical Address Type
169.254.29.135 b0-5a-da-3a-69-87 dynamic
192.168.1.1 60-e3-27-28-2e-5e dynamic
192.168.1.107 b4-7c-9c-76-19-f8 dynamic
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Interface: 169.254.29.235 --- 0xf


Internet Address Physical Address Type
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Interface: 169.254.245.235 --- 0x1a


Internet Address Physical Address Type
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
Date: 06/12/2017 Roll No:02

224.0.0.252 01-00-5e-00-00-fc static


239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Command: arp -g

Output:

Interface: 169.254.29.135 --- 0xa


Internet Address Physical Address Type
192.168.1.1 60-e3-27-28-2e-5e dynamic
192.168.1.103 48-e2-44-90-ae-df dynamic
192.168.1.105 70-5a-0f-6e-07-80 dynamic
192.168.1.107 b4-7c-9c-76-19-f8 dynamic
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Interface: 192.168.1.103 --- 0xb


Internet Address Physical Address Type
169.254.29.135 b0-5a-da-3a-69-87 dynamic
192.168.1.1 60-e3-27-28-2e-5e dynamic
192.168.1.107 b4-7c-9c-76-19-f8 dynamic
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Interface: 169.254.29.235 --- 0xf


Internet Address Physical Address Type
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Interface: 169.254.245.235 --- 0x1a


Internet Address Physical Address Type
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

Command: hostname

Output:

JHD125
Date: 06/12/2017 Roll No:02

Command: netstat
Output:
Active Connections

Proto Local Address Foreign Address State


TCP 127.0.0.1:49186 JHD125:49188 ESTABLISHED
TCP 127.0.0.1:49187 JHD125:49189 ESTABLISHED
TCP 127.0.0.1:49188 JHD125:49186 ESTABLISHED
TCP 127.0.0.1:49189 JHD125:49187 ESTABLISHED
TCP 127.0.0.1:49190 JHD125:49191 ESTABLISHED
TCP 127.0.0.1:49191 JHD125:49190 ESTABLISHED
TCP 127.0.0.1:49194 JHD125:49195 ESTABLISHED
TCP 127.0.0.1:49195 JHD125:49194 ESTABLISHED
TCP 192.168.52.125:49152 WINDOWS-DDRRPEN:3260 ESTABLISHED
TCP 192.168.52.125:49192 WINDOWS-DDRRPEN:microsoft-ds ESTABLISHED

Command: netstat -a

Output:

Active Connections

Proto Local Address Foreign Address State


TCP 0.0.0.0:80 JHD125:0 LISTENING
TCP 0.0.0.0:135 JHD125:0 LISTENING
TCP 0.0.0.0:445 JHD125:0 LISTENING
TCP 0.0.0.0:2343 JHD125:0 LISTENING
TCP 0.0.0.0:3306 JHD125:0 LISTENING
TCP 127.0.0.1:49186 JHD125:49188 ESTABLISHED
TCP 127.0.0.1:49187 JHD125:49189 ESTABLISHED
TCP 169.254.123.146:139 JHD125:0 LISTENING
TCP 192.168.52.125:49152 WINDOWS-DDRRPEN:3260 ESTABLISHED
TCP 192.168.52.125:49192 WINDOWS-DDRRPEN:microsoft-ds ESTABLISHED
TCP [::]:80 JHD125:0 LISTENING
TCP [::]:135 JHD125:0 LISTENING
TCP [::]:445 JHD125:0 LISTENING
TCP [::]:49183 JHD125:0 LISTENING
TCP [::]:49203 JHD125:0 LISTENING
UDP 0.0.0.0:123 *:*
UDP 0.0.0.0:500 *:*
UDP 127.0.0.1:51695 *:*
UDP 169.254.123.146:137 *:*
UDP [::]:123 *:*
UDP [::]:500 *:*
UDP [fe80::6461:a93d:82a:5fa3%10]:1900 *:*

Command: netstat -r

Output:

===========================================================================
Interface List
27...4a e2 44 90 ae df ......Microsoft Wi-Fi Direct Virtual Adapter
10...b0 5a da 3a 69 87 ......Realtek PCIe FE Family Controller
15...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1
26...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 #2
11...48 e2 44 90 ae df ......Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
Date: 06/12/2017 Roll No:02

1...........................Software Loopback Interface 1


31...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter
===========================================================================

IPv4 Route Table


===========================================================================
Active Routes:
None
Persistent Routes:
None

IPv6 Route Table


===========================================================================
Active Routes:
None
Persistent Routes:
None

Command: netstat -p icmp


Output:

Active Connections

Proto Local Address Foreign Address State

Command: netstat -p tcp

Output:

Active Connections

Proto Local Address Foreign Address State


TCP 127.0.0.1:49186 JHD125:49188 ESTABLISHED
TCP 127.0.0.1:49187 JHD125:49189 ESTABLISHED
TCP 127.0.0.1:49188 JHD125:49186 ESTABLISHED
TCP 127.0.0.1:49189 JHD125:49187 ESTABLISHED
TCP 127.0.0.1:49190 JHD125:49191 ESTABLISHED
TCP 127.0.0.1:49191 JHD125:49190 ESTABLISHED
TCP 127.0.0.1:49194 JHD125:49195 ESTABLISHED
TCP 127.0.0.1:49195 JHD125:49194 ESTABLISHED
TCP 192.168.52.125:49152 WINDOWS-DDRRPEN:3260 ESTABLISHED
TCP 192.168.52.125:49192 WINDOWS-DDRRPEN:microsoft-ds ESTABLISHED

Command: netstat -p udp

Output:

Active Connections

Proto Local Address Foreign Address State


Date: 06/12/2017 Roll No:02

Command: netstat -a udp

Output:
Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-x] [-t] [interval]

-a Displays all connections and listening ports.


-b Displays the executable involved in creating each connection or
listening port. In some cases well-known executables host
multiple independent components, and in these cases the
sequence of components involved in creating the connection
or listening port is displayed. In this case the executable
name is in [] at the bottom, on top is the component it called,
and so forth until TCP/IP was reached. Note that this option
can be time-consuming and will fail unless you have sufficient
permissions.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-f Displays Fully Qualified Domain Names (FQDN) for foreign
addresses.
-n Displays addresses and port numbers in numerical form.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-q Displays all connections, listening ports, and bound
nonlistening TCP ports. Bound nonlistening ports may or may not
be associated with an active connection.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
-t Displays the current connection offload state.
-x Displays NetworkDirect connections, listeners, and shared
endpoints.
-y Displays the TCP connection template for all connections.
Cannot be combined with the other options.
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.

You might also like