0% found this document useful (0 votes)
13 views

IP addressing

An IP address is a unique identifier for devices on a network, facilitating data packet transmission. The document outlines various IP address classes and provides a comprehensive list of DOS/Windows IP commands, detailing their functions for network configuration and troubleshooting. Key commands include 'ipconfig' for network adapter information, 'ping' for checking server availability, and 'tracert' for tracking IP address paths.

Uploaded by

Mark Dipad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

IP addressing

An IP address is a unique identifier for devices on a network, facilitating data packet transmission. The document outlines various IP address classes and provides a comprehensive list of DOS/Windows IP commands, detailing their functions for network configuration and troubleshooting. Key commands include 'ipconfig' for network adapter information, 'ping' for checking server availability, and 'tracert' for tracking IP address paths.

Uploaded by

Mark Dipad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

IP addressing

An Internet Protocol (IP) address is a unique identifier that assists in the recognition of
different devices present over the network. Through IP addressing, we can send and
receive data packets across the internet

Each IP address belongs to a class of IP addresses depending on the number in the


first octet. These classes are:

Notice that the number 127 is not included. That’s because it is used in a special, self
reflecting number called a loopback address. Think of this as an address that says, “this
is my address.” Note that only the first three classes – A, B and C – are used by
network administrators. These are the commonly used classes. The other two, D and E,
are reserved.

IP Commands for DOS/Windows

What is the use of IP commands?

IP commands are tools that Linux network admins use to configure the network
environments in which they work. There are IP DOS commands for checking
connectivity

ipconfig /all

The ipconfig /all command shows all the information about your network adapter. It
helps configure your connection by providing important details about the physical
address, DHCP and DNS servers, the subnet mask, and default gateway, among other
things. You can also see your IPv4 address and IPv6 address with this command,
assuming you have both an IPv4 and IPv6 address.

ipconfig /displaydns

The ipconfig /displaydns command gets rid of your computer's DNS resolver cache.
The cache essentially keeps a record of your activity so that you can get to a site faster
the next time; it notes domain names and previously-visited IPs. The
/displaydns command shows the records name, record type, time to live, section, and
A records for the DNS resolver cache.
ipconfig /release

The ipconfig /release command shows network data, but it's especially helpful if you
need to reset or release IP address connections. When you allow the DHCP protocol, it
sends DHCP requests from that server, meaning that DHCP servers will no longer be
contacted for assigned IPs. The command stems from the network adapter's IP
address, so the request only enables use with the network adapter DHCP.

ipconfig /release6

The ipconfig /release6 command, like the /release command, resets or releases IPv6
connections.

ipconfig /renew

The ipconfig /renew command applies to all adapters within a system, as long as it's
DHCP. It renews both IPv4 and IPv6 addresses.

ipconfig /renew6

The ipconfig /renew6 command is a variation of the /renew command that renews
IPv6 addresses.

ipconfig /registerdns

The ipconfig /registerdns command creates or updates records within your DNS
registry. It manually registers the DHCP release if it doesn't happen on its own. The
command also helps with fixing DNS name issues in-computer.

ipconfig /setclassid

The ipconfig /setclassid command allows you to assign a class ID to a system


adapter. You can specify which class ID in the command, but this is the general
parameter to assign the ID. It also removes class IDs in certain cases.

ipconfig /setclassid6

The ipconfig /setclassid6 command works the same as the /setclassid command,
except it works just with IPv6 addresses and class IDs.

control netconnections

The control netconnections command opens the Microsoft Windows Network and
Dial-up Connections window, allowing users to access all their network connections with
one command.
netsetup.cpl

The netsetup.cpl command opens the Network Setup Wizard, which sets permissions
on folders, adds keys to registries, changes protocols, and adjusts other aspects of the
system to ensure that the device works on the network.

ping.whatismyip.com

The ping command is a command-line request that uses a signal to check with a host
server for availability and response time. It uses Internet Control Message Protocol
Echo messages to determine whether the network host is active or not and the amount
of packet loss on delivery.

tracert

The tracert command is another command-line utility that tracks the path an IP address
takes to its destination. It monitors the packet from local computer to destination IP or
domain, displaying the path to assess the time it took to arrive. The command is helpful
for troubleshooting connection issues.

netstat

The netstat command is a networking tool that watches and assesses TCP/IP protocol
sessions and connections over the network. It can show incoming and outgoing
connections, routing tables, usage statistics, and more, including the local and remote
IP addresses and ports. Like tracert, it helps troubleshoot connection problems or
configure a solution.

route

The route command lets you manually enter data into network routing tables, dividing
host routes and network routes via the destination's network address.
arp

The arp command displays ARP entries by hostname. It accepts hosts identified by
name or by number. The command also modifies and shows Internet-to-adapter
address translation tables.

hostname

The hostname command, quite simply, shows the name of the system you're currently
using. You can use the command to change the name of the host as well.

ipconfig /showclassid

The ipconfig /showclassid command displays all the DHCP class IDs allowed for a
certain adapter. It helps when setting a different class ID because it tells you the
parameters or limits for a certain adapter.

ipconfig /showclassid6

The ipconfig /showclassid6 command is the same as the /showclassid command,


just limited to IPv6 address data.

nslookup whatismyip.com

The nslookup command, or name server lookup command, gets information from
name servers in a DNS service. It analyzes any address entries that are in in your DNS
server's cache, then returns information like the current DNS server you're using, the
domain URL, and IP addresses - both IPv4 and IPv6.

ipconfig /flushdns

The ipconfig /flushdns command flushes the DNS cache, which is helpful to
troubleshoot DNS issues or remove incorrect domain information from the cache. It then
refreshes the memory during browsing or daily activity, which gives you an accurate
cache since the wrong information has been removed.

ipconfig /allcompartments

The ipconfig /allcompartments command displays the same data as


the ipconfig command, just without any parameters. If you have multiple
compartments, it shows the information for all of them.

ipconfig /?

The ipconfig /? command offers help to the user by showing all available commands
and the best way to use them

You might also like