Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

network config with two network cards as route to gateway



On Tue, Jul 13, 2004 at 01:36:37PM +0900, Derek Martin wrote:
> On Tue, Jul 13, 2004 at 12:21:50AM -0400, David Kramer wrote:
> > Derek Martin wrote:
> > 
> > >ISC's dhcpd allows the administrator to assign static IPs based on MAC
> > >address.
> [SNIP] 
> > I've been looking at the man page and can't see how to do that.  Can you 
> > show me an example?
> 
> Well it's been over 2 years since I've had to do it, but it's
> something like this:
> 
> host mybox {
> 	hardware ethernet 00:11:22:33:44:55;
> 	fixed-address 1.2.3.4;
> }

Yes, although I prefer this form where feasible:

host mybox {
       hardware ethernet 00:11:22:33:44:55;
       fixed-address mybox;
}

Note that this way, if you change mybox's IP address in DNS, it
will be changed on the next DHCP release as well...

-dsr-




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org