[TriLUG] Trying to get (too) fancy with dhcpd.conf
Ken Mink
ken.mink at gmail.com
Thu Aug 11 15:58:40 EDT 2005
On 8/11/05, Steve Hoffman <srhoffman at gmail.com> wrote:
> I'd like to use DHCP to assign two ip addresses to one network
> card...I know it's possible to do by hand, but I'd like to automate
> the process. I have already got several clients (win and linux)
> getting a fixed-address, but only one. I thought about creating
> virtual adapter in linux (eth0:0) but I see the MAC is the same as the
> real card and I guess I'd expect it would be. But I would like this
> to work on the Windows machines as well. The main reson I'm looking
> into this is because $BOSS has decided he wants a public IP address
> for his laptop in addition to the private IP he needs to access may
> features in the office. Naturally he also wants it to just work when
> he gets home (using DHCP as well). I setup the alternate
> configuration on his machine running XP, he gets a DHCP assigned
> private...and no public...
>
> Can this be done with dhcpd?
>
> Thanks,
> Steve
As you've seen from Aaron's reply, it's not really possible via DHCP.
Your question is about solving a particular request from your $BOSS.
His request seems to be a solution he came up with to a particular
problem. There may be other solutions. I know he's the $BOSS, but
maybe asking him some questions about the base problem may yield
another solution.
One thought, instead of putting 2 addresses on his machine, you could
add another IP to the firewall/NAT machine and forward everything for
that IP to his machine.
Ken
--
---------------------------------------------
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."--Benjamin Franklin
" 'Necessity' is the plea for every infringement of human liberty; it
is the argument of tyrants; it is the creed of slaves."--William Pitt
More information about the TriLUG
mailing list