<div dir="ltr">Hello,<div>I've set dnsmasq to provide static routes for vpn clients.</div><div>Several routes I can configure like this (gw is 1.2.3.4):</div><div>dhcp-option=121,<a href="http://10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4">10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4</a></div><div>dhcp-option=249,<a href="http://10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4">10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4</a><br></div><div>(the second line is for compatibility with MS and Apple systems)</div><div><br></div><div>Unfortunately I have a lot of different IP's to route (about 30).<br></div><div>If I put all in one line dnsmasq won't start (it accepts about 255 bytes for dhcp-option according to RFC): </div>Jun 24 19:43:32 vpn dnsmasq[21760]: dhcp-option too long at line 318 of /etc/dnsmasq.conf<br><br>Jun 24 19:43:32 vpn dnsmasq[21760]: FAILED to start up<br><br>If I make few lines with the same option only last is used:<br><br>dhcp-option=249,<a href="http://10.0.0.1/32,1.2.3.4">10.0.0.1/32,1.2.3.4</a><br><br>dhcp-option=249,<a href="http://192.168.13.15/32,1.2.3.4">192.168.13.15/32,1.2.3.4</a><br><div><br></div><div>and only route to 192.168.13.15 is set.</div><div><br></div><div>Is there possibility to configure all the static routes I need?</div><div><br></div><div>Thank you</div><div><br></div><div>Michal</div></div>