Logo/
Hetanshi Shah

Shared by Hetanshi Shah

Log in

Make a lecture like this from your own PDF

Drop a PDF, slides or notes here. You'll sign up, then yours starts.

0:00 / 3:17

0:00 / 3:17Introduction to Server Networking
Linux Server Networking: From Hardware to Bonding
Hetanshi Shah

Shared by Hetanshi Shah

Summary

Linux network configuration begins with identifying hardware through Network Interface Cards (NICs). Modern systems use predictable naming conventions based on physical location, though administrators can override this to use traditional naming. Each card possesses a unique, hardware-level MAC address, but for network communication, systems require an IP address to locate a device.

An IP address works in tandem with a subnet mask, which identifies which portion of the address belongs to the network and which identifies the specific host. Networks are organized into classes to manage scale, ranging from large corporate networks to smaller home setups. Configuration is handled through system files where settings like BOOTPROTO determine if the IP assignment is static or dynamic, ensuring the connection initiates automatically at startup.

To communicate beyond the local network, a server requires a default gateway to reach outside traffic and DNS configuration to translate web addresses into usable numbers. Remote management is typically achieved through SSH, which allows for secure administration. Professionals often use SSH keys instead of passwords to facilitate secure, automated access to servers.

Full transcript

0:00Imagine you're setting up a Linux server from scratch. You've got the hardware, the operating system is installed, but it's isolated, just a box in a room. To make it a server, it needs to talk to the world. This is the story of how we bridge that gap, starting from the physical wire and ending with a robust, bonded network connection. Today, we're diving into the basics of Linux networking and walking through a professional server setup. Whether you're a beginner or looking for a refresher, this is how you turn a Standalone machine into a vital part of a network. Historically, Linux named interfaces simply eth zero, eth one, and so on, but as servers got more complex, these names became unpredictable.

0:43Today, the system might call your card ens thirty three or enp zero s three based on its physical location. If you want that classic eth zero naming back, you have to tell the Linux kernel directly by editing the grub configuration and disabling. Predictable naming. What's a common first step for admins who want consistent scripts across different hardware? Every NIC comes with a burned-in identity, the MAC address. It's a forty-eight bit hexadecimal string that identifies that specific piece of hardware globally. But for the internet to work, we need a logical address, the IP. In IPv4, this is a thirty-two bit number split into four octets.

1:25While the MAC address is like your social security number, the IP is like your Your current mailing address, it tells the network exactly where to deliver the data packets right now. IP addresses aren't handed out randomly, they're divided into classes. Class A handles massive networks with millions of hosts, Class B is for medium-sized organizations, and Class C, the one you likely use at home, is for smaller networks. The subnet mask is the secret key here, it tells the computer which part of the IP is the network name and which part is the specific host. Inside that network. In the world of enterprise Linux, configuration lives in files. To set a permanent IP, you edit a script, typically found in /etc/sysconfig/network-scripts.

2:12Here, you define things like BOOTPROTO to tell the system if the IP is static or dynamic, and ONBOOT to make sure the connection starts the moment the server breathes to life. One typo here can lock you out, so precision is everything. An IP address gets you on the network, but you still Need to find your way out. That's the job of the default gateway, the router that handles anything not on your local wire. And to turn human-friendly names like google dot com into numbers, we use DNS. In Linux, we point the system to DNS servers using the resolve dot conf file. Without these two pieces, your server is an island. Finally, we rarely sit in front of a server with a keyboard. We use SSH or secure shell. It's the industry standard for remote administration.

3:00Usually running on port twenty two. For security and automation, pros use SSH keys. By generating a public and private key pair, you can log into your servers instantly without ever typing a password, a foundational step for modern DevOps and cloud management.

Ask AI about this video

Answers cite the source. Free account, no credit card.