LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   dhcpd.conf - static route (https://www.linuxquestions.org/questions/linux-server-73/dhcpd-conf-static-route-576521/)

prvnrk 08-12-2007 08:56 AM

dhcpd.conf - static route
 
Hi,

I've setup DHCP Server on linux and everything works fine except static routes. They are not getting run on client systems.

My dhcpd.conf:

+++++++++++

ddns-update-style interim;
ddns-updates off;
option domain-name-servers 192.168.116.122;
option domain-name "abc.com";
option subnet-mask 255.255.255.0;
# abc_lan
subnet 192.168.116.0 netmask 255.255.255.0 {
option domain-name "abc.com";
option static-routes 172.16.1.0 192.168.116.2;
allow unknown-clients;
ddns-updates off;
range 192.168.116.152 192.168.116.198;
}

++++++

Any help would highly be appreciated

TIA

Prvn

sussane 08-13-2007 02:29 AM

plz try adding the static route on /etc/rc.local

prvnrk 08-13-2007 03:36 AM

Hi Sussane,

At present, I'm managing in that way only which is working fine.

I want my DHCP Server to do that and need help on it.


Regards,
Prvn


All times are GMT -5. The time now is 02:42 AM.