sytuacja wygląda tak:
-[internet]-[linux dhcp]---[sw1]---[sbs dhcp]-[sw2]-[hosty sbs]
........................................|.|.|---------------------|
........................................|.|
........................................|.|----[hosty sbs]
........................................|
........................................|--[hosty]
kropki są po to żeby się nie przesunęło
linux 192.168.1.1/24, sbs 192.168.28.1/24
niestety te dwa serwery DHCP nie mogą działać i na sbs'e sie wyącza
Chce zrobic tak żeby linux przydzielał adrsy dodatkowo dla hostów sbs z puli 192.168.28.0/24
część mojego dhcpd.conf
Kod: Zaznacz cały
# dhcpd.conf
#
authoritative;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
option domain-name-servers 194.204.152.34;
# adres serwera WINS w sieci
option netbios-name-servers 192.168.1.1;
}
# deklaracja poszczegolnych stacji roboczych wraz z ich parametrami - dotyczy ADRESOW STATYCZNYCH
#pracownia
host SERWER_1
{
# adres sprzetowy (MAC) danego hosta
hardware ethernet xx:xx:xx:xx:xx:xx;
# adres IP danego hosta
fixed-address 192.168.1.2;
}
#dell
host komp1
{
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.1.4;
}
subnet 192.168.28.0 netmask 255.255.255.0 {
option routers 192.168.28.1;
option broadcast-address 192.168.28.255;
#range 192.168.28.100 192.168.28.110;
option netbios-name-servers 192.168.28.1;
host KOMPUTER1
{
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.28.11;
option broadcast-address 192.168.28.255;
option routers 192.168.28.1;
option domain-name-servers 192.168.28.1;
}
host KOMPUTER2
{
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.28.12;
option broadcast-address 192.168.28.255;
option routers 192.168.28.1;
option domain-name-servers 192.168.28.1;
}
}
[ Komentarz dodany przez: Lizard: 2008-09-19, 20:06 ]
Bez kropek też się nie rozjedzie.
Kod: Zaznacz cały
-[internet]-[linux dhcp]---[sw1]---[sbs dhcp]-[sw2]-[hosty sbs]
| | |---------------|
| |
| |----[hosty sbs]
|
|--[hosty]