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

Re: getting an address from DHCP without an interface



also sprach Bob Proulx <bob@proulx.com> [2002.11.18.1816 +0100]:
> Idea1:  It seems strange that you can't use the same interface to dhcp
> on the second time.  Just render the client impotent so that it does
> not change the current parameters.

can you elaborate on this?

> Idea2:  Create a virtual interface and use DHCP on that.  Linux
> supports IIRC up to 255 virtual interfaces.  (Now you will ask how to
> do that and I don't know off of the top of my head.  Would need to
> look it up.  But I recall it being a trivial ifconfig one-liner.)

eth0:1 is a virtual interface of eth0, but it has the same MAC
address, so it will get the same IP assigned as eth0 did by the DHCP
server.

a solution might be dummy0...

-- 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: pgpBPGTACvM2O.pgp
Description: PGP signature


Reply to: