Skip to contentSkip to conversation

Xen Network Problems

DISCUSSION jian zhang 2 participants 3 messages Nov 4, 2007 – Nov 7, 2007 2 messages not in the archive

lore
Share & tools
lore

jian zhang

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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.

Quoted 13 lines · jian zhang

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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
Atenciosamente,
Luiz Vitor.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw

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 <[email protected]>:

Quoted 66 lines

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.

Quoted 10 lines · jian zhang

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 ?

Quoted 40 lines

Thank you very much!

2007/11/6, Grabber <[email protected]>:

Quoted 33 lines

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.

Quoted 7 lines · jian zhang

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

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

--
Atenciosamente,
Luiz Vitor.

Quoted 3 lines

--
Atenciosamente,
Luiz Vitor.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel