> stiti cum se poate face dhcpd-ul sa dea ip-uri din clase diferite, in
> functie de interfata pe care vin requesturile? (ex. pe eth1 sa dea din clasa
> 192.168.1.0, iar pe eth2 din 192.168.2.0)
Se face ceva de genul:
# Reteaua 192.168.1.0 cu declaratiile ei ...
subnet 192.168.1.0 netmask 255.255.255.0 {
allow bootp;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name "domeniul-tau.com";
option domain-name-servers domeniul-tau.com;
option nis-domain "domeniul-tau.com";
range dynamic-bootp 192.168.1.2 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200;
host 1 {
next-server domeniul-tau.com;
hardware ethernet 52:54:00:E0:CB:B0;
fixed-address 192.168.1.3;
option host-name "1";
}
host 2 {
next-server domeniul-tau.com;
hardware ethernet 00:02:B3:05:58:5A;
fixed-address 192.168.1.4;
option host-name "2";
}
}
Si asa pentru fiecare interfata!
Cosmin
--
SysAdm @ "Alexandru Papiu Ilarian" Highschool Dej
<[EMAIL PROTECTED]>
<http://lapd.cj.edu.ro/~doom>
<+40-93.514.225>
It's nice to be important
But is more important to be nice
---
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.