Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17838

DHCPD and multiple static routes

$
0
0

Hi,

Im struggling a bit getting isc-dhcp-server to send out multiple static routes. If i comment out one of them, it will send out another, so the config seems to be good, but it just wont send out more than one.

Here is my current config (excluding sensitive bits) -

subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.4 192.168.0.254; filename "pxelinux.0"; next-server 192.168.0.242; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option rfc3442-classless-static-routes 24, 10, 8, 0, 192, 168, 0, 242 ; option classless-routes-win 24, 10, 8, 0, 192, 168, 0, 242 ; option rfc3442-classless-static-routes 24, 10, 8, 5, 192, 168, 0, 242 ; option classless-routes-win 24, 10, 8, 5, 192, 168, 0, 242 ; option rfc3442-classless-static-routes 24, 192, 168, 2, 192, 168, 0, 126 ; option classless-routes-win 24, 192, 168, 2, 192, 168, 0, 126 ; option rfc3442-classless-static-routes 24, 192, 168, 1, 192, 168, 0, 126 ; option classless-routes-win 24, 192, 168, 1, 192, 168, 0, 126 ; 

And i have the option set outside the subnet stanza -

 option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; option classless-routes-win code 249 = array of unsigned integer 8; 

At the moment, i have a pfsense vm which connects to 2 other pfsense vm's on remote hosts. I currently have multiple different VPN's running that on different machines that id like to consolidate down to just this VM. I should also mention pfsense is not running as the dhcp server, i have another box that does that.

Any clues would be great!

submitted by fattylewis
[link][1 comment]

Viewing all articles
Browse latest Browse all 17838

Trending Articles