Dhcp сервер linux gui

Dynamic Host Configuration Protocol (DHCP)

The Dynamic Host Configuration Protocol (DHCP) is a network service that enables host computers to be automatically assigned settings from a server as opposed to manually configuring each network host. Computers configured to be DHCP clients have no control over the settings they receive from the DHCP server, and the configuration is transparent to the computer’s user.

note: this package was called dhcp3-server in versions prior to precise 12.04 LTS.

Installation

At a terminal prompt, enter the following command to install dhcpd:

sudo apt-get install isc-dhcp-server

You will probably need to change the default configuration by editing /etc/dhcp3/dhcpd.conf to suit your needs and particular configuration.

You also need to edit /etc/default/isc-dhcp-server to specify the interfaces dhcpd should listen to. By default it listens to eth0.

Also, you have to assign a static ip to the interface that you will use for dhcp. If you will use eth0 for providing addresses in the 192.168.1.x subnet then you should assign for instance ip 192.168.1.1 to the eth0 interface using NetworkManager. Without this step you will get an error from dhcpd when starting the service.

Configuration

The error message the installation ends with might be a little confusing, but the following steps will help you configure the service:

Most commonly, what you want to do is assign an IP address randomly. This can be done with settings as follows:

# Sample /etc/dhcpd.conf # (add your comments here) default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.254; option domain-name-servers 192.168.1.1, 192.168.1.2; option domain-name "mydomain.example"; subnet 192.168.1.0 netmask 255.255.255.0 range 192.168.1.10 192.168.1.100; range 192.168.1.150 192.168.1.200; >

This will result in the DHCP server giving a client an IP address from the range 192.168.1.10-192.168.1.100 or 192.168.1.150-192.168.1.200. It will lease an IP address for 600 seconds if the client doesn’t ask for a specific time frame. Otherwise the maximum (allowed) lease will be 7200 seconds. The server will also «advise» the client that it should use 255.255.255.0 as its subnet mask, 192.168.1.255 as its broadcast address, 192.168.1.254 as the router/gateway and 192.168.1.1 and 192.168.1.2 as its DNS servers.

Читайте также:  Linux calculate установка через терминал

If you need to specify a WINS server for your Windows clients, you will need to include the netbios-name-servers option, e.g.

option netbios-name-servers 192.168.1.1;

Start and stop service

sudo service isc-dhcp-server restart sudo service isc-dhcp-server start sudo service isc-dhcp-server stop

dhcp3-server and multiple interfaces

Источник

Best web interface BIND, DHCP, NTP, WINS

Здравия! Братцы, строю ЦОД на фрилансе в данный момент с локалкой на плюс-минус 1500-2000 пользователей. Сам на 90% использую консольку и конфиги без web управлялок.

Требуется построить и передать всё местным айтишникам. Для начала нужно какие-то стабильные user-friendly управлялки для BIND, DHCP, NTP, WINS, чтобы они далее сами рулили и не дергали меня с документацией и обучением (максимально минимально 🙂

По Bind — создание зон, master-slave, forwarders, ACL и в целом основной набор функционала без углублений.

По DHСP — около 100 VLAN на разные подсети, вязать по MAC`у клиентов, Failover leases.

NTP, WINS — понятно, особо ничего интересного, смотреть клиентов например.

Возможно, есть какие-то управлялки, решающие эти и еще массу сервисных задач.

Поделитесь, пожалуйста, опытом геувых решений. Их полно. Тестить — к сожалению, реально некогда, так как сроки как и всегда «вчера». Возможно есть какие-то связки вэб морд. Поставил и забыл.

С уважением, заранее премного благодарен.

Сложно будет с этим, чем морда универсальнее, тем сложенее, тем дольше её ставить, изучать и отлаживать. Как ни странно вариант с консолью наверно оптимальный, т.к. базой знаний выступает гугл, и решением будет первое попавшееся со StackOverflow или похожих порталов + небольшая внутряняя база знаний.

Bind имеет смысл использовать только если делаешь внешний держатель зоны (это наверно лучший DNS сервер, соблюдающий все RFC), для внутренних нужд внутри сети за глаза будет DnsMasq.

В целом сильному технарю работы на пару часов, настроить всё с нуля, сужу по экзамеену RHCE, там 2.5 часа на настройку MySQL с рестором из бекапа, Apach с ACL, SSL и Virtual Host, iScsi, NFS + Kerberos, Samba и тд, всё с selinux, всё внутри инфрастуркутуры.

Сделай руками + накидай базу знаний, как по мне этого будет достаточно, опять же по моему опыту люди только с гуглом и консолью способны сделать больше чем со сложной Системой контроля, ибо хрен что нагуглишь и типа «должно работать»

Читайте также:  Make floppy image linux

Премного благодарен за ответ! Полностью согласен. Что консоль и гугль — наше всё.

Но тут момент, что эта контора всю жизнь использовала сторонний датацентр, где им просто давали адреса сервисов. Даже AD держали на стороне. Сейчас делают свой. Их текущие спецы путают ip адрес с клавиатурой. А задачи их это — учить печатать и переставлять Виндоус в любой непонятной ситуации. В этом заключается масштаб трагедии.

Bind идёт в качестве держателя зон (более 20 сейчас и более 200 в ближайшем будущем) с форвардами на локальный AD для пользователей офисов их локальных доменов.

Делать централизованную Вики — больше времени в три раза, чем поднять весь ЦОД )))

Возможно кто-то из ребят подскажет как решали подобные задачи.

По уму, так будущих специалистов, которые там трудиться будут и надо привлекать. И вместе всё это налаживать.

Но это наверное в другом мире, а так конечно консоль и поиск — лучший вариант. Скала на которой можно выстроить многое.

По твоему запросу на ум приходит Webmin и такая вешь как SME-server. Последний — дистрибутив на базе «CentOS», внутри все необходимые службы с ясно настраиваемыми интерфейсами, плюс несколько сотен дополнительных программ из популярных. Видел примеры как слабо подготовленные пользователи на таком нормально включались в работу

Источник

The Gui Dhcp Server Configuration Tool

Ubuntu now has a GUI configuration tool available, courtesy of the gdhcpd package. As it’s built with GTK+ libraries, it does not require many additional packages on the Xfce (or even the GNOME) desktop environments. I prefer to customize most services directly through their text configuration files. However, one value I find for GUI tools is how it helps newer administrators learn more about subject services.

Before running the tool, back up the current version of the configuration file. For example, the following command backs up that file in the current user’s home directory:

Now open the GDHCPD configuration tool with the following command that opens the interface shown in Figure 14-2.

The scope shown in Figure 14-2 is slightly different from what was configured in the preceding section. Note the additional information that can be configured in the Client Settings area. When I click the Reread button, the following stanza is added to the /etc/ dhcp3/dhcpd.conf configuration file:

subnet 192.168.0.0 netmask 2 55.255.255.0 < interface eth0;

range 192.168.0.100 192.168.0.110; default-lease-time 1200; max-lease-time 6400; option domain-name «example.org»; option subnet-mask 2 55.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option domain-name-servers 192.168.0.1;

Читайте также:  Linux mint убрать пароль при входе

As you can see from the graphical DHCP configuration tool, other options are available. The Single Hosts tab allows you to configure characteristics such as a fixed IP address. The Leases tab reviews the status of leased IP addresses in the aforementioned leases file, /var/lib/dhcp3/dhcpd.leases. The Verify tab allows you to run the shell commands.

Linux Dhcp Configuration

Figure 14-2. The Graphical DHCP configuration tool

  • The Configuration File — Ubuntu Server Administration
  • Use the Kickstart Configuration Tool
  • The Installation CD Rescue Mode
  • Choose a Mirror of the Ubuntu Archive
  • Mirror Configuration — Ubuntu Server Administration
  • Remote Access via XDMCP — Ubuntu Server Administration
  • Free Hosting for Your Website
  • Laptop Repair Made Easy
  • Vector Art, Images, and Graphics Download
  • Image Manipulation Programs
  • Advanced Registry Cleaner PC Diagnosis and Repair

Источник

Thread: DHCP server with Web Management UI

Niquest is offlineFirst Cup of Ubuntu

DHCP server with Web Management UI

I have a box running Ubuntu Server 12.04 and the isc-dhcp-server package. I need some sort of locally hosted web GUI interface to easily change settings, including adding/removing Static IP maps.

I would prefer nginx as the webserver for this if possible, but I have no problems with using a different one.
One caveat is that I need advanced control over the static maps, specifically, I need some of the static maps to use different gateways than the default one. This is easily supported by editing the dhcpd.conf file, but I haven’t been able to find a good webgui one that will do this.

I would, of course, prefer something with an ubuntu repository, but if I have to compile it myself, I’ll do it, as long as it has the features.

Can anyone offer suggestions on a package? My own search on this subject has come up dry. I dug up something called Sauron, but it doesn’t seem to have an ubuntu package. Any help would be much appreciated.

hfdragon is offlineA Carafe of Ubuntu

Join Date Oct 2005 Location Bordeaux, France Beans 93 —> Beans 93 Distro Ubuntu Studio 12.04 Precise Pangolin

Re: DHCP server with Web Management UI

I saw this thread because I’m looking for the exact same thing. did you find what you were looking for ?

ejmarten is offlineFirst Cup of Ubuntu

Источник

Оцените статью
Adblock
detector