- Test TCP/IP Protocol Stack For Windows:
C:\>ping 127.0.0.1 (For IPV4)
C:\>ping ::1 (For IPV6)
For Linux
#ping 127.0.0.1
#ping ::1
- check the Mac Address
C:\> ipconfig /all
physical address:
24bit 24bit
OUI Device ID
6Hex 6Hex
- check the IPAddress Details
C:\> ipconfig /all
#ifconfig
Output:
IPv4 Address. . . . . . . . . . . : 172.16.0.44(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.16.0.1
DHCP Server . . . . . . . . . . . : 172.16.0.1
- Test the internet connectivity
C:\> ping 8.8.8.8
C:\> ping 1.1.1.1
- Check the DNS
C:\> ping google.com.np
(If address is translated => ok) 6. Trace Path/ Route
# traceroute google.com.np
# tracepath google.com.np
- Identify the name server This is forward lookup as we go from domain to IP
C:\> nslookup google.com.np
IP Details:
Name: google.com.np
Addresses: 2404:6800:4007:820::2003
142.250.193.131
Also you can try: nslookup facebook.com
Output:
Address: 8.8.8.8
Non-authoritative answer:
Name: facebook.com
Addresses: 2a03:2880:f12f:183:face:b00c:0:25de
31.13.79.35
Reverse Lookup Syntax:
nslookup <ipaddress>
Example:
nslookup 148.251.213.218
This is backward lookup as we go from IP to server
Identify the IP Details steps:
- Go to google search
- Enter whois then it will show you necessary details about the IP example:
Do google search of:- whois 103.96.32.1