You are on page 1of 6

Hands-on

● Virtual Machines
● Networking
● Linux
Virtual Machine
● Host OS (WIndows, Linux)
● VMware, VirtualBox, Hyper-V (Win 8/10)
● One host, multiple VMs
● Shared physical resources
VM Network Adapters
● Bridge
● NAT
PC Network
● MAC address: 90-2B-34-D4-50-0A
● IP address
○ IPv4 - 32 bits: 82.117.210.226
○ IPv6 - 128 bits: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
● Local IP addresses
○ 10.0.0.0 – 10.255.255.255
○ 172.16.0.0 – 172.31.255.255
○ 192.168.0.0 – 192.168.255.255
● Network masks and subnets
○ 255.255.255.0 -> /24
○ 172.16.2.15/24
○ 172.16.3.16/24
● Default Gateway
● Static IP address vs DHCP
● DNS - Domain Name Server
www.panonit.com -> 82.117.210.226
Command Prompt vs Terminal

● Windows - Command Prompt ● Linux- Terminal


○ ipconfig ○ ifconfig
○ ipconfig /all ○ route
○ nslookup ○ nano /etc/resolv.conf
○ ping ○ nslookup
○ tracert ○ ping
○ ssh ○ traceroute
○ ssh

● Run as administrator vs sudo


Terminal Commands

cd change directory

cd .. Back to parent directory

mkdir Make directory

chmod Change mode

chown Change owner

rm Remove

ls List current directory content

pwd Current directory path

man [command] Show [command] manual

You might also like