<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 24, 2016 at 2:51 AM, Vladimir Skubriev <span dir="ltr"><<a href="mailto:skubriev@cvisionlab.com" target="_blank">skubriev@cvisionlab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Is there a way to declare static hosts more smartest?<div><br></div><div>Now I used following config strings:</div><div><br></div><div>...</div><div><div>  host callisto {</div><div>    hardware ethernet 00:25:33:44:80:55;</div><div>    fixed-address callisto;</div><div>  }</div><div><br></div><div>  host earth {</div><div>    hardware ethernet 14:99:88:71:77;</div><div>    fixed-address earth;</div><div>  }</div></div><div>...</div><div><br></div><div>Is there a way not to be repeated in fixed-address and declaring only host-decl-names in host [hostname] directive?</div><div><br></div><div>Something like this:</div><div><br></div><div><div>...</div><div><div>  host callisto {</div><div>    hardware ethernet 00:25:33:44:80:55;</div><div>    fixed-address [something];</div><div>  }</div><div><br></div><div>  host earth {</div><div>    hardware ethernet 14:99:88:71:77;</div><div>    fixed-address [something];</div><div>  }</div></div><div>...</div><div><br></div><div>Thank you.</div><span class=""><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div>Faithfully yours,<br></div><div><br></div><div>CVision Lab System Administrator</div><div>Vladimir Skubriev</div><div><br></div><div><br></div></div></div></font></span></div></div></blockquote><div>I think the 'host' line just needs to be unique, so you could do:</div><div><br></div><div> ...</div><div><div>  host 1 {</div><div>    hardware ethernet 00:25:33:44:80:55;</div><div>    fixed-address [something];</div><div>  }</div><div><br></div><div>  host 2 {</div><div>    hardware ethernet 14:99:88:71:77;</div><div>    fixed-address [something];</div><div>  }</div></div><div>...</div><div><br></div></div>or a, b, or host1, host2 (not sure if plain numbers are allowed)</div><div class="gmail_extra">The 'host' line does not need to match the 'fixed-address' line.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-- </div><div class="gmail_extra">Bob Harold</div><div class="gmail_extra"><br></div></div>