Thursday 13 April 2023

Networ{k|th} - Tutorials

 Network Commands


1. ipconfig /all  will return  bio-data of your n/w 


C:\Users\rmcme>ipconfig  /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : LaptopDELL
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : cable.rcn.com
Unknown adapter Local Area Connection:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-86-58-B1-15
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 1:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : 7C-67-A2-80-DA-69
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 2:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
   Physical Address. . . . . . . . . : 7E-67-A2-80-DA-68
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wi-Fi:
   Connection-specific DNS Suffix  . : cable.rcn.com
   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 3165
   Physical Address. . . . . . . . . : 7C-67-A2-80-DA-68
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::7a8a:c454:b45:988b%16(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.0.34(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Thursday, April 13, 2023 2:37:54 PM
   Lease Expires . . . . . . . . . . : Friday, April 14, 2023 2:37:53 PM
   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.1
   DHCPv6 IAID . . . . . . . . . . . : 159147938
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-28-A7-A0-21-7C-67-A2-80-DA-68
   DNS Servers . . . . . . . . . . . : 208.59.247.45
                                       208.59.247.46
   NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth Network Connection:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : 7C-67-A2-80-DA-6C
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
C:\Users\rmcme>


2.nslookup ipaddress


C:\Users\rmcme>nslookup ycrash.io

Server:  ns2.dns.rcn.net
Address:  208.59.247.45
Non-authoritative answer:
Name:    ycrash.io
Addresses:  52.8.222.182
          52.8.184.141

C:\Users\rmcme>nslookup 142.251.163.100

Server:  ns2.dns.rcn.net
Address:  208.59.247.45
Name:    wv-in-f100.1e100.net
Address:  142.251.163.100


 3. ping amazon.com

Pinging amazon.com [205.251.242.103] with 32 bytes of data:

Reply from 205.251.242.103: bytes=32 time=125ms TTL=236
Reply from 205.251.242.103: bytes=32 time=35ms TTL=236
Reply from 205.251.242.103: bytes=32 time=37ms TTL=236
Reply from 205.251.242.103: bytes=32 time=34ms TTL=236
Ping statistics for 205.251.242.103:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 34ms, Maximum = 125ms, Average = 57ms


4. tracert google.com


Tracing route to amazon.com [205.251.242.103]
over a maximum of 30 hops:

  1     8 ms    16 ms    21 ms  192.168.0.1
  2   171 ms    62 ms    46 ms  172.30.0.1
  3    38 ms    96 ms    48 ms  216.80.78.77
  4    12 ms    33 ms   215 ms  207.172.17.3
  5   133 ms    16 ms    33 ms  hge0-0-0-6.border1.eqnx.il.rcn.net [207.172.19.243]
  6    36 ms    37 ms    35 ms  99.83.94.240
  7     *        *        *     Request timed out.
  8     *        *        *     Request timed out.
  9     *        *        *     Request timed out.
 10    37 ms    33 ms    30 ms  150.222.212.43
 11     *        *        *     Request timed out.
 12     *        *        *     Request timed out.
 13     *        *        *     Request timed out.
 14     *        *        *     Request timed out.
 15     *......

5. netstat -a 

    
Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:135            LaptopDELL:0           LISTENING
  TCP    0.0.0.0:445            LaptopDELL:0           LISTENING
  TCP    0.0.0.0:3648           LaptopDELL:0           LISTENING
  TCP    0.0.0.0:5040           LaptopDELL:0           LISTENING
  TCP    0.0.0.0:6646           LaptopDELL:0           LISTENING
  TCP    0.0.0.0:7070           LaptopDELL:0           LISTENING
  TCP    0.0.0.0:7680           LaptopDELL:0           LISTENING
  TCP    0.0.0.0:7779           LaptopDELL:0           LISTENING
  TCP    0.0.0.0:49664          LaptopDELL:0           LISTENING
  TCP    0.0.0.0:49665          LaptopDELL:0           LISTENING
  TCP    0.0.0.0:49666          LaptopDELL:0           LISTENING
  TCP    0.0.0.0:49667          LaptopDELL:0           LISTENING
  TCP    0.0.0.0:49668          LaptopDELL:0           LISTENING
  TCP    0.0.0.0:49670          LaptopDELL:0           LISTENING
  TCP    127.0.0.1:27015        LaptopDELL:0           LISTENING
  TCP    127.0.0.1:50051        LaptopDELL:0           LISTENING
  TCP    127.0.0.1:55500        LaptopDELL:0           LISTENING
  TCP    192.168.0.34:139       LaptopDELL:0           LISTENING
  TCP    192.168.0.34:55453     relay-e24ffb83:https   ESTABLISHED
  TCP    192.168.0.34:55467     52.159.126.152:https   ESTABLISHED
  TCP    192.168.0.34:55518     20.25.241.18:https     ESTABLISHED
  TCP    192.168.0.34:55616     ec2-54-175-191-204:https  ESTABLISHED
  TCP    192.168.0.34:55635     52.96.170.82:https     ESTABLISHED
  TCP    192.168.0.34:55647     104.26.3.186:https     ESTABLISHED
  TCP    192.168.0.34:55846     52.96.79.226:https     ESTABLISHED
  TCP    192.168.0.34:55855     gb-in-f188:5228        ESTABLISHED
  TCP    192.168.0.34:55856     bg-in-f188:5228        ESTABLISHED
  TCP    192.168.0.34:56650     a23-7-28-47:https      ESTABLISHED
  TCP    192.168.0.34:56950     132.145.172.253:https  ESTABLISHED
  TCP    192.168.0.34:56985     a23-193-200-115:https  CLOSE_WAIT
  TCP    192.168.0.34:56986     a23-193-200-115:https  CLOSE_WAIT
  TCP    192.168.0.34:56987     a23-193-200-115:https  CLOSE_WAIT
  TCP    192.168.0.34:56988     a23-193-200-115:https  CLOSE_WAIT
  TCP    192.168.0.34:56989     a23-193-200-115:https  CLOSE_WAIT
  TCP    192.168.0.34:56990     a23-193-200-115:https  CLOSE_WAIT
  TCP    192.168.0.34:57038     bi-in-f191:https       ESTABLISHED
  TCP    192.168.0.34:57081     wv-in-f91:https        ESTABLISHED
  TCP    192.168.0.34:57134     lga34s30-in-f3:https   ESTABLISHED
  TCP    192.168.0.34:57205     bl-in-f156:https       TIME_WAIT
  TCP    192.168.0.34:57221     bl-in-f95:https        TIME_WAIT
  TCP    192.168.0.34:57243     ord37s43-in-f6:https   CLOSE_WAIT
  TCP    192.168.0.34:57251     bg-in-f138:https       ESTABLISHED
  TCP    192.168.0.34:57284     ord38s28-in-f6:https   TIME_WAIT
  TCP    192.168.0.34:57285     bj-in-f156:https       TIME_WAIT
  TCP    192.168.0.34:57286     ord38s30-in-f2:https   TIME_WAIT
  TCP    192.168.0.34:57291     ww-in-f99:https        TIME_WAIT
  TCP    192.168.0.34:57296     ec2-54-175-191-203:https  TIME_WAIT
  TCP    192.168.0.34:57302     e2a:https              TIME_WAIT
  TCP    192.168.0.34:57310     bh-in-f94:https        ESTABLISHED
  TCP    192.168.0.34:57311     ww-in-f102:https       ESTABLISHED
  TCP    192.168.0.34:57312     bl-in-f139:https       ESTABLISHED
  TCP    192.168.0.34:57315     kix06s05-in-f3:https   ESTABLISHED
  TCP    192.168.0.34:57321     wv-in-f113:https       ESTABLISHED
  TCP    192.168.0.34:57322     wv-in-f113:https       TIME_WAIT
  TCP    192.168.0.34:57332     wv-in-f119:https       ESTABLISHED
  TCP    192.168.0.34:57333     47:https               ESTABLISHED
  TCP    192.168.0.34:57337     ord38s33-in-f10:https  ESTABLISHED
  TCP    192.168.0.34:57338     bg-in-f95:https        ESTABLISHED
  TCP    192.168.0.34:57339     ec2-3-17-93-252:https  ESTABLISHED
  TCP    192.168.0.34:57341     bl-in-f102:https       ESTABLISHED
  TCP    192.168.0.34:57343     lga25s71-in-f3:https   ESTABLISHED
  TCP    192.168.0.34:57345     ec2-54-175-191-203:https  ESTABLISHED
  TCP    192.168.0.34:57347     13.68.233.9:https      ESTABLISHED
  TCP    [::]:135               LaptopDELL:0           LISTENING
  TCP    [::]:445               LaptopDELL:0           LISTENING
  TCP    [::]:3648              LaptopDELL:0           LISTENING
  TCP    [::]:7680              LaptopDELL:0           LISTENING
  TCP    [::]:7779              LaptopDELL:0           LISTENING
  TCP    [::]:49664             LaptopDELL:0           LISTENING
  TCP    [::]:49665             LaptopDELL:0           LISTENING
  TCP    [::]:49666             LaptopDELL:0           LISTENING
  TCP    [::]:49667             LaptopDELL:0           LISTENING
  TCP    [::]:49668             LaptopDELL:0           LISTENING
  TCP    [::]:49670             LaptopDELL:0           LISTENING
  TCP    [::1]:49669            LaptopDELL:0           LISTENING
  UDP    0.0.0.0:123            *:*
  UDP    0.0.0.0:500            *:*
  UDP    0.0.0.0:4500           *:*
  UDP    0.0.0.0:5050           *:*
  UDP    0.0.0.0:5353           *:*
  UDP    0.0.0.0:5353           *:*
  UDP    0.0.0.0:5353           *:*
  UDP    0.0.0.0:5353           *:*
  UDP    0.0.0.0:5353           *:*
  UDP    0.0.0.0:5355           *:*
  UDP    0.0.0.0:6646           *:*
  UDP    0.0.0.0:50001          *:*
  UDP    127.0.0.1:1900         *:*
  UDP    127.0.0.1:49664        *:*
  UDP    127.0.0.1:60146        *:*
  UDP    127.0.0.1:64458        *:*
  UDP    127.0.0.1:64459        *:*
  UDP    192.168.0.34:137       *:*
  UDP    192.168.0.34:138       *:*
  UDP    192.168.0.34:1900      *:*
  UDP    192.168.0.34:60145     *:*
  UDP    [::]:123               *:*
  UDP    [::]:500               *:*
  UDP    [::]:4500              *:*
  UDP    [::]:5353              *:*
  UDP    [::]:5353              *:*
  UDP    [::]:5353              *:*
  UDP    [::]:5355              *:*
  UDP    [::1]:1900             *:*
  UDP    [::1]:60144            *:*
  UDP    [fe80::7a8a:c454:b45:988b%16]:1900  *:*
  UDP    [fe80::7a8a:c454:b45:988b%16]:60143  *:*


6. arp -a


Interface: 192.168.0.34 --- 0x10
  Internet Address      Physical Address      Type
  192.168.0.1           0c-cb-85-f9-ad-ad     dynamic
  192.168.0.11          ec-b5-fa-0e-03-39     dynamic
  192.168.0.22          dc-9a-7d-21-b3-4b     dynamic
  192.168.0.255         ff-ff-ff-ff-ff-ff     static
  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.102.18        01-00-5e-7f-66-12     static
  239.255.255.250       01-00-5e-7f-ff-fa     static
  255.255.255.255       ff-ff-ff-ff-ff-ff     static



7. C:\Users\rmcme>route print

===========================================================================
Interface List
 11...00 ff 86 58 b1 15 ......TAP-Windows Adapter V9
 12...7c 67 a2 80 da 69 ......Microsoft Wi-Fi Direct Virtual Adapter
  7...7e 67 a2 80 da 68 ......Microsoft Wi-Fi Direct Virtual Adapter #2
 16...7c 67 a2 80 da 68 ......Intel(R) Dual Band Wireless-AC 3165
 14...7c 67 a2 80 da 6c ......Bluetooth Device (Personal Area Network)
  1...........................Software Loopback Interface 1
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.34     55
        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
      192.168.0.0    255.255.255.0         On-link      192.168.0.34    311
     192.168.0.34  255.255.255.255         On-link      192.168.0.34    311
    192.168.0.255  255.255.255.255         On-link      192.168.0.34    311
        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      192.168.0.34    311
  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      192.168.0.34    311
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    331 ::1/128                  On-link
 16    311 fe80::/64                On-link
 16    311 fe80::7a8a:c454:b45:988b/128
                                    On-link
  1    331 ff00::/8                 On-link
 16    311 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

C:\Users\rmcme>

8. C:\Users\rmcme>systeminfo


Host Name:                 LAPTOPDELL
OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.19044 N/A Build 19044
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          rmcmeera@gmail.com
Registered Organization:   N/A
Product ID:                00325-96142-21539-AAOEM
Original Install Date:     9/23/2021, 12:24:43 PM
System Boot Time:          4/2/2023, 1:29:43 PM
System Manufacturer:       Dell Inc.
System Model:              Inspiron 13-7378
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 142 Stepping 9 GenuineIntel ~2901 Mhz
BIOS Version:              Dell Inc. 1.27.0, 1/18/2019
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-06:00) Central Time (US & Canada)
Total Physical Memory:     12,158 MB
Available Physical Memory: 4,834 MB
Virtual Memory: Max Size:  20,862 MB
Virtual Memory: Available: 11,273 MB
Virtual Memory: In Use:    9,589 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\LAPTOPDELL
Hotfix(s):                 18 Hotfix(s) Installed.
                           [01]: KB5022502
                           [02]: KB4562830
                           [03]: KB5003791
                           [04]: KB5012170
                           [05]: KB5025221
                           [06]: KB5006753
                           [07]: KB5007273
                           [08]: KB5011352
                           [09]: KB5011651
                           [10]: KB5014032
                           [11]: KB5014671
                           [12]: KB5015895
                           [13]: KB5016705
                           [14]: KB5018506
                           [15]: KB5020372
                           [16]: KB5022924
                           [17]: KB5023794
                           [18]: KB5005699
Network Card(s):           3 NIC(s) Installed.
                           [01]: Intel(R) Dual Band Wireless-AC 3165
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.0.1
                                 IP address(es)
                                 [01]: 192.168.0.34
                                 [02]: fe80::7a8a:c454:b45:988b
                           [02]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [03]: TAP-Windows Adapter V9
                                 Connection Name: Local Area Connection
                                 Status:          Media disconnected
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: Yes
                           Data Execution Prevention Available: Yes

9. pathping 127.0.0.1


Tracing route to LaptopDELL [127.0.0.1]
over a maximum of 30 hops:
  0  LaptopDELL [127.0.0.1]
  1  LaptopDELL [127.0.0.1]

Computing statistics for 25 seconds...
            Source to Here   This Node/Link
Hop  RTT    Lost/Sent = Pct  Lost/Sent = Pct  Address
  0                                           LaptopDELL [127.0.0.1]
                                0/ 100 =  0%   |
  1    0ms     0/ 100 =  0%     0/ 100 =  0%  LaptopDELL [127.0.0.1]

Trace complete.


pathping ycrash.io


Tracing route to ycrash.io [52.8.222.182]
over a maximum of 30 hops:
  0  LaptopDELL.cable.rcn.com [192.168.0.34]
  1  192.168.0.1
  2  172.30.0.1
  3  216.80.78.77
  4  207.172.17.1
  5  207.172.17.79
  6  lag-107.ear4.Chicago2.Level3.net [4.26.123.5]
  7     *        *     ae2.3608.ear7.Chicago2.level3.net [4.69.142.178]
  8  52.95.217.36
  9  15.230.18.69
 10  52.95.62.31
 11     *        *        *

Computing statistics for 250 seconds...............

Source to Here   This Node/Link
Hop  RTT    Lost/Sent = Pct  Lost/Sent = Pct  Address
  0                                           LaptopDELL.cable.rcn.com [192.168.0.34]
                                3/ 100 =  3%   |
  1   92ms     4/ 100 =  4%     1/ 100 =  1%  192.168.0.1
                                0/ 100 =  0%   |
  2   11ms    99/ 100 = 99%    96/ 100 = 96%  172.30.0.1
                                0/ 100 =  0%   |
  3   56ms     7/ 100 =  7%     4/ 100 =  4%  216.80.78.77
                                0/ 100 =  0%   |
  4  ---     100/ 100 =100%    97/ 100 = 97%  207.172.17.1
                                0/ 100 =  0%   |
  5   95ms     5/ 100 =  5%     2/ 100 =  2%  207.172.17.79
                                0/ 100 =  0%   |
  6  129ms     3/ 100 =  3%     0/ 100 =  0%  lag-107.ear4.Chicago2.Level3.net [4.26.123.5]
                                1/ 100 =  1%   |
  7  126ms     4/ 100 =  4%     0/ 100 =  0%  ae2.3608.ear7.Chicago2.level3.net [4.69.142.178]
                               96/ 100 = 96%   |
  8  ---     100/ 100 =100%     0/ 100 =  0%  52.95.217.36
                                0/ 100 =  0%   |
  9  ---     100/ 100 =100%     0/ 100 =  0%  15.230.18.69
                                0/ 100 =  0%   |
 10  ---     100/ 100 =100%     0/ 100 =  0%  52.95.62.31

Trace complete.


10. C:\Users\rmcme>hostname

LaptopDELL


11. C:\Users\rmcme>getmac


Physical Address    Transport Name
=================== ==========================================================
7C-67-A2-80-DA-68   \Device\Tcpip_{AA418031-63C2-4732-8243-7417259E49D6}
7C-67-A2-80-DA-6C   Media disconnected
00-FF-86-58-B1-15   Media disconnected

C:\Users\rmcme>

No comments:

Post a Comment

Making Prompts for Profile Web Site

  Prompt: Can you create prompt to craft better draft in a given topic. Response: Sure! Could you please specify the topic for which you...