Zdraveite !

Opitvam se da pusna DHCP da razdava
adresi ot dve razlicni mreji.

Sluchaiat e slednia.
eth1 ima adres 192.168.0.1
eth1:1 ima adres 10.0.0.1

za adresite ot eth1 niamam nikakvi problemi
no tezi ot 10.0.0.X izobshto ne gi razdava.

Pitam se vyzmojno li e dhcpd da ne moje da raboti
s alias adresi ili neshto config faila se pishe drugo iache.

Eto i kakvo sym napisal v /etc/dhcpd.conf

not authoritative;
option domain-name "domain.com";
server-name "host.domian.com";
use-host-decl-names on;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.11 192.168.0.200;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.10.10.10;
deny bootp;
deny unknown-clients;
}

subnet 10.0.0.0 netmask 255.255.255.128 {
range 10.0.0.11 10.0.0.126;
option routers 10.0.0..1;
option broadcast-address 10.0.0.127;
option subnet-mask 255.255.255.128;
option domain-name-servers 10.10.10.10;
deny bootp;
deny unknown-clients;
}

host test {
 hardware ethernet 00:02:2d:3b:96:15;
  fixed-address 192.168.0.11;
}

host test1 {
 hardware ethernet 00:02:2d:3b:96:22;
  fixed-address 10.0.0.11;
}


Znachi ip-to 192.168.0.11 se dava bez problem
a 10.0.0.11 vika ignoring unknown klient.
Pri polojenie che smeniam mac adresa si v conf faila
i sledva da mi dade drugia adres no ne stava.
Posle si pomislih che triabva da pusna dhcpd
daemona 2 pyti t.e dhcpd eth1:1
i eto kakvo mi kaza.

Interface eth1 matches multiple shared networks
No subnet declaration for eth1:1 (0.0.0.0).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth1:1 is attached.
exiting.



--
Marian Popov
Siterm Engeneering Ltd.
[EMAIL PROTECTED]
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================

Reply via email to