Hi I am facing issue related ot ip of guest machine. when i boot the guest machine with the following configuration for ip vif = [ ''type=ioemu, mac=00:16:3e:2a:4b:a0, bridge=xenbr0'' ] then to ip address changes after some time. Is there any other variable need to be added so that ip address remains the same for guest os while getting ip from DHCP server. thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Apr 22, 2008 at 12:19:33AM +0530, Arpan Jindal wrote:> I am facing issue related ot ip of guest machine. > when i boot the guest machine with the following configuration for ip > vif = [ ''type=ioemu, mac=00:16:3e:2a:4b:a0, bridge=xenbr0'' ] > then to ip address changes after some time. Is there any other variable > need to be added so that ip address remains the same for guest os while > getting ip from DHCP server.On yur DCHP server, pin 00:16:3e:2a:4b:a0 on the IP you want. Rainer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Apr 21, 2008 at 2:49 PM, Arpan Jindal <jindalarpan@gmail.com> wrote:> I am facing issue related ot ip of guest machine. > when i boot the guest machine with the following configuration for ip > vif = [ ''type=ioemu, mac=00:16:3e:2a:4b:a0, bridge=xenbr0'' ] > then to ip address changes after some time. Is there any other variable > need to be added so that ip address remains the same for guest os while > getting ip from DHCP server.Could you not just configure your DHCP server to pass the same IP every time based on the MAC address of the ethernet device in your DomU? That, or set your DHCP TTL to something outrageous, or just use static IP addresses for your guests... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jeff Lane wrote:> On Mon, Apr 21, 2008 at 2:49 PM, Arpan Jindal <jindalarpan@gmail.com> wrote: > > >> I am facing issue related ot ip of guest machine. >> when i boot the guest machine with the following configuration for ip >> vif = [ ''type=ioemu, mac=00:16:3e:2a:4b:a0, bridge=xenbr0'' ] >> then to ip address changes after some time. Is there any other variable >> need to be added so that ip address remains the same for guest os while >> getting ip from DHCP server. >> > > > Could you not just configure your DHCP server to pass the same IP > every time based on the MAC address of the ethernet device in your > DomU? >That''s what I use. It''s quite effecitve, as well.> That, or set your DHCP TTL to something outrageous, or just use static > IP addresses for your guests... > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi All the problem here is when i choose for DHCP ip for other systems like windows and all othere ip remains the same for month together but when i am setting dhcp for virtual machines ip doesnt remain same for more than 2 days for some of the virtual machines. thanks On 4/22/08, Nico Kadel-Garcia <nkadel@gmail.com> wrote:> > Jeff Lane wrote: > > > On Mon, Apr 21, 2008 at 2:49 PM, Arpan Jindal <jindalarpan@gmail.com> > > wrote: > > > > > > > > > I am facing issue related ot ip of guest machine. > > > when i boot the guest machine with the following configuration for ip > > > vif = [ ''type=ioemu, mac=00:16:3e:2a:4b:a0, bridge=xenbr0'' ] > > > then to ip address changes after some time. Is there any other > > > variable > > > need to be added so that ip address remains the same for guest os > > > while > > > getting ip from DHCP server. > > > > > > > > > > > > Could you not just configure your DHCP server to pass the same IP > > every time based on the MAC address of the ethernet device in your > > DomU? > > > > > That''s what I use. It''s quite effecitve, as well. > > > That, or set your DHCP TTL to something outrageous, or just use static > > IP addresses for your guests... > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users