Перейти до

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 користувачів

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

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

    • Від Amigo
      Продам свічі D-Link нові й Б/В
       
      D-Link DES-2108 B1 1 шт. по ціні 500 грн./шт.
      D-Link DES-1210-10/МЕ B1 1 шт. по ціні 1200 грн./шт. НОВИЙ!
      D-Link DES-3200-28F C1 3 шт. по ціні 2000 грн./шт.
      D-Link DES-3200-28F C1 1 шт. по ціні 2200 грн./шт. НОВИЙ!
      D-Link DGS-3420-28TC A2 1 шт. по ціні 7000 грн./шт. 
      D-Link DGS-3420-26SC B1 2 шт. по ціні 8000 грн./шт.
      D-Link DGS-3420-28SC B1 2 шт. по ціні 10000 грн./шт.

    • Від Dimension
      Комутатор мережевий D-link DES-1210-52 - 1 200 грн
      Комутатор мережевий D-link DES-1210-28 - 1 000 грн
      Комутатор мережевий D-Link DES-1100-26 - 700 грн
      Комутатор мережевий TP-LINK TL-SL2218WEB - 500 грн
      Комутатор мережевий TP-LINK TL-SL2210WEB - 300 грн
       
      Абсолютно и полностью рабочие, все порты целые. С ушами. Сброшены.

    • Від Parallels
      Продам D-Link DGS-3120-24sc - 4000грн
       
       
    • Від Чучундра
      Добрий день.
       
      Буду вдячний якщо хтось поділиться робочим конфігом щоб прокинути на ЛАН порт ОНУ декілька VLAN-ів з тегами.
    • Від gus
      Продаж
      Комутатори:
      Cisco SG100-24-24   1900грн
      Cisco Catalyst 2960-x 48 (WS-C2960X-48TS-L) 2600грн
      Cisco Catalyst 2960-x 24 (WS-C2960-24TT-L) 1300грн
      Cisco Catalyst 3650 24 2x10G (WS-C3650-24TD) 6000грн
      D-Link DGS-3120-48TS - 5000грн
      D-Link DGS-3100-48 - 4500грн
      Маршрутизатор 
      Cisco 1941 Series 1500грн
      Фаєрвол
      Cisco ASA5515-X 4000грн
      8 портовий KVM перемикач Master view ATEN SC-88A 900грн
      Гарантія на перевірку 
      068-897-37-56 
       
       
       
×
×
  • Створити нове...