Network Configuration
Understanding Networks
This article provides a basic understanding of network configuration, covering IP addressing, subnets, gateways, and network interface configuration.
Network Configuration
Understanding IP, subnet, and gateways
An IP address is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. A subnet is a logical subdivision of an IP network. Gateways act as a connection point between two different networks.
Do You Know: IP addresses are like street addresses for computers on the internet.
ip addr show
Configuring network interfaces
Network interfaces are the points at which a computer connects to a network. Configuring them usually involves setting the IP address, subnet mask, and default gateway.
Important Note: Incorrect network configuration can prevent your computer from connecting to the internet.
sudo ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up
Avoid This: Don't change network settings unless you know what you are doing.
Summary
- IP addresses identify devices on a network.
- Subnets divide networks into smaller segments.
- Gateways connect different networks.
- Proper configuration of network interfaces is essential for network connectivity.