Sunday, December 9, 2012

Linux - Setting up a DHCP Server (Video 1 of 4 for setting up Linux Router/Gateway)

Linux - Setting up a DHCP Server (Video 1 of 4 for setting up Linux Router/Gateway) Video Clips. Duration : 14.57 Mins.


Read: In this video, I show you how to setup a DHCP server on a linux machine. This is the start of having a computer, running linux, to be your router and gateway to the internet. This is the first video, and we just touch on getting the DHCP rolling. Thank you, Shane. Notes: If you use debian or anything debian based, I cannot help you yet. Do not ask for help on those distributions. I will have something for you soon. Text version: www.bromosapien.net Prerequisits: -A PC -Two Network cards (One can be built in, and the other can be PCI or PCIe) -A linux operating system You can follow along completely if you use these distributions: --Fedora --CentOS 5/6 (6 with some file placement modification) NOTE: Edit the /etc/sysctl.conf file and find the line that says net.ipv4.ip_forward. Set it to 1. This will make it work! www.youtube.com Commands to note: vi -- It's an editor in linux. i for insert, o for a new line, shift+g to go to the end of the file, ESC for command mode. :wq saves your file (zz does too). nano -- Another editor in linux, much easier to use. pico --Alternative to nano if not available. services name restart --name being the name of the service yum install name ---name being the name of the package chkconfig -- Changes runlevels of services (Example of chkconfig: chkconfig --list dhcpd) Files/Folders to note: /etc/dhcpd.conf :: The DHCP configuration file Example file: dpaste.org /etc/sysconfig/network-scripts/ifcfg-ethx :: x = number of interface ...

No comments:

Post a Comment