Перейти до

ubuntu 12 + Ubilling + opt 82 + vlan + d-link L2


Рекомендованные сообщения

Добрый вечер уважаемые друзья!

 

нужна помощь при переноси рабочего конфига DHCP ubuntu + vlan + opt 82 на ubiling 0.6.7 rev 4486

 

10.90.90.4 - ip vlan смотрит на d-link

10.90.90.90 - ip d-link c vlan-ом 

настройки /dhcpd.conf пока только на два порта для примера (надеюсь на то что можно автоматизировать с помощью Ubilling)

 

Рабочий конфиг DHCP сервера на Ubuntu


uname -a

Linux ubuSRV14 3.16.0-41-generic #55~14.04.1-Ubuntu SMP Sun Jun 14 18:43:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

sudo nano /etc/network/interfaces

iface eth1 inet static
  address 192.168.88.110
  netmask 255.255.255.0
  gateway 192.168.88.1
  dns-nameserver 192.168.88.1 8.8.4.4

iface eth0.90 inet static
        address 10.90.90.4
        netmask 255.255.255.0
        broadcast 10.90.90.255
        network 10.90.90.0

sudo nano /etc/dhcp/dhcpd.conf 

subnet 10.90.90.0 netmask 255.255.255.0 {
class "10.90.90.90:p1" {
match if binary-to-ascii (10 , 8 , "" , suffix( option agent.circuit-id , 1)) = "1" and binary-to-ascii(10 , 8 , "." , packet(24 , 4)) = "10.90.90.90";
}
pool {
range 10.90.90.91;
allow members of "10.90.90.90:p1";
}
class "10.90.90.90:p2" {
match if binary-to-ascii (10 , 8 , "" , suffix( option agent.circuit-id , 1)) = "2" and binary-to-ascii(10 , 8 , "." , packet(24 , 4)) = "10.90.90.90";
}
pool {
range 10.90.90.92;
allow members of "10.90.90.90:p2";
}
}

 /etc/default/isc-dhcp-server

INTERFACES=eth0.90

Конфиг ubiling + ubuntu 12 (уставновка автоматом по wiki)


 

конфиг переносил с  wiki option82

 

алиасы вроде как то так

  • ifconfig_em0_alias0  -  на freebsd 
  • auto eth1:1                - на ubuntu 

 

но мне нужен vlan получилось

  • auto eth1.90:1

 

на FreeBSD

/etc/rc.conf

ifconfig_em0="inet 172.16.0.1 netmask 255.255.255.0"
ifconfig_em0_alias0="inet 172.32.0.1 netmask 255.255.240.0"
ifconfig_em0_alias1="inet 192.168.94.1 netmask 255.255.255.0"

на Ubuntu

/etc/network/interfaces

 

 

auto eth0
iface eth0 inet static
address  192.168.88.15
netmask  255.255.255.0
gateway  192.168.88.1
dns-nameservers 8.8.4.4 192.168.88.1


auto eth1.90
iface eth1.90 inet static
address 172.16.0.1
netmask 255.255.255.0


auto eth1.90:1
iface eth1.90:1 inet static
address 172.32.0.1
netmask 255.255.240.0
vlan_raw_device eth1


auto eth1.90:2
iface eth1.90:2 inet static
address 10.90.90.91
netmask 255.255.255.0
vlan_raw_device eth1

 

 

подредактированный config/dhcp/global.template под мои значения

 

 

option domain-name "ourisp";
option domain-name-servers 172.16.0.1;
default-lease-time 3600;
max-lease-time 43200;
authoritative;
ddns-update-style none;
log-facility local7;
one-lease-per-client true;
deny duplicates;


shared-network ourisp {


{SUBNETS}


subnet 10.90.90.0 netmask 255.255.255.0 {
}


subnet 172.32.0.0 netmask 255.255.240.0 {
  default-lease-time 3600;
  option domain-name "isp";
  option subnet-mask 255.255.240.0;
  option domain-name-servers 172.32.0.1;
  option routers 172.32.0.1;
  
  pool {
   range 172.32.0.100 172.32.0.254;
    {DENYMEMBERS}
   }


log(info, "==");
if exists agent.remote-id {
        set clip = binary-to-ascii(10,8,".",leased-address);
        set clremote = binary-to-ascii(16,8,"",option agent.remote-id);
        set clcircuit = binary-to-ascii(10,8,"",option agent.circuit-id);


        log( info,concat("*Leased IP: ",clip, " SWITCH: ",clremote," PORT: ",clcircuit ," (with opt82)") );
} else {
        set clhw = concat (
        suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware,1,1))),2), ":",
        suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware,2,1))),2), ":",
        suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware,3,1))),2), ":",
        suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware,4,1))),2), ":",
        suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware,5,1))),2), ":",
        suffix (concat ("0", binary-to-ascii (16, 8, "", substring(hardware,6,1))),2)
        );


        log( info,concat("*Leased IP: ",binary-to-ascii(10,8,".",leased-address), " MAC: ", clhw," (without opt82)") );
}
log(info, "==");




}


}

 

 

 

 

config/dhcp/option82.template находиться в дефолтном состоянии

 

 

class "{HOSTNAME}" {
       match if binary-to-ascii (16, 8, "", option agent.remote-id) = "{REMOTEID}" and binary-to-ascii (10, 8, "", option agent.circuit-id) = "{CIRCUITID}";
       }
            
       pool {
       range {IP};
       allow members of "{HOSTNAME}";
       }


       host {HOSTNAME} {
       fixed-address {IP};
       }

 

 

В конфиге alter.ini

NMLEASES = /var/log/dhcpd.log

/etc/syslog.conf

!dhcpd*.*               /var/log/dhcpd.log

В OnConnect отключена прибивка по MAC - вот это я не понял как делать
 

 

при смене ip абоненту пишет 

 

tail -f /var/log/syslog

 

 

Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4

Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:37 ubu-srv-1204 kernel: [15011.116523] init: isc-dhcp-server main process (4795) killed by TERM signal
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:37 ubu-srv-1204 dhcpd:
Jun 28 16:53:37 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:37 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:37 ubu-srv-1204 dhcpd:
Jun 28 16:53:37 ubu-srv-1204 dhcpd:
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:37 ubu-srv-1204 kernel: [15011.249808] init: isc-dhcp-server main process (4817) terminated with status 1
Jun 28 16:53:37 ubu-srv-1204 kernel: [15011.249922] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:37 ubu-srv-1204 dhcpd:
Jun 28 16:53:37 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:37 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:37 ubu-srv-1204 dhcpd:
Jun 28 16:53:37 ubu-srv-1204 dhcpd:
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:37 ubu-srv-1204 kernel: [15011.442965] init: isc-dhcp-server main process (4828) terminated with status 1
Jun 28 16:53:37 ubu-srv-1204 kernel: [15011.443200] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15011.641495] init: isc-dhcp-server main process (4838) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15011.641613] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 kernel: [15011.785808] HTB: quantum of class 10101 is small. Consider r2q change.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 kernel: [15011.804885] HTB: quantum of class 14101 is small. Consider r2q change.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15011.885155] init: isc-dhcp-server main process (4856) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15011.885444] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.022575] init: isc-dhcp-server main process (4877) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.022772] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.138884] init: isc-dhcp-server main process (4884) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.139040] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.253042] init: isc-dhcp-server main process (4891) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.253180] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.378219] init: isc-dhcp-server main process (4898) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.378350] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd:
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.486849] init: isc-dhcp-server main process (4905) terminated with status 1
Jun 28 16:53:38 ubu-srv-1204 kernel: [15012.486983] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:39 ubu-srv-1204 dhcpd:
Jun 28 16:53:39 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:39 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:39 ubu-srv-1204 dhcpd:
Jun 28 16:53:39 ubu-srv-1204 dhcpd:
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:39 ubu-srv-1204 kernel: [15012.623543] init: isc-dhcp-server main process (4912) terminated with status 1
Jun 28 16:53:39 ubu-srv-1204 kernel: [15012.624080] init: isc-dhcp-server main process ended, respawning
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:39 ubu-srv-1204 dhcpd:
Jun 28 16:53:39 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:39 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:39 ubu-srv-1204 dhcpd:
Jun 28 16:53:39 ubu-srv-1204 dhcpd:
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:39 ubu-srv-1204 kernel: [15012.771702] init: isc-dhcp-server main process (4919) terminated with status 1
Jun 28 16:53:39 ubu-srv-1204 kernel: [15012.771813] init: isc-dhcp-server respawning too fast, stopped
Jun 28 16:54:50 ubu-srv-1204 kernel: [15083.974513] traps: bandwidthd[4925] trap divide error ip:406d16 sp:7fffe754a850 error:0 in bandwidthd[400000+f000]

 

 

 

меня смущает эта строка 

 traps: bandwidthd[4925] trap divide error ip:406d16 sp:7fffe754a850 error:0 in bandwidthd[400000+f000]
 
черная магия почему то показывает так хотя только один комп подключен
post-37141-0-84242500-1435520302_thumb.png
 
смена мак адресса неработает! наверно так и должно быть?
 
ping 10.90.90.90 с сервера на d-link
PING 10.90.90.90 (10.90.90.90) 56(84) bytes of data.
64 bytes from 10.90.90.90: icmp_req=1 ttl=30 time=3.24 ms
64 bytes from 10.90.90.90: icmp_req=2 ttl=30 time=1.68 ms
но клиент не получает ip
 
tail -f /var/log/dhcpd.log

Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: 
Jun 28 16:53:37 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:37 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:37 ubu-srv-1204 dhcpd: 
Jun 28 16:53:37 ubu-srv-1204 dhcpd: 
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: 
Jun 28 16:53:37 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:37 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:37 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:37 ubu-srv-1204 dhcpd: 
Jun 28 16:53:37 ubu-srv-1204 dhcpd: 
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:37 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:37 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:38 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:38 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: 
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:38 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:38 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: 
Jun 28 16:53:39 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:39 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:39 ubu-srv-1204 dhcpd: 
Jun 28 16:53:39 ubu-srv-1204 dhcpd: 
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Internet Systems Consortium DHCP Server 4.1-ESV-R4
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: All rights reserved.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Wrote 1 leases to leases file.
Jun 28 16:53:39 ubu-srv-1204 dhcpd: 
Jun 28 16:53:39 ubu-srv-1204 dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jun 28 16:53:39 ubu-srv-1204 dhcpd: ** Ignoring requests on eth1.  If this is not what
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    you want, please write a subnet declaration
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    in your dhcpd.conf file for the network segment
Jun 28 16:53:39 ubu-srv-1204 dhcpd:    to which interface eth1 is attached. **
Jun 28 16:53:39 ubu-srv-1204 dhcpd: 
Jun 28 16:53:39 ubu-srv-1204 dhcpd: 
Jun 28 16:53:39 ubu-srv-1204 dhcpd: Not configured to listen on any interfaces!
 
 

Відредаговано stepnoy
Ссылка на сообщение
Поделиться на других сайтах

решил проблему 

auto eth0
iface eth0 inet static
address  192.168.88.15
netmask  255.255.255.0
gateway  192.168.88.1
dns-nameservers 8.8.4.4 192.168.88.1


auto eth1.90
iface eth1.90 inet static
address 172.16.0.1
netmask 255.255.255.0
vlan_raw_device eth1


auto eth1.90:2
iface eth1.90:2 inet static
address 10.90.90.4
netmask 255.255.255.0
vlan_raw_device eth1

но только проблема появилась с пингами, как только начинаю качать они взлетают

Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

    Немає користувачів, що переглядають цю сторінку.

  • Схожий контент

    • Від x-net
      Продам б/в комутатор D-Link DGS-3120-24SC з вухами, повністю робочий, у доброму косметичному стані, можливий б/г розрахунок. Ціна 4000 гривень. 
    • Від SanKo_mn
      У зв'язку з переходом на ПОН звільняються комутатори.
      Маємо:
      Alkatel 6850U24X       2
      Alkatel OS 6250-24 M      8
      D-LINK DES - 1210-28      1
      D-LINK DES - 1228       10
      D-LINK DES 1210-10       1
      D-LINK DGS - 1210-12 TS\ME     2
      TP-LINK - T 1500-28 TC      1
      TP-LINK - TL SL 2218 WEB      1
      HUAWEI - S2403TP -ЕU    1
      DELL - 3548    1
      TP-LINK TL-SL2210WEB    3
      D-LINK DES 3120-24SC    1
      D-LINK DES 1100-26   1
      HUAWEI - S2326TP    2
       
      Кількість і моделі весь ча змінюються - бо знімаються чергові)))
       
      Пишіть в особисті, що цікаво - за кількість і вартість будемо домовлятися)
    • Від Костопашка
      Куплю D-link DGS-3000-28SC новые или бу.
    • Від ibrokeit
      Вітаю!
      Зіштовхнулися з проблемою із вланами на ZTE C300 (2.1.0) GTGHK.
      Загалом все працює нормально, але в окремих вланах просто перестає бігати трафіг, на ону відстутні мак-адреси, хоча статус порта full-1000.
      Якщо із таким же конфігом перевести ону в інший влан — все починає працювати (до певного часу). Виглядає так, що спрацьовує якесь блокування по номеру влану на рівні spanning-tree або детектора кілець (перше відключено, інше, якщо відключати — ситуацію не міняє).
      Чи може хтось підказати в якому напрямі копати рішення проблеми?
      Дякую
    • Від tadesky
      Вітаю, 

      Маємо в наявності на продаж наступні позиції: 
       
      1. DES-3018 - 10 шт,  300 грн. 
      2. DES-3026 - 170 шт,  400 грн. 
      3. DES-3200-28 - 90 шт, 2200 грн. 
      4. DES-3526 - 150 шт, 1400 грн. 
      5. DGS-3100-24TG - 30 шт, 4000 грн. 
      6. ES3510 MA - 50 шт, 1200 грн. 
      7. ES3528М V2 - 50 шт, 2000 грн. 
      8. Edge-core ECS4120-28Fv2 - 10 шт, 12000 грн. 
      9. DGS-3420-28SC - 4 шт, 17500 грн. 
         
      10. Модуль оптичний SFP-2SM-0220, SEP 1G - 200 шт, 150 грн. 
      11. Модуль оптичний SFP-WDM-SM-0220BD-LC, SFP 1G - 31 шт, 250 грн. 
      12. Модуль оптичний SFP-WDM-SM-0220BD-LC, SFP 1G - 18 шт, 250 грн. 
      13. DEM-310 GT - 40 шт, 150 грн. 

      Ціни вказані на роздріб, на об'ємі можна домовлятись. 
      Перед відправкою обладнання тестуємо, скидаємо в дефолт, надійно пакуємо. Комплектація на більшу частину позиції з вухами та кабелем живлення. 

      Запити та пропозиції прохання в приватні повідомлення. 
        
×
×
  • Створити нове...