WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen a couple of questions

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen a couple of questions
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 6 Jun 2007 03:48:43 +0100
Cc: Octavian Teodorescu <octav@xxxxxxxxxxxxxxxx>
Delivery-date: Tue, 05 Jun 2007 19:47:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <55115.195.212.29.163.1181032443.squirrel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <55115.195.212.29.163.1181032443.squirrel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> 1. Regarding Centos and Fedora core 7 compared with fedora core 5. I've
> seen that on fedora core 5 when you want to install xen you have to
> install the following packages: xen, kernel-xen0 and kernel-xenU (of
> course with the dependencies needed). But on Centos, FC7 and I think
> redhat versions, you only have to install xen and kernel-xen, you don't
> have any kernel for the guest system. In my case I could only start a xen
> guest (on FC7) with an older kernel-xenU installed from FC version 5.
>
> My question is: Why does the newer releases of linux has xen kernel
> prebuilt but just for dom0, not for the guest systems, and you can't even
> find a domU kernel special for those systems?

The same kernel will work for both; there's no need to have a different kernel 
for the domUs.

Cheers,
Mark

> 2.My network topology in my home is like this:
> --------
> -router-
> --------
>
>
>
> -----------         ------------
> -linux xen-   ----  -other 2 pc-
> -----------         ------------
>
> The linux xen machine has two network interfaces and xen installed.
> I want: -  one windows machine virtualized
>         -  one linux machine for which I want to have a public ipaddress
> (to put the ip in DMS on the router) and I want it to use eth0 (so
> in this case the traffic can not be sniffed by other guest systems
> or dom0).
>
> ifconfig -a (on dom0) it shows like this:
> eth0      Link encap:Ethernet  HWaddr 00:00:E8:76:E2:4D
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Interrupt:21 Base address:0x2000
>
> eth1      Link encap:Ethernet  HWaddr 00:16:76:B3:16:AB
>           inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::216:76ff:feb3:16ab/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:198578 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:117290 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:267328989 (254.9 MiB)  TX bytes:8294632 (7.9 MiB)
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:2689 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2689 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:12510296 (11.9 MiB)  TX bytes:12510296 (11.9 MiB)
>
> peth1     Link encap:Ethernet  HWaddr 00:16:76:B3:16:AB
>           inet6 addr: fe80::216:76ff:feb3:16ab/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:198588 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:117311 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:270906777 (258.3 MiB)  TX bytes:8813848 (8.4 MiB)
>           Base address:0x40c0 Memory:92200000-92220000
>
> vif4.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:9 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1 errors:0 dropped:6 overruns:0 carrier:0
>           collisions:0 txqueuelen:1
>           RX bytes:1068 (1.0 KiB)  TX bytes:342 (342.0 b)
>
> virbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet addr:192.168.122.1  Bcast:192.168.122.255 
> Mask:255.255.255.0 inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:43 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:3208 (3.1 KiB)  TX bytes:2018 (1.9 KiB)
>
> I don't see any xen bridge, because that's what I think I need: one
> network card, and one xen bridge.
> I found on google that I could use the following script:
> #!/bin/sh
> dir=$(dirname "$0")
> "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
> "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1
> "$dir/network-bridge" "$@" vifnum=2 netdev=eth2 bridge=xenbr2
> And then set it into xen-config.sxp:
> network-script matrix-network
> But it gives errors that network-script has only start, stop and status.
> The only thing that it succeds is that I can see a xen bridge. If this
> would work, doesn't this affects other guest domains also?
>
> My question is: How can I set a guest dom to use directly a network card
> with other ip class ?
>
> Best regards,
> Octav
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users