Linux Network Configuration

preview_player
Показать описание

Info

Level: Intermediate
Presenter: Eli the Computer Guy
Date Created: September 16, 2010
Length of Class: 51 Mintues
Tracks

Linux
Prerequisites

Introduction to Linux
Installing Linux
Basic Linux Tasks
VIM for File Editing
Navigation in Linux
Purpose of Class

This class teaches students how to configure their Linux servers networking.
Topics Covered

ifconfig Command
DHCP Releae and Renew
Restarting the Network Service
Editing the interfaces File to Setup a Static IP Address
Changing the Serves Hostname'
Ping for Troubleshooting
UFW Firewall Configuration
Class Notes

Basic Tasks
To Show Current IP Addresses and Network Configuration = sudo ifconfi
To Release and Renew IP Address = sudo dhclient
To Restart the Networking Service = sudo /etc/init.d/networking restart
Always Restart the Networking Service After Changing Network Configurations
Network Config file
To Edit the Network Adapter Configurations = sudo vim /etc/network/interfaces
auto eth0 = Auto Negotiate Speed for Ethernet Card 0
iface eth0 inet static /dhcp = Ethernet Card 0 Either Static or DHCP Address. If DHCP Don't Go Further.
address 192.168.1.100 = Static IP Address
netmask 255.255.255.0 = Subnet Mssk
network 192.168.1.0 = Network (Generally Your IP Address Siply with a 0 in the Last Octet))
broadcast 192.168.1.255 = Broadcast Address (The Last Address in Your Subnet. Generally Your IP Address with a 255 in the Last Octet.)
gateway 192.168.1.1 = Default Gateway. Generally Your ISP Modem or Router
To See Current Hostname = sudo /bin/hostname
To Change Hostname = sudo /bin/hostname newhostname
Ping
To Determine if You Can See an IP Address = ping IP Address
To Determine DNS is Working = ping domainname
UFW firewall
To Chaneg Default Handling of Ports When UFW is Enabled = sudo ufw default allow/deny
To Turn UFW on or Off = sudo ufw enable/disable
To Open or Close Ports for Everyone = sudo ufw allow/deny port#
To Delete a UFW Rule = sudo ufw delete allow/deny port#
To Allow Access to All Ports from a Specific IP Address = sudo ufw allow from IP Address
To Allow Access to a Specific Port from a Specific IP Address = sudo ufw allow from IP Address to any port port#
Final Thoughts
Drivers Should Work Out of the Box...
Wireless Networking is Its own Topic
Рекомендации по теме
Комментарии
Автор

I’ve just started going a little more deeply into Linux and the way you explain things is pure gold.

stonkodactyl
Автор

Till now, I was thinking that networking needs lot of knowledge (of course, it needs) but you made it so simple for the beginner. Now I can practice the stuff with a good understanding rather than copy-paste from web. Thanks to you Eli.

NishanthPudi
Автор

Is the audio and video out of sync for anyone else?

realjohnnyharrison
Автор

sir, you are a king of windows and linux....no one beat you on you explained all classes i'm really easily understand. thank you very much

satyavenkatesh
Автор

Eli, I just wanted to say, I have been viewing your videos for a few weeks and you are very informative. I am currently learning Linux to better myself in the computer industry and the way that you explain and teach is unrivaled so far. You take a very dry and bland text subject and turn it into an easy to learn atmosphere. You are doing a great job and hope you keep it up. Thank you again man!

kingsrookie
Автор

you are the best I.T teacher on the planet, thanks eli, you have made me what i am in the I.T field ....!

shafikctu
Автор

Great video! But even greater is how you added the commands as a reference in the comments. :D
Thanks!

Mackinzoid
Автор

Thank You Dude, I've been feeling like an idiot until I saw this and realized I just needed some motivation and to hear a voice say the stuff I was reading in a book.

combssm
Автор

You are just awesome, my friend. Never seen one like you in my 16 years in IT industry...

san
Автор

The summary which we see at the end, helps to remind whole video . Thanks a lot, good explanation!👍🏻

lookback
Автор

You are truly a gifted teacher, you were born to teach :D 

TechSeK
Автор

What an ABSOLUTE wonderful class I learned so much thanks to you for this great help/lesson

jamiew.lacroix
Автор

Thanks for your efforts here. I've always dived head first without learning the basics. Makes so much more sense now it's like turning a light on. Cheers

muzguz
Автор

Just to let you know that you can also put more than two DNS addresses in windows to. You just go to advanced settings of network adapter properties.
Also u rock

ljubomirivanis
Автор

@Badboysvsgoodboys you have to install vim... run: sudo apt-get install vim... and then use it...

elithecomputerguy
Автор

Great detailed tutorial on linux networking. I see a lot of comments about things needing to be done a certain way but there are multiple ways to do the same thing on Linux systems. Good job!

GeekTechTuts
Автор

I'm actually glad to see ads on this now. Gotta make that coin for such an awesome video!

ProbablyObvious
Автор

Fantastic tutorial!. One tip... if you want to save time; watch only the explanations over the the terminal. It is basically a carbon-copy of what Eli says on the whiteboard.

sergioropo
Автор

@Badboysvsgoodboys It will keep giving you the same IP unless the server decides to assign a different one. If you need a specific IP you need to edit the interfaces file.

elithecomputerguy
Автор

thanx for the way of teching whatever i am not able to understand in lectures i come and browse your video and it becomes as simple as a cup of

NashikarShan