Можно и без скрипта:
http://forum.altlinux.org/index.php?PHPSESSID=e57q0phv95okme...option ms-static-routes code 249 = array of unsigned integer 8;
option rfc-static-routes code 121 = array of unsigned integer 8;
subnet 10.10.1.0 netmask 255.255.255.0 {
range 10.10.1.40 10.10.1.254;
option domain-name-servers 10.10.1.1;
option routers 10.10.1.1;
option broadcast-address 10.10.1.255;
default-lease-time 604800;
max-lease-time 2592000;
options ms-staic-routes 8, 10, 10,10,1,1;
options rfc-staic-routes 8, 10, 10,10,1,1;
}