Project

General

Profile

« Previous | Next » 

Revision 8422ee07

Added by Isabell Cowan over 7 years ago

Fix classless static routes.

  • Corrected format of classless static routes in dhcpd.pool.erb to allow multiple static routes as well as a default route.
  • Removed duplicate space in test case after ms-classless-static-routes in pool_spec.rb.
  • Added /0 netmask (default) static route to test case in pool_spec.rb.
  • Included documentation in README.md for specifying a default route in static_routes.

View differences:

README.md
network => '10.0.1.0',
mask => '255.255.255.0',
range => '10.0.1.100 10.0.1.200',
gateway => '10.0.1.1',
static_routes => [ { 'mask' => '32', 'network' => '169.254.169.254', 'gateway' => $ip } ],
gateway => $gw,
static_routes => [ { 'mask' => '32', 'network' => '169.254.169.254', 'gateway' => $ip },
{ 'mask' => '0', 'gateway' => $gw } ],
}
### dhcp::host

Also available in: Unified diff