Hi
I have 3 subnets below all of them on layer3 switch :
10.1.1.0 /24
10.1.2.0 /24
10.1.5.0 /24
And my dhcp server has 2 interfaces below:
em0: 10.1.2.254 /24
re0: 192.168.1.244 /24
The re0 was connect to layer 3 switch,while the em0 was connect to layer 2 switch,the em0 also provided DHCP services to the client on 10.1.2.0 /24.
Is this possible for forwarding dhcpoffer unicast message to different subnet within a single DHCP server ?
I tried to using this below in /etc/rc.conf , but not working .
dhcpd_ifaces="em0"
dhcpd_ifaces="re0"
Here is my dhcp config :
Any suggestion will be appreciated.
I have 3 subnets below all of them on layer3 switch :
10.1.1.0 /24
10.1.2.0 /24
10.1.5.0 /24
And my dhcp server has 2 interfaces below:
em0: 10.1.2.254 /24
re0: 192.168.1.244 /24
The re0 was connect to layer 3 switch,while the em0 was connect to layer 2 switch,the em0 also provided DHCP services to the client on 10.1.2.0 /24.
Is this possible for forwarding dhcpoffer unicast message to different subnet within a single DHCP server ?
I tried to using this below in /etc/rc.conf , but not working .
dhcpd_ifaces="em0"
dhcpd_ifaces="re0"
Here is my dhcp config :
Code:
authoritative;
option domain-name "intra.net";
option domain-name-servers 192.168.1.254;
option netbios-name-servers 192.168.1.20;
option time-offset 28800;
default-lease-time 21600;
max-lease-time 864000;
ddns-update-style none;
log-facility local7;
#RD
subnet 10.1.2.0 netmask 255.255.255.0 {
range dynamic-bootp 10.1.2.150 10.1.2.200;
option routers 10.1.2.254;
}
#ACCOUNTING
subnet 10.1.1.0 netmask 255.255.255.0 {
range dynamic-bootp 10.1.1.150 10.1.1.200;
option routers 10.1.1.1;
}
#WIFI
subnet 10.1.5.0 netmask 255.255.255.0 {
range dynamic-bootp 10.1.5.150 10.1.5.200;
option routers 10.1.5.1;
}
Last edited: