Raul Saura
2006-Apr-07 18:14 UTC
[Fedora-xen] Network problem during FC5 XEN Guest install
Hello, I''m trying to create a xen-guest install using xenguest-install.py script, following the indications from http://fedoraproject.org/wiki/FedoraXenQuickstartFC5. I''ve had to shrink mi xen0 domain to 128MB in order to allow guest to start install, otherwise I get the "The privileged domain did not balloon!" error-message. I''ve exported the FC5 DVD through NFS from the xen0 domain itself hoping it will be visible from the guest during the install process. Now I''m in the first stage of the anaconda Installer and DHCP IP learning does not seems to work, in fact no network seems to be available from the guest, because when I manually configure an IP, the guest can not see the NFS export either... I''ve been tcpduming for a while, and I can not see any traffic from/to the guest. But in fact I don''t even known if i should be seeing any traffic from the xen0 eth0 interface, should I? Any help will be welcomed. Thanks a lot. Raul.
Mark A Heilpern
2006-Apr-07 19:14 UTC
Re: [Fedora-xen] Network problem during FC5 XEN Guest install
For what it''s worth I''m having the exact same problem you are... no solution for me yet. In my case my dom0 has two physical ethernet interfaces and a Firestarter-managed firewall letting my local traffic (on eth0) NAT out to the internet (eth1), blocking most ports on eth1 from the outside world. I haven''t explored enough to determine if either multiple eth''s or the firewall are contributing towards my problem. I''ve failed both with DHCP in the guest as well as with a static IP for it. The IP I''ve used statically is 192.168.2.250 (where my eth0 device is 192.168.2.1). Is there anywhere I can download a guest disk image pre-installed? ----- Original Message -----From: Raul Saura <raul.saura@gmail.com>To: <fedora-xen@redhat.com>Cc: Date: Friday, April 7 2006 02:20 PMSubject: [Fedora-xen] Network problem during FC5 XEN Guest installHello, I''m trying to create a xen-guest install using xenguest-install.py script, following the indications from http://fedoraproject.org/wiki/FedoraXenQuickstartFC5 . I''ve had to shrink mi xen0 domain to 128MB in order to allow guest to start install, otherwise I get the "The privileged domain did not balloon!" error-message. I''ve exported the FC5 DVD through NFS from the xen0 domain itself hoping it will be visible from the guest during the install process. Now I''m in the first stage of the anaconda Installer and DHCP IP learning does not seems to work, in fact no network seems to be available from the guest, because when I manually configure an IP, the guest can not see the NFS export either... I''ve been tcpduming for a while, and I can not see any traffic from/to the guest. But in fact I don''t even known if i should be seeing any traffic from the xen0 eth0 interface, should I? Any help will be welcomed. Thanks a lot. Raul. -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen
Mark A Heilpern
2006-Apr-08 23:05 UTC
Re: [Fedora-xen] Network problem during FC5 XEN Guest install
After seeing what others with similar problems have posted, I''ve learned that my problem seems to be with Xen''s pethX creation procedure... but I''m not sure how to convince Xen to do things just a little differently. As a recap, my system has two ethernet devices: My lan: eth0, 192.168.2.X The Internet: eth1 When I reboot and Xen has created its various interfaces, I get peth1 as a part of my xenbr0 device. This is a problem though since I need my guest machines to be tied to the lan, not the internet -- but there is no peth0 device to service this. I''ve tried swapping which card is which eth through mac assignment but this just caused a peth0 to be created (mapping again to my internet ethX device) and no peth1. I also tried swapping which device gets the lan address vs. my external address, and the pethX device being created is consistantly finding my internet device. How can I change the way pethX is created? ------------------------- Original Message: From: Mark A Heilpern <mark@heilpern.com> To: fedora-xen@redhat.com Date: Friday, April 7 2006 03:14 PM Subject: Re: [Fedora-xen] Network problem during FC5 XEN Guest install For what it''s worth I''m having the exact same problem you are... no solution for me yet. In my case my dom0 has two physical ethernet interfaces and a Firestarter-managed firewall letting my local traffic (on eth0) NAT out to the internet (eth1), blocking most ports on eth1 from the outside world. I haven''t explored enough to determine if either multiple eth''s or the firewall are contributing towards my problem. I''ve failed both with DHCP in the guest as well as with a static IP for it. The IP I''ve used statically is 192.168.2.250 (where my eth0 device is 192.168.2.1). Is there anywhere I can download a guest disk image pre-installed? ----- Original Message -----From: Raul Saura <raul.saura@gmail.com>To: <fedora-xen@redhat.com>Cc: Date: Friday, April 7 2006 02:20 PMSubject: [Fedora-xen] Network problem during FC5 XEN Guest installHello, I''m trying to create a xen-guest install using xenguest-install.py script, following the indications from http://fedoraproject.org/wiki/FedoraXenQuickstartFC5 . I''ve had to shrink mi xen0 domain to 128MB in order to allow guest to start install, otherwise I get the "The privileged domain did not balloon!" error-message. I''ve exported the FC5 DVD through NFS from the xen0 domain itself hoping it will be visible from the guest during the install process. Now I''m in the first stage of the anaconda Installer and DHCP IP learning does not seems to work, in fact no network seems to be available from the guest, because when I manually configure an IP, the guest can not see the NFS export either... I''ve been tcpduming for a while, and I can not see any traffic from/to the guest. But in fact I don''t even known if i should be seeing any traffic from the xen0 eth0 interface, should I? Any help will be welcomed. Thanks a lot. Raul. -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen
I''ve said it before, but I had significant problems with anything more than trivial network setups using the default Xen scripts. I gave up, followed steps similar to these: http://wiki.xensource.com/xenwiki/XenNetworkingSuse?highlight=% 28XenNetworking%29 and things have been working pretty well ever since. On Apr 8, 2006, at 4:05 PM, Mark A Heilpern wrote:> After seeing what others with similar problems have posted, I''ve > learned that my problem seems to be with Xen''s pethX creation > procedure... but I''m not sure how to convince Xen to do things just > a little differently.
Raul Saura
2006-Apr-09 08:56 UTC
Re: [Fedora-xen] Network problem during FC5 XEN Guest install
Mark, You have to way to affect DomU networkin setup: 1) Modifying Xen-guest config file, take a look at http://wiki.xensource.com/xenwiki/XenNetworking#head-4f6aecaa0342826a7259cd08948266093cca4365 2) Manually adding or deleting interfaces to the bridges via brctl, thus selecting witch peth is connected to which vif. hope this help Raul On 4/9/06, Mark A Heilpern <mark@heilpern.com> wrote:> > After seeing what others with similar problems have posted, I''ve learned > that my problem seems to be with Xen''s pethX creation procedure... but I''m > not sure how to convince Xen to do things just a little differently. > > As a recap, my system has two ethernet devices: > My lan: eth0, 192.168.2.X > The Internet: eth1 > > When I reboot and Xen has created its various interfaces, I get peth1 as a > part of my xenbr0 device. This is a problem though since I need my guest > machines to be tied to the lan, not the internet -- but there is no peth0 > device to service this. I''ve tried swapping which card is which eth through > mac assignment but this just caused a peth0 to be created (mapping again to > my internet ethX device) and no peth1. I also tried swapping which device > gets the lan address vs. my external address, and the pethX device being > created is consistantly finding my internet device. > > How can I change the way pethX is created? > > ------------------------- > Original Message: > From: Mark A Heilpern <mark@heilpern.com> > To: fedora-xen@redhat.com > Date: Friday, April 7 2006 03:14 PM > Subject: Re: [Fedora-xen] Network problem during FC5 XEN Guest install > For what it''s worth I''m having the exact same problem you are... no > solution for me yet. > > In my case my dom0 has two physical ethernet interfaces and a > Firestarter-managed firewall letting my local traffic (on eth0) NAT out to > the internet (eth1), blocking most ports on eth1 from the outside world. I > haven''t explored enough to determine if either multiple eth''s or the > firewall are contributing towards my problem. I''ve failed both with DHCP in > the guest as well as with a static IP for it. The IP I''ve used statically is > 192.168.2.250 (where my eth0 device is 192.168.2.1). > > > Is there anywhere I can download a guest disk image pre-installed? > > > > > ----- Original Message -----From: Raul Saura <raul.saura@gmail.com>To: < > fedora-xen@redhat.com>Cc: Date: Friday, April 7 2006 02:20 PMSubject: > [Fedora-xen] Network problem during FC5 XEN Guest installHello, > > I''m trying to create a xen-guest install using xenguest-install.pyscript, following the indications from > http://fedoraproject.org/wiki/FedoraXenQuickstartFC5 > . > I''ve had to shrink mi xen0 domain to 128MB in order to allow guest to > start install, otherwise I get the "The privileged domain did not balloon!" > error-message. > I''ve exported the FC5 DVD through NFS from the xen0 domain itself hoping > it will be visible from the guest during the install process. > > > Now I''m in the first stage of the anaconda Installer and DHCP IP learning > does not seems to work, in fact no network seems to be available from the > guest, because when I manually configure an IP, the guest can not see the > NFS export either... > > > I''ve been tcpduming for a while, and I can not see any traffic from/to the > guest. But in fact I don''t even known if i should be seeing any traffic from > the xen0 eth0 interface, should I? > > Any help will be welcomed. > > > Thanks a lot. > > Raul. > > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >
Mark A Heilpern
2006-Apr-09 13:01 UTC
Re: [Fedora-xen] Network problem during FC5 XEN Guest install
My problem though is between my eth0 and eth1 real hardware devices, only a single pethX device is being created (by the kernel?)... Generally eth0 is my internal lan, so I need a peth0 device but it''s just not there (ifconfig -a shows peth1 but not peth0). If I swap IP configurations between eth0 and eth1, or if I swap MAC bindings, the pethX device that''s created is always the one tied to the internet (this is the most frustrating aspect since I can''t seem to move around the problem). Thus when eth0 is my internet link and eth1 is my lan, I end up with a peth0 but no peth1. Is there a way after the fact to cause the kernel to create a new pethX device? I don''t mind if I have to build a custom network-bridge script for each guest, but if I can''t get a pethX device that corresponds to my lan I can''t network to my guests in a reasonable way. Maybe I can abandon use of a bridge and instead spawn a new network for each vethX? That sounds quite a hassle but perhaps it can work. The problem I see then is the IP address of a machine must change to be on a unique network according to the xen id the guest receives. Thanks for the responses... Mark