This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Russian / Re: Zentyal: FAQs, HOWTOs (все что полезно знать)
« on: June 23, 2014, 09:09:41 am »
Для того, чтобы IP телефоны(avaya) из одного офиса коннектились к другим, одним из пунктов является настройка DHCP сервера. Нtбольшая особенность у Zentyal , это затирание шаблоном , любого изменения , которое вы сделали в конфигурационном файле dhcpd.conf. Дkя избежания этого идем в шаблон по след пути
/usr/share/zentyal/stubs/dhcp/dhcpd.conf.mas и его редактируем. Всего для моей настройки понадобилось дописать две строки
это
option option-242 code 242=string;
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
конечно вам необходимо подставить свои параметры и IP адреса.
Вот полный ДНСР шаблон.
<%doc>
This stub writes the DHCP server configuration file
Parameters:
ifaces - Hash
real_ifaces - Hash containing the interface name as key and an
array ref containing the virtual interface names as value
thinClientOption - Boolean indicating whether the thin client
options have been used or not
dnsone - String the default primary DNS server
dnstwo - String the default secondary DNS server
dynamicDNSEnabled - Boolean indicating whether the dynamic DNS feature is on or not
keysFile - String with the file path to shared secret keys to update DNS server
pidFile - String the path to the file which stores the daemon PID
</%doc>
<%args>
%ifaces
%real_ifaces
$thinClientOption => 0
$dnsone => ''
$dnstwo => ''
$dynamicDNSEnabled => 0
$keysFile => undef
$pidFile
</%args>
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "<% $pidFile %>";
option option-242 code 242=string;
% if ( $dynamicDNSEnabled ) {
ddns-update-style interim;
ddns-updates on;
update-static-leases on;
% } else {
ddns-update-style none;
% }
% if(length($dnsone) != 0) {
option domain-name-servers <% $dnsone %>\
% if(length($dnstwo) != 0) {
, <% $dnstwo %>;
% }else{
;
% }
% }
% if($thinClientOption) {
allow booting;
allow bootp;
% }
default-lease-time 1800;
max-lease-time 7200;
% if (defined $keysFile) {
include "<% $keysFile %>";
% }
% foreach my $iface (keys(%real_ifaces)) {
<%perl>
# Write configuration if there are any range or fixed addresses
my $ifaceToWrite = 0;
if (exists $ifaces{$iface}) {
if (@{$ifaces{$iface}->{ranges}} > 0) {
$ifaceToWrite = 1;
} elsif (values %{$ifaces{$iface}->{fixed}} > 0 ) {
$ifaceToWrite = 1;
}
}
</%perl>
% if ( $ifaceToWrite ) {
<& dhcp/shared-network.mas, iface => $iface, ifaces => \%ifaces &>
% }
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
% }
/usr/share/zentyal/stubs/dhcp/dhcpd.conf.mas и его редактируем. Всего для моей настройки понадобилось дописать две строки
это
option option-242 code 242=string;
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
конечно вам необходимо подставить свои параметры и IP адреса.
Вот полный ДНСР шаблон.
<%doc>
This stub writes the DHCP server configuration file
Parameters:
ifaces - Hash
real_ifaces - Hash containing the interface name as key and an
array ref containing the virtual interface names as value
thinClientOption - Boolean indicating whether the thin client
options have been used or not
dnsone - String the default primary DNS server
dnstwo - String the default secondary DNS server
dynamicDNSEnabled - Boolean indicating whether the dynamic DNS feature is on or not
keysFile - String with the file path to shared secret keys to update DNS server
pidFile - String the path to the file which stores the daemon PID
</%doc>
<%args>
%ifaces
%real_ifaces
$thinClientOption => 0
$dnsone => ''
$dnstwo => ''
$dynamicDNSEnabled => 0
$keysFile => undef
$pidFile
</%args>
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "<% $pidFile %>";
option option-242 code 242=string;
% if ( $dynamicDNSEnabled ) {
ddns-update-style interim;
ddns-updates on;
update-static-leases on;
% } else {
ddns-update-style none;
% }
% if(length($dnsone) != 0) {
option domain-name-servers <% $dnsone %>\
% if(length($dnstwo) != 0) {
, <% $dnstwo %>;
% }else{
;
% }
% }
% if($thinClientOption) {
allow booting;
allow bootp;
% }
default-lease-time 1800;
max-lease-time 7200;
% if (defined $keysFile) {
include "<% $keysFile %>";
% }
% foreach my $iface (keys(%real_ifaces)) {
<%perl>
# Write configuration if there are any range or fixed addresses
my $ifaceToWrite = 0;
if (exists $ifaces{$iface}) {
if (@{$ifaces{$iface}->{ranges}} > 0) {
$ifaceToWrite = 1;
} elsif (values %{$ifaces{$iface}->{fixed}} > 0 ) {
$ifaceToWrite = 1;
}
}
</%perl>
% if ( $ifaceToWrite ) {
<& dhcp/shared-network.mas, iface => $iface, ifaces => \%ifaces &>
% }
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
% }
2
Russian / Re: dhcp и настройка для телефонов avaya
« on: June 20, 2014, 10:22:10 am »
Для того, чтобы IP телефоны из одного офиса коннектились к другим, одним из пунктов является настройка DHCP сервера. НЕбольшая особенность у Zentyal , это затирание шаблоном , любого изменения \, которое вы сделали в конфигурационном файле dhcpd.conf. ДЛя избежания этого идем в шаблон по след пути
/usr/share/zentyal/stubs/dhcp/dhcpd.conf.mas и его редактируем. Всего для моей настройки понадоби лось дописать две строки
это
option option-242 code 242=string;
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
Вот полный ДНСР шаблон.
<%doc>
This stub writes the DHCP server configuration file
Parameters:
ifaces - Hash
real_ifaces - Hash containing the interface name as key and an
array ref containing the virtual interface names as value
thinClientOption - Boolean indicating whether the thin client
options have been used or not
dnsone - String the default primary DNS server
dnstwo - String the default secondary DNS server
dynamicDNSEnabled - Boolean indicating whether the dynamic DNS feature is on or not
keysFile - String with the file path to shared secret keys to update DNS server
pidFile - String the path to the file which stores the daemon PID
</%doc>
<%args>
%ifaces
%real_ifaces
$thinClientOption => 0
$dnsone => ''
$dnstwo => ''
$dynamicDNSEnabled => 0
$keysFile => undef
$pidFile
</%args>
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "<% $pidFile %>";
option option-242 code 242=string;
% if ( $dynamicDNSEnabled ) {
ddns-update-style interim;
ddns-updates on;
update-static-leases on;
% } else {
ddns-update-style none;
% }
% if(length($dnsone) != 0) {
option domain-name-servers <% $dnsone %>\
% if(length($dnstwo) != 0) {
, <% $dnstwo %>;
% }else{
;
% }
% }
% if($thinClientOption) {
allow booting;
allow bootp;
% }
default-lease-time 1800;
max-lease-time 7200;
% if (defined $keysFile) {
include "<% $keysFile %>";
% }
% foreach my $iface (keys(%real_ifaces)) {
<%perl>
# Write configuration if there are any range or fixed addresses
my $ifaceToWrite = 0;
if (exists $ifaces{$iface}) {
if (@{$ifaces{$iface}->{ranges}} > 0) {
$ifaceToWrite = 1;
} elsif (values %{$ifaces{$iface}->{fixed}} > 0 ) {
$ifaceToWrite = 1;
}
}
</%perl>
% if ( $ifaceToWrite ) {
<& dhcp/shared-network.mas, iface => $iface, ifaces => \%ifaces &>
% }
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
% }
/usr/share/zentyal/stubs/dhcp/dhcpd.conf.mas и его редактируем. Всего для моей настройки понадоби лось дописать две строки
это
option option-242 code 242=string;
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
Вот полный ДНСР шаблон.
<%doc>
This stub writes the DHCP server configuration file
Parameters:
ifaces - Hash
real_ifaces - Hash containing the interface name as key and an
array ref containing the virtual interface names as value
thinClientOption - Boolean indicating whether the thin client
options have been used or not
dnsone - String the default primary DNS server
dnstwo - String the default secondary DNS server
dynamicDNSEnabled - Boolean indicating whether the dynamic DNS feature is on or not
keysFile - String with the file path to shared secret keys to update DNS server
pidFile - String the path to the file which stores the daemon PID
</%doc>
<%args>
%ifaces
%real_ifaces
$thinClientOption => 0
$dnsone => ''
$dnstwo => ''
$dynamicDNSEnabled => 0
$keysFile => undef
$pidFile
</%args>
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "<% $pidFile %>";
option option-242 code 242=string;
% if ( $dynamicDNSEnabled ) {
ddns-update-style interim;
ddns-updates on;
update-static-leases on;
% } else {
ddns-update-style none;
% }
% if(length($dnsone) != 0) {
option domain-name-servers <% $dnsone %>\
% if(length($dnstwo) != 0) {
, <% $dnstwo %>;
% }else{
;
% }
% }
% if($thinClientOption) {
allow booting;
allow bootp;
% }
default-lease-time 1800;
max-lease-time 7200;
% if (defined $keysFile) {
include "<% $keysFile %>";
% }
% foreach my $iface (keys(%real_ifaces)) {
<%perl>
# Write configuration if there are any range or fixed addresses
my $ifaceToWrite = 0;
if (exists $ifaces{$iface}) {
if (@{$ifaces{$iface}->{ranges}} > 0) {
$ifaceToWrite = 1;
} elsif (values %{$ifaces{$iface}->{fixed}} > 0 ) {
$ifaceToWrite = 1;
}
}
</%perl>
% if ( $ifaceToWrite ) {
<& dhcp/shared-network.mas, iface => $iface, ifaces => \%ifaces &>
% }
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2, L2QVLAN=0";
% }
3
Russian / Re: dhcp и настройка для телефонов avaya
« on: June 20, 2014, 10:15:48 am »
Спасибо все настроил, все заработало.
4
Russian / Re: dhcp и настройка для телефонов avaya
« on: June 20, 2014, 09:09:21 am »
Ругается на мою добавленную строку , я добавил (option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2;)
Что не нравится, может куда то переместить данную строку, чтобы заработало.
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "/var/run/dhcp-server/dhcpd.pid";
ddns-update-style none;
allow booting;
allow bootp;
default-lease-time 1800;
max-lease-time 7200;
shared-network eth0 {
next-server 192.168.1.10;
option tftp-server-name "192.168.1.10";
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option domain-name-servers 192.168.1.10, 81.200.241.18;
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2;
default-lease-time 1800;
max-lease-time 7200;
pool {
range 192.168.1.11 192.168.1.254;
}
}
group {
option routers 192.168.1.1;
option domain-name-servers 192.168.1.10, 81.200.241.18;
default-lease-time 1800;
max-lease-time 7200;
}
}
Что не нравится, может куда то переместить данную строку, чтобы заработало.
# DHCP server is authoritative for all networks
authoritative;
# extra options
# RFC3442 routes
option rfc3442-classless-static-routes code 121 = array of integer 8;
# MS routes
option ms-classless-static-routes code 249 = array of integer 8;
pid-file-name "/var/run/dhcp-server/dhcpd.pid";
ddns-update-style none;
allow booting;
allow bootp;
default-lease-time 1800;
max-lease-time 7200;
shared-network eth0 {
next-server 192.168.1.10;
option tftp-server-name "192.168.1.10";
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option domain-name-servers 192.168.1.10, 81.200.241.18;
option option-242 "MCIPADD=172.22.0.2, HTTPSRVR=172.22.0.2, TLSSRVR=172.22.0.2, L2Q=2;
default-lease-time 1800;
max-lease-time 7200;
pool {
range 192.168.1.11 192.168.1.254;
}
}
group {
option routers 192.168.1.1;
option domain-name-servers 192.168.1.10, 81.200.241.18;
default-lease-time 1800;
max-lease-time 7200;
}
}
5
Russian / Re: dhcp и настройка для телефонов avaya
« on: June 20, 2014, 08:52:54 am »
Догнал , что прописывать надо option 242 в шаблоне. Который как я понял находится по пути usr\shared\zentyal\dhcp\dhcp.conf.mas . Вот только правильно ли я запихал свою строчку. Эт опока вопрос.
6
Russian / dhcp и настройка для телефонов avaya
« on: June 20, 2014, 08:05:47 am »
Доброго утречка всем. Настроил DHCP через веб.мордашку. ВСе настройки раздает. Далее у меня есть IP телефоны avaya. Раньше стояла винда (сервер 2003). Там была инструкция по настройке и была она однозначная. Я не сисадмин, поэтому не пинайте. И вот мне надо настроить теперь на zentyal в настройки DHCP option 242.
И вот еще что, не будет ли после перезагрузки, затирать зентиал мои изменгения в кофигурационных файлах.
И вот еще вопрос. Рабочий конфигурационный файл dhcp находится по адресу etc\dhcp\dhcpd.conf , все правильно?
А вот настройку , которую предлагают с форума avaya (http://www.iaug.org/p/fo/et/thread=14920)
И вот еще что, не будет ли после перезагрузки, затирать зентиал мои изменгения в кофигурационных файлах.
И вот еще вопрос. Рабочий конфигурационный файл dhcp находится по адресу etc\dhcp\dhcpd.conf , все правильно?
А вот настройку , которую предлагают с форума avaya (http://www.iaug.org/p/fo/et/thread=14920)
7
Russian / Re: VPN и несколько подключений к одному серверу VPN
« on: June 18, 2014, 04:06:45 pm »
С сертификатами одно. а тут, по памяти, есть VPN сервер, где то "далеко" , к нему необходимо подрубаться многим пользователям из нашей подсети. И вот тут засада. один пользователь подруьается отсальные лапу сосут, пока "тот" не отрубится. Т.е. через один шлюз, может подркубится только один клиент. А надо, чтобы много подрубалосб клиентов. Доставляются 3 пакета, как и говорил выше и все хорошо. Но за давностью, у меня сообщение удалили. Кто напомнит мн7е, эти пакетики.
8
Russian / Re: VPN и несколько подключений к одному серверу VPN
« on: June 18, 2014, 03:07:04 pm »
помню 3 пакета надо инсталить, но увы не помню какие
9
Russian / VPN и несколько подключений к одному серверу VPN
« on: June 18, 2014, 02:59:44 pm »
Извиняюсь, давно не использовал линуху. А тут. В общем сервак должен лезть на один VPN сервер(ИП один и тот же), один клиент пождрубается , остальные не могут. Есть решение, но увы не помню. ПОж-та тыкните носом. Заранее спасибо
10
Russian / Убрать графический режим, возмож но ли?
« on: June 25, 2012, 12:12:00 pm »
Кто нибудь шаманил такое. Настроил шлюз на Зентиале, все работает и крутиться. Но вот с памятью небольшой напряг и память дополнительно уже не запихать. Предполагаю что Гном отжирает хорошо памяти, и поэтому есть ли вариант избавиться от загрузки графической оболочки и работать с консоли. Тем самым высвободив долю памяти.
В Линухе я новичек, поэтому если можно пошагово, если такое возможно. Заранее всем спасибо.
В Линухе я новичек, поэтому если можно пошагово, если такое возможно. Заранее всем спасибо.
11
Russian / Re: пропадает инет
« on: May 21, 2012, 02:50:36 pm »
Давайте рассмотри логически, получив настройки в ДХЦП сервера, клиенту на срок аренды в принципе ДХЦП не нужен. Т.е. если падает в промежуток, то как бы ДХЦП не причем. ДНС, его роль в принципе ресолвить имена(преобразовывать ya.ru в 213.180.193.3 и обратно ) и, как минимум соседние компы должны пинговаться по IP.
Далее, вы говорили, что выставили срок аренды 12 часов, но разница
Аренда получена. . . . . . . . . . : 21 мая 2012 г. 8:24:38
Срок аренды истекает. . . . . . . . . . : 21 мая 2012 г. 13:24:43
Получаем 5 часов. А не может ли в сети быть еще ДХЦП сервер поднят? Это легко проверить. отключаем Зентиал от сети. А на клиенте ну самое простое выкл\вкл сделать сети. Ну либо с начало в командной строке на клиенте(если винда стоит) ipconfig /release затем ipconfig /renew
Если получаем IP шлюз и ДНС запросив ipconfig /all то значи в сетке еще один ДХЦП сервер.
Далее, вы говорили, что выставили срок аренды 12 часов, но разница
Аренда получена. . . . . . . . . . : 21 мая 2012 г. 8:24:38
Срок аренды истекает. . . . . . . . . . : 21 мая 2012 г. 13:24:43
Получаем 5 часов. А не может ли в сети быть еще ДХЦП сервер поднят? Это легко проверить. отключаем Зентиал от сети. А на клиенте ну самое простое выкл\вкл сделать сети. Ну либо с начало в командной строке на клиенте(если винда стоит) ipconfig /release затем ipconfig /renew
Если получаем IP шлюз и ДНС запросив ipconfig /all то значи в сетке еще один ДХЦП сервер.
12
Russian / Re: пропадает инет
« on: May 21, 2012, 02:12:35 pm »
Данных мало. Для понимания что же у вас случилось. Вижу что клиенты настройки получают нормальные.
Есть возможность поднять ДХЦП и ДНС на другом сервере (ну хоть под управлением 2003 сервера виндовозного)?
Вопрос, клиенты у которых статично выставлен IP работает на нем интернет после, того , как клиенты у которых настройки по ДХЦП падают? или и у статично настроенных клиентов тоже инет не пашет?
Есть возможность поднять ДХЦП и ДНС на другом сервере (ну хоть под управлением 2003 сервера виндовозного)?
Вопрос, клиенты у которых статично выставлен IP работает на нем интернет после, того , как клиенты у которых настройки по ДХЦП падают? или и у статично настроенных клиентов тоже инет не пашет?
13
Russian / Re: прокси
« on: May 17, 2012, 02:40:42 pm »
а если вернуть и сделать прокси прозрачным? работоспособность восстановиться?
14
Russian / Re: пропадает инет
« on: May 17, 2012, 11:49:30 am »
у меня сервера со статическими IP ничего не отаваливается. Все машины, которым ты указываешь статику, их не видно в DHCP на Зентиале. По идее, если прописать статику на клиенте, прописать шлюз ручками(IP компа который выпускает в инет). и посмотреть, попинговать. Попробовать руками прописать на клиенте еще и ДНС провайдера. Получить с клиентов cmd - команда ipconfig /all в студию. Побольше информации.
15
Russian / Re: прокси
« on: May 17, 2012, 11:41:07 am »
Вы прописали правило в ПРОКИ на ограничение 80-ого порта(HTTP)? Если да, то второй вопрос, а настроили ли вы на каждом рабочем месте прокси сервер?