Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:creating_static_routes_for_digitalsky_network [2010/03/07 18:26]
tdobes fixed formatting
computer:creating_static_routes_for_digitalsky_network [2010/04/25 02:15]
tdobes
Line 1: Line 1:
-====== in Debian ​======+====== Creating Static Routes for DigitalSky Network ====== 
 +===== in Debian =====
 //edit /​etc/​network/​interfaces//​ //edit /​etc/​network/​interfaces//​
 <​code>​ <​code>​
Line 6: Line 7:
 </​code>​ </​code>​
  
-====== in Windows ​======+===== in Windows =====
 <​code>​route -p add 192.168.25.0 mask 255.255.255.0 10.2.25.100</​code>​ <​code>​route -p add 192.168.25.0 mask 255.255.255.0 10.2.25.100</​code>​
  
-====== for dhcpd ======+===== for dhcpd =====
 <​code>​ <​code>​
 option win-static-routes code 249 = array of unsigned integer 8; option win-static-routes code 249 = array of unsigned integer 8;
Line 18: Line 19:
   option win-static-routes 24, 192,168,25, 10,​2,​25,​100;​   option win-static-routes 24, 192,168,25, 10,​2,​25,​100;​
   option rfc3442-classless-static-routes 0, 10,​2,​25,​254, ​ 24, 192,168,25, 10,​2,​25,​100;​ # defines default route (10.2.25.254) also   option rfc3442-classless-static-routes 0, 10,​2,​25,​254, ​ 24, 192,168,25, 10,​2,​25,​100;​ # defines default route (10.2.25.254) also
 +</​code>​
 +
 +===== for dnsmasq =====
 +<​code>​
 +# this works on debian:
 +dhcp-option=option:​classless-static-route,​0.0.0.0/​0,​10.2.25.254,​192.168.25.0/​24,​10.2.25.100
 +# this works on windows:
 +dhcp-option=249,​192.168.25.0/​24,​10.2.25.100
 </​code>​ </​code>​
computer/creating_static_routes_for_digitalsky_network.txt · Last modified: 2010/04/25 02:15 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS