On Fri, Apr 23, 2010 at 11:24:13PM -0500, Greg Kellogg wrote:
> Hi all,
> I am really having a tough time finding accurate information.
> I am trying to create a "bare metal" installation and would like a
> vserver to to "own" the physical interface and use dhcp. In other
> words, I do not want the host to have to pump for the address, just
> the vserver itself.
> I have tried a DHCP.conf file, adding eth0 in the interfaces list
> without an address and any other option I could find.
> Is this possible?
yes, it is possible, but not the suggested way to do things ...
> If so, how?
you can either give the guest the necessary permissions to
the guest (in form of capabilities), which will allow it
to mess with networking in general, not just that interface
> I am running Gentoo 2.6.22 kernel with the latest vserver build.
or you can use network namespaces (present in recent kernels)
and set that up with a virtual ethernet interface and a bridge
on the host (more overhead)
but in general requesting a second dhcp id on the host and
assigning that to the guest is much simpler and a lot cleaner :)
Received on Sat Apr 24 10:54:37 2010