> For the complete documentation index, see [llms.txt](https://ajmal-anwar.gitbook.io/zyberspace-by-ajmal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajmal-anwar.gitbook.io/zyberspace-by-ajmal/zyberlab/06-network-security-basics/ip-addressing-basics.md).

# IP Addressing Basics

This lab helps you identify the basic network information assigned to each ZyberLab system.

## Objective

Review the IP address, subnet mask or prefix, default gateway, and DNS configuration on `DC01`, `CLIENT01`, and `KALI01`.

## On Windows

Open Command Prompt on `DC01` and `CLIENT01` and run:

```
ipconfig /all
```

Locate these values:

* IPv4 Address
* Subnet Mask
* Default Gateway
* DNS Servers

## On Kali Linux

Open a terminal and run:

```
ip addr
```

Then run:

```
ip route
```

The first command shows interface addressing. The second shows the routing table and default gateway.

## Record the Lab Information

Create a small table in your notes.

| System   | IPv4 Address | Gateway      | DNS                         |
| -------- | ------------ | ------------ | --------------------------- |
| DC01     | Record value | Record value | Usually DC01 after AD setup |
| CLIENT01 | Record value | Record value | DC01 for domain DNS         |
| KALI01   | Record value | Record value | Record actual value         |

## Understand the Roles

The IPv4 address identifies the system on the network.

The subnet tells the system which addresses are considered local.

The default gateway is used when traffic needs to leave the local subnet.

DNS converts names into IP addresses.

## Verification

The lab is complete when you can identify the network configuration of all three systems and explain the purpose of each value.

## Security Relevance

IP information is one of the first pieces of context used during troubleshooting and investigation. It helps connect a hostname, endpoint, user activity, and network event to the correct system.
