Ubuntu Server 14.04, isc-dhcp-server 4.2.4
/etc/network/interfaces:
auto eth1
iface eth1 inet static
address 192.168.25.1
netmask 255.255.255.0
auto eth1.13
iface eth1.13 inet static
vlan-raw-device eth1
address 192.168.4.1
netmask 255.255.255.0
subnet 192.168.25.0 netmask 255.255.255.0 {
authorative;
range 192.168.25.51 192.168.25.249;
option subnet-mask 255.255.255.0;
option routers 192.168.25.1;
option broadcast-address 192.168.25.255;
option domain-name-servers 192.168.40.1;
}
subnet 191.168.4.0 netmask 255.255.255.0 {
authoritative;
range 191.168.4.51 191.168.4.249;
option subnet-mask 255.255.255.0;
option routers 192.168.4.1;
option broadcast-address 191.168.4.255;
option domain-name-servers 8.8.8.8 , 8.8.4.4;
}
No subnet declaration for eth1.13 (192.168.4.1).
** Ignoring requests on eth1.13. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1.13 is attached. **
Что я делаю не так?