Hi, I have problems getting xenbr0 up in dom0 and which means that I don''t have any network interface in domU. I tested different solutions presented on the list but none of those worked for me :-( The system I''m running is Debian Etch and xen 3.0.2. On other systems running xen 2.0.7 and 3.0.0 on Debian and Ubuntu everytihng works fine. Installed packages: libc6-xen linux-image-2.6.17-2-xen-686 linux-modules-2.6.17-2-xen-686 xen-hypervisor-3.0-unstable-1-i xen-linux-system-2.6.17-2-xen-6 xen-utils-3.0-unstable-1 xen-utils-common $ cat /boot/grub/menu.lst ... title Xen 3.0-unstable-1-i386 / Debian GNU/Linux, kernel 2.6.17-2-xen-686 root (hd0,0) kernel /boot/xen-3.0-unstable-1-i386.gz dom0_mem=65536 module /boot/vmlinuz-2.6.17-2-xen-686 root=/dev/hda1 ro console=tty0 module /boot/initrd.img-2.6.17-2-xen-686 savedefault ... $ cat /etc/xen/sarge name = "sarge" kernel = "/boot/vmlinuz-2.6.17-2-xen-686" ramdisk = "/boot/initrd.img-2.6.17-2-xen-686" root = "/dev/hda1 ro" memory = 68 disk = [ ''phy:/dev/vg/sarge,hda1,w'',''phy:/dev/vg/sargeswap,hda2,w'' ] dhcp ="dhcp" extra = "3" $ grep -v -e ''^#'' -e ''^$'' /etc/xen/xend-config.sxp (logfile /var/log/xen/xend.log) (loglevel DEBUG) (xend-http-server yes) (xend-relocation-server yes) (xend-port 8000) (xend-relocation-port 8002) (xend-address localhost) (xend-relocation-address localhost) (network-script network-dummy) (network-script ''network-bridge netdev=eth0'') (network-script ''network-bridge bridge=xenbr0'') (vif-script vif-bridge) (dom0-min-mem 64) (dom0-cpus 0) $ brctl show bridge name bridge id STP enabled interfaces I''m stuck now. I don''t know what I''m doing wrong or what''s missing. Does somebody know what I''m missing or what the problem is? Thanks, Hiamal _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hiamal Llanos wrote:> Hi, > > I have problems getting xenbr0 up in dom0 and which means that I don''t > have any network interface in domU. > I tested different solutions presented on the list but none of those > worked for me :-( > > The system I''m running is Debian Etch and xen 3.0.2. > On other systems running xen 2.0.7 and 3.0.0 on Debian and Ubuntu > everytihng works fine. > > Installed packages: > libc6-xen > linux-image-2.6.17-2-xen-686 > linux-modules-2.6.17-2-xen-686 > xen-hypervisor-3.0-unstable-1-i > xen-linux-system-2.6.17-2-xen-6 > xen-utils-3.0-unstable-1 > xen-utils-common > > $ cat /boot/grub/menu.lst > ... > title Xen 3.0-unstable-1-i386 / Debian GNU/Linux, kernel > 2.6.17-2-xen-686 > root (hd0,0) > kernel /boot/xen-3.0-unstable-1-i386.gz dom0_mem=65536 > module /boot/vmlinuz-2.6.17-2-xen-686 root=/dev/hda1 ro > console=tty0 > module /boot/initrd.img-2.6.17-2-xen-686 > savedefault > ... > > $ cat /etc/xen/sarge > name = "sarge" > kernel = "/boot/vmlinuz-2.6.17-2-xen-686" > ramdisk = "/boot/initrd.img-2.6.17-2-xen-686" > root = "/dev/hda1 ro" > memory = 68 > disk = [ ''phy:/dev/vg/sarge,hda1,w'',''phy:/dev/vg/sargeswap,hda2,w'' ] > dhcp ="dhcp" > extra = "3" > > $ grep -v -e ''^#'' -e ''^$'' /etc/xen/xend-config.sxp > (logfile /var/log/xen/xend.log) > (loglevel DEBUG) > (xend-http-server yes) > (xend-relocation-server yes) > (xend-port 8000) > (xend-relocation-port 8002) > (xend-address localhost) > (xend-relocation-address localhost) > (network-script network-dummy) > (network-script ''network-bridge netdev=eth0'') > (network-script ''network-bridge bridge=xenbr0'') > (vif-script vif-bridge) > (dom0-min-mem 64) > (dom0-cpus 0) > > $ brctl show > bridge name bridge id STP enabled interfaces > > > I''m stuck now. I don''t know what I''m doing wrong or what''s missing. > Does somebody know what I''m missing or what the problem is? > > > > Thanks, > Hiamal > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHi Hiamal, try putting netloop in your /etc/modules and restarting. If it still does not work, run /etc/xen/scripts/network-<your flavour> manually. Hop this helps. Sincerely, Jan. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi! On 10/1/06, John Smith <netman1@home.nl> wrote:> > Hiamal Llanos wrote: > > Hi, > > > > I have problems getting xenbr0 up in dom0 and which means that I don''t > > have any network interface in domU. > > I tested different solutions presented on the list but none of those > > worked for me :-(... Hi Hiamal,> > try putting netloop in your /etc/modules and restarting. If > it still does not work, run /etc/xen/scripts/network-<your flavour> > manually.Thanks John, that got me a bit further. Now I have vif0.0 but no xenbr0. To get it working correctly I have to do the following, after a reboot: $ sudo /etc/init.d/xendomains stop $ sudo /etc/init.d/xend stop $ sudo /etc/xen/scripts/network-bridge stop $ sudo /etc/xen/scripts/network-bridge start vif0.0 $ sudo /etc/init.d/xend start $ sudo /etc/init.d/xendomains start So now I have peth0, vif0.0 and xenbr0 And addind vif = [''''] to /etc/xen/sarge gawe my back eth0 on domU. But...wy dosn''t xenbr0 get createt on system boot? What I''m missing? Must I change something in /etc/xen/xend-config.sxp?: (logfile /var/log/xen/xend.log) (loglevel DEBUG) (xend-http-server yes) (xend-relocation-server yes) (xend-port 8000) (xend-relocation-port 8002) (xend-address localhost) (xend-relocation-address localhost) (network-script network-dummy) (network-script ''network-bridge netdev=eth0'') (network-script ''network-bridge bridge=xenbr0'') (vif-script vif-bridge) (dom0-min-mem 64) (dom0-cpus 0) Thanks Hiamal ** _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hiamal Llanos wrote:> Hi! > > On 10/1/06, *John Smith* <netman1@home.nl <mailto:netman1@home.nl>> wrote: > > Hiamal Llanos wrote: > > Hi, > > > > I have problems getting xenbr0 up in dom0 and which means that I don''t > > have any network interface in domU. > > I tested different solutions presented on the list but none of those > > worked for me :-( > > > ... > > Hi Hiamal, > > try putting netloop in your /etc/modules and restarting. If > it still does not work, run /etc/xen/scripts/network-<your flavour> > manually. > > > Thanks John, that got me a bit further. > > Now I have vif0.0 but no xenbr0. To get it working correctly I have to > do the following, after a reboot: > > $ sudo /etc/init.d/xendomains stop > $ sudo /etc/init.d/xend stop > $ sudo /etc/xen/scripts/network-bridge stop > $ sudo /etc/xen/scripts/network-bridge start vif0.0 > $ sudo /etc/init.d/xend start > $ sudo /etc/init.d/xendomains start > > So now I have peth0, vif0.0 and xenbr0 > And addind vif = [''''] to /etc/xen/sarge gawe my back eth0 on domU. > > But...wy dosn''t xenbr0 get createt on system boot? What I''m missing? > Must I change something in /etc/xen/xend- config.sxp?: > > (logfile /var/log/xen/xend.log) > (loglevel DEBUG) > (xend-http-server yes) > (xend-relocation-server yes) > (xend-port 8000) > (xend-relocation-port 8002) > (xend-address localhost) > (xend-relocation-address localhost) > (network-script network-dummy) > (network-script ''network-bridge netdev=eth0'') > (network-script ''network-bridge bridge=xenbr0'') > (vif-script vif-bridge) > (dom0-min-mem 64) > (dom0-cpus 0) > > > > Thanks > Hiamal > ** > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHiamal, I think those network-script entries in your config are conflicting: as far as I know you can only have one. Here is my xen-config.sxp; (xend-relocation-server no) (xend-relocation-hosts-allow '''') (network-script ''network-bridge netdev=eth0'') (vif-script vif-bridge) (dom0-min-mem 196) (dom0-cpus 0) Sincerely, Jan. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi John, On 10/1/06, John Smith <netman1@home.nl> wrote: ...> Now I have vif0.0 but no xenbr0. To get it working correctly I have to > > do the following, after a reboot: > > > > $ sudo /etc/init.d/xendomains stop > > $ sudo /etc/init.d/xend stop > > $ sudo /etc/xen/scripts/network-bridge stop > > $ sudo /etc/xen/scripts/network-bridge start vif0.0 > > $ sudo /etc/init.d/xend start > > $ sudo /etc/init.d/xendomains start > > > > So now I have peth0, vif0.0 and xenbr0 > > And addind vif = [''''] to /etc/xen/sarge gawe my back eth0 on domU. > > > > But...wy dosn''t xenbr0 get createt on system boot? What I''m missing? > > Must I change something in /etc/xen/xend- config.sxp?: > > > > (logfile /var/log/xen/xend.log) > > (loglevel DEBUG) > > (xend-http-server yes) > > (xend-relocation-server yes) > > (xend-port 8000) > > (xend-relocation-port 8002) > > (xend-address localhost) > > (xend-relocation-address localhost) > > (network-script network-dummy) > > (network-script ''network-bridge netdev=eth0'') > > (network-script ''network-bridge bridge=xenbr0'') > > (vif-script vif-bridge) > > (dom0-min-mem 64) > > (dom0-cpus 0) > > > > > > > > Thanks > > Hiamal > > ** > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > Hiamal, > > > I think those network-script entries in your config are > conflicting: as far as I know you can only have one. > > Here is my xen-config.sxp; > > (xend-relocation-server no) > (xend-relocation-hosts-allow '''') > (network-script ''network-bridge netdev=eth0'') > (vif-script vif-bridge) > (dom0-min-mem 196) > (dom0-cpus 0)Thanks! Yes by removing the line (network-script ''network-bridge bridge=xenbr0'') it now works correctly. Hiamal _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users