Daniel wrote:
Hi, I'm having trouble creating a guest domain that uses dhcp for
> its address. I'm wondering if maybe someone can point out something > simple I may be missing.
So here's my setup. Everything is all on one machine. We're running
> a dhcp server within a zone. I've confirmed that the server is up, > and that it is handing out addresses. I have another zone set up that > uses it, and I can halt and boot that zone and it gets an ip address > from the server. So I can do this with a zone but not with a guest domU yet. Have you tried using a VNIC in the zone with the dhcp server (i.e. exclusive IP stack)? I would expect that this will work, although I'm not sure what the problem would be. e.g. # dladm create-vnic -l e1000g0 dhcp-server ... zonecfg:dhcp> set ip-type=exclusive zonecfg:dhcp> add net zonecfg:dhcp:net> set physical=dhcp-server zonecfg:dhcp:net> end
I've tried two approaches to getting the domU to get an IP address. One
> was to run a virt-install in which I explicitly choose to have the > machine networked using dhcp. I bridge it over the same network interface
that the zones are using. Unfortunately it always times out during the
> install and tells me it could not find a dhcp server.
The other thing I tried, and I think maybe this was misguided, it might
> only work for zones, but I installed a guest image without networking > and then edited the sysidcfg file to enable dhcp, and then rebooted > the guest. That didn't seem to work either.
I hope you can understand my rambling, but is there anything that comes
> to mind that I may be missing? Thanks for any help. can you do a dladm show-link and then snoop on the vnic used for the guest? Thanks, MRJ _______________________________________________ xen-discuss mailing list [email protected]
