
Collection of snippets for basic network configuration and IP/CIDR ranges.
Connecting
Windows
Windows host network configuration.
1
2
3
4
5
6
7
8
9
10
11
12
13
1) Windows + R
2) ncpa.cpl // run
3) Right click Ethernet -> Properties
4) Select Internet Protocol Version 4 (TCP/IPv4) -> Properties
5) Enter IP and DNS server:
Use the following IP address: <...>
Use the follwing DNS server addresses: <...>
Kali VM
Then setup bridging instead of NAT in VMware configuration.
1
2
3
4
5
6
7
ipcalc xx.xx.xx.xx
ifconfig <iface> xx.xx.xx.xx
ifconfig <iface> xx.xx.xx.xx/24
ifconfig <iface> xx.xx.xx.xx netmask 255.xx.xx.xx
echo nameserver xx.xx.xx.xx > /etc/resolv.conf
IPv4 Address Ranges
Class | Range |
---|---|
Class A Private Address Range | 10.0.0.0 - 10.255.255.255 |
Class B Private Address Range | 172.16.0.0 - 172.31.255.255 |
Class C Private Address Range | 192.168.0.0 - 192.168.255.255 |
127.0.0.0 - 127.255.255.255 |