Re: advanced dhcpd.conf

2014-06-09 Thread shimi
On Tue, Jun 10, 2014 at 8:29 AM, Erez D wrote: > On Mon, Jun 9, 2014 at 10:31 PM, shimi wrote: > > On Mon, Jun 9, 2014 at 6:15 PM, Erez D wrote: > >> > >> no, i want: > >> host vm01 { hardware ethernet 00:11:22:33:44:01 ; fixed-address > 10.0.5.1 } > >> host vm02 { hardware ethernet 00:11:22:33

Re: advanced dhcpd.conf

2014-06-09 Thread Erez D
On Tue, Jun 10, 2014 at 12:11 AM, Amos Shapira wrote: > Yup. > Or do what we did at my workplace and use puppet to maintain (and generate, > if needed) the configuration. > just buy a cow for a cup of milk ;-) > On 10 Jun 2014 05:33, "shimi" wrote: >> >> On Mon, Jun 9, 2014 at 6:15 PM, Erez D wr

Re: advanced dhcpd.conf

2014-06-09 Thread Erez D
On Mon, Jun 9, 2014 at 10:31 PM, shimi wrote: > On Mon, Jun 9, 2014 at 6:15 PM, Erez D wrote: >> >> no, i want: >> host vm01 { hardware ethernet 00:11:22:33:44:01 ; fixed-address 10.0.5.1 } >> host vm02 { hardware ethernet 00:11:22:33:44:02 ; fixed-address 10.0.5.2 } >> host vm03 { hardware ether

Re: advanced dhcpd.conf

2014-06-09 Thread Amos Shapira
Yup. Or do what we did at my workplace and use puppet to maintain (and generate, if needed) the configuration. On 10 Jun 2014 05:33, "shimi" wrote: > On Mon, Jun 9, 2014 at 6:15 PM, Erez D wrote: > >> no, i want: >> host vm01 { hardware ethernet 00:11:22:33:44:01 ; fixed-address 10.0.5.1 } >> ho

Re: advanced dhcpd.conf

2014-06-09 Thread shimi
On Mon, Jun 9, 2014 at 6:15 PM, Erez D wrote: > no, i want: > host vm01 { hardware ethernet 00:11:22:33:44:01 ; fixed-address 10.0.5.1 } > host vm02 { hardware ethernet 00:11:22:33:44:02 ; fixed-address 10.0.5.2 } > host vm03 { hardware ethernet 00:11:22:33:44:03 ; fixed-address 10.0.5.3 } > ...

Re: advanced dhcpd.conf

2014-06-09 Thread Erez D
On Mon, Jun 9, 2014 at 10:33 AM, geoffrey mendelson wrote: > On 6/9/2014 10:14 AM, Erez D wrote: >> >> i'm trying to match ip to macs >> >> >> e.g.: >> mac 00:11:22:33:44:01 -> 10.0.5.1 >> mac 00:11:22:33:44:02 -> 10.0.5.2 >> mac 00:11:22:33:44:03 -> 10.0.5.3 >> mac 00:11:22:33:44:04 -> 10.0.5.4 >

Re: advanced dhcpd.conf

2014-06-09 Thread geoffrey mendelson
On 6/9/2014 10:14 AM, Erez D wrote: i'm trying to match ip to macs e.g.: mac 00:11:22:33:44:01 -> 10.0.5.1 mac 00:11:22:33:44:02 -> 10.0.5.2 mac 00:11:22:33:44:03 -> 10.0.5.3 mac 00:11:22:33:44:04 -> 10.0.5.4 it does not seem to work is it possible to do that ? highlights of dhcpd.conf: c

advanced dhcpd.conf

2014-06-09 Thread Erez D
i'm trying to match ip to macs e.g.: mac 00:11:22:33:44:01 -> 10.0.5.1 mac 00:11:22:33:44:02 -> 10.0.5.2 mac 00:11:22:33:44:03 -> 10.0.5.3 mac 00:11:22:33:44:04 -> 10.0.5.4 it does not seem to work is it possible to do that ? highlights of dhcpd.conf: class "vm" { match if binary-to-ascii (