[geeks] dhcpd question

Phil Stracchino phil.stracchino at speakeasy.net
Tue May 1 12:10:56 CDT 2007


Sridhar Ayengar wrote:
> I have this laptop which has two network interfaces, one of which is 
> 802.11g, and the other is gigabit ethernet.  Say I want the machine to 
> get the same IP address no matter which network it attaches to.  Is 
> there any way to tell dhcpd to DTRT?  I've been looking, and I can't 
> seem to find the proper syntax.
> 
> Thanks.
> 
> Peace...  Sridhar

...
        host laptop-eth0 {
                hardware ethernet       00:10:a4:d2:e3:51;
                fixed-address           10.24.32.50;
        }

        host laptop-eth1 {
                hardware ethernet       00:15:c5:5d:08:df;
                fixed-address           10.24.32.50;
        }
...


You'll be fine as long as you don't try to connect both interfaces at once.



-- 
 It's not the years, it's the mileage.
 Phil Stracchino              phil.stracchino at speakeasy.net
 Renaissance Man, Unix generalist, Perl hacker, Free Stater
 Landline: 603-429-0220                Mobile: 603-320-5438



More information about the geeks mailing list