Thank you very much!
I use this to set my virtual machine ip address, but the problem still
comes. Although I use ip=XX in the cfg file, but when the virtual machine
was created, it still use dhcp, can you tell me how to config vif in detail?
Such as how to config the netmask and gateway?
I doubt that it is dhcp that cause this problem
2007/11/7, Grabber <grabber@gmail.com>:>
> Jian,
>
> How you are setting your static ip? Try to use:
>
> dhcp = ''dhcp''
> vif = [ ''ip=192.168.1.10, mac=XX:XX:XX:XX:XX,
bridge=xenbr0'' ]
>
>
> Regards,
> Luiz Vitor Martinez Cardoso aka Grabber.
>
>
> On 11/5/07, jian zhang <cheechuang@gmail.com > wrote:
> >
> > Thank you for your reply!
> > Yes, I am using bridges. I created a virtual machine by xm create
*.cfg,
> > by default, the ip address was allocated by dhcp, but I changed it to
static
> > ip in the virtual machine, then if I ping 192.168.1.1 in our LAN, it
can
> > lasts only a few secondes, then the connection was lost.
> > Besides, this problem only comes with fedora6 virtual machine, it
> > doesn''t appears in windows xp virtual machine.
> > can you help me ?
> >
> > Thank you very much!
> >
> >
> > 2007/11/6, Grabber <grabber@gmail.com>:
> > >
> > > Probably you are using bridges, correct?
> > >
> > > If you use bridges you need to dhclient xenbrX or fix a static
ip
> > > number.
> > >
> > >
> > > Explain better your problem, i can
> > >
> > >
> > > Regards,
> > > Luiz Vitor Martinez Cardoso aka Grabber.
> > >
> > > On Nov 4, 2007 10:51 AM, jian zhang <cheechuang@gmail.com
> wrote:
> > >
> > > > Hi all:
> > > > I installed xen-3.0.4 on Fedora 7, and installed Fedora 6 as
> > > > DomainU, but, the network can not work normally. It only
work for seconds,
> > > > then I lose connect. If I ifdown the NIC and ifup it, the
network can work
> > > > for a few seconds, Can anybody help me figure
what''s the problem ??
> > > > Thank you in advance
> > > >
> > > > _______________________________________________
> > > > Xen-devel mailing list
> > > > Xen-devel@lists.xensource.com
> > > > http://lists.xensource.com/xen-devel
> > > >
> > > >
> > >
> > >
> > > --
> > > Atenciosamente,
> > > Luiz Vitor.
> >
> >
> >
>
>
> --
> Atenciosamente,
> Luiz Vitor.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel