Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: DHCPD and multiple interfaces


  • Subject: lug-bg: DHCPD and multiple interfaces
  • From: mano@email.domain.hidden (Marian Popov)
  • Date: Sun, 16 Mar 2003 19:05:54 +0200


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;

ubnet 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;
}

ubnet 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;
}

<p>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.

<p><p>
--
Marian Popov
Siterm Engeneering Ltd.
mano_at_pazardjik.com.NOSPAM
============================================================================
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
============================================================================




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.