README.md
changeset 706 0816716c3f66
parent 705 c399ca928704
child 728 d3cea9988848
equal deleted inserted replaced
705:c399ca928704 706:0816716c3f66
   188     host asdf-eth2 {
   188     host asdf-eth2 {
   189         option host-name asdf;
   189         option host-name asdf;
   190         hardware ethernet 55:44:33:22:11:00;
   190         hardware ethernet 55:44:33:22:11:00;
   191         fixed-address 10.2.0.1;
   191         fixed-address 10.2.0.1;
   192     }
   192     }
       
   193 
       
   194 ### DHCP subgroups
       
   195 Hosts can be assigned to DHCP subgroups by hardware ethernet:
       
   196 
       
   197 #### `dhcpd.conf`
       
   198     class "test-hosts" {
       
   199         match hardware;
       
   200     }
       
   201 
       
   202 #### `etc/hosts/dhcp-classes.test`
       
   203     [foo]
       
   204         ethernet        = 00:11:22:33:44:55
       
   205         dhcp:subclass   = test-hosts
       
   206 
       
   207 #### `bin/pvl.hosts-dhcp etc/hosts/dhcp-classes.test`
       
   208     host foo {
       
   209         option host-name foo;
       
   210         hardware ethernet 00:11:22:33:44:55;
       
   211     }
       
   212 
       
   213     subclass "test-hosts" 1:00:11:22:33:44:55;
   193 
   214 
   194 # `update`
   215 # `update`
   195 A script to drive the *pvl.hosts* tools for maintaing a set of zone/host files for a DNS/DHCP server.
   216 A script to drive the *pvl.hosts* tools for maintaing a set of zone/host files for a DNS/DHCP server.
   196 
   217 
   197 ## Source host files
   218 ## Source host files