DHCP reserve IPs
Benton E. Cole
benton.cole at tic.toshiba.com
Fri Apr 30 07:49:54 UTC 2004
On Thu, 2004-04-29 at 22:11, Matthew Saltzman wrote:
> On Fri, 30 Apr 2004, Edward wrote:
>
> >
> >
> > Matthew Saltzman wrote:
> > > host hostname
> > > {
> > > fixed-address xxx.xxx.xxx.xxx;
> > > hardware ethernet xx:xx:xx:xx:xx:xx;
> > > hardware ethernet yy:yy:yy:yy:yy:yy;
> > > }
> > >
> > > and I thought it used to work, but now only yy:yy:yy:yy:yy:yy is assigned
> > > the fixed address. Instead, xx:xx:xx:xx:xx:xx gets a pool address.
> > > Should this work, and if not, is there a way to accomplish what I want?
> > >
> > > Thanks.
> > >
> >
> > Interesting question.
> >
> > Have you tried 2 sections instead of 1 section with two mac addresses?
> >
> > e.g.
> >
> > host hostname
> > {
> > fixed-address xxx.xxx.xxx.xxx;
> > hardware ethernet xx:xx:xx:xx:xx:xx;
> > }
> >
> > host hostname
> > {
> > fixed-address xxx.xxx.xxx.xxx;
> > hardware ethernet yy:yy:yy:yy:yy:yy;
> > }
> >
> > I have no idea whether this will work really, just a thought to try.
> >
> > Regards,
> > Ed.
>
> IIRC, that results in a complaint about duplicate hostnames. I'm
> traveling for a few days, but I'll try again at some point.
>
You are correct. It complains about duplicate hostnames.
If you slightly change the hostname, for one section, it should work. I
know it doesn't force the hostname onto the machine. Because, when a
physical machine name is changed and the MAC is the same we still get
these addresses pushed out to the machine. I think you have another
option for that called server-name.
Hope this helps,
--
Benton E. Cole <benton.cole at tic.toshiba.com>
More information about the fedora-list
mailing list