Hello boys.
I've searched around the forum and got some clues about what i'm doing - but i'm still not having any success.
As my topic's title describes, i want to serve dhcp for two networks - connected trough an MPLS link using only one NIC.
They're on the same subnet (255.255.255.) and only the range is different(network A is 192.168.1.0 , network B 192.168.2.).
I think i've built my dhcpd.conf right but the other network (192.168.2.0) can't get any ip address. I'm on the network 192.168.1.0 and i can get ip from my dhcp server without problems.
I'm posting my dhcpd.conf here - if anyone finds out there's something wrong just tell me.
Thanks in advance
Pablo
***
dhcpd.conf
***
Code:
deny-unknown-clients;
ddns-update-style interim;
default-lease-time 86400;
max-lease-time 345600;
subnet 192.168.3.0 netmask 255.255.255.0{}
# Pharmascience Betim e SJL
shared-network Pharmascience {
###################################
#Range Pharmascience - Betim #
###################################
subnet 192.168.1.0 netmask 255.255.255.0{
range 192.168.1.1 192.168.1.254;
option routers 192.168.1.238;
option domain-name "pharma-bet.intranet";
option ip-forwarding off;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option ntp-servers 192.168.1.247;
option domain-name-servers 192.168.1.253;
option domain-name-servers 192.168.1.254;
host TI002 {
hardware ethernet 00:1C:C0:6E:2E:13;
fixed-address 192.168.1.236;
}
}
###################################
#Range Pharmascience - SJL #
###################################
subnet 192.168.2.0 netmask 255.255.255.0{
range 192.168.2.1 192.168.2.254;
option routers 192.168.2.254;
option domain-name "pharma-sjl.intranet";
option ip-forwarding off;
option broadcast-address 192.168.2.255;
option subnet-mask 255.255.255.0;
option ntp-servers 192.168.1.247;
option domain-name-servers 192.168.2.253;
host TI005 {
hardware ethernet 00:1B:11:04:BC:56;
fixed-address 192.168.2.210;
}
}
}
Those two fixed hosts are for testing purposes - each one is on a network.