Hi
I've been having trouble getting Xen setup with fedora-18. I have a bridge
setup on my Dom0 called xenbr0. I have attached my primary interface on
Dom0 to the created bridge. Here is my config for the bridge *ifcfg-xenbr0*.
*    DEVICE=xenbr0    TYPE=Bridge    DNS1=172.xxx.xxx.xxx
IPADDR=172.xxx.xxx.xxx    GATEWAY=172.xxx.xxx.xxx
NETMASK=255.xxx.xxx.xxx    ONBOOT=yes    BOOTPROTO=static*
And here is my config file for the original interface called em1,
*ifcfg-em1*
* UUID=my-UUID-xxx    #DNS1=172.xxx.xxx.xxx    #IPADDR=172.xxx.xxx.xxx
#GATEWAY=172.xxx.xxx.xxx    HWADDR=00:21:9b:xx:xx:xx
#NETMASK=255.xxx.xxx.xxx    #BOOTPROTO=static    DEVICE=em1
ONBOOT=yes    BRIDGE=xenbr0*
After I created the two config files I did a *service network restart* and
both *em1* and *xenbr0* came up without any issues. I also updated my
*/etc/sysctl.conf* with the following lines to disable netfilter
*net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0*
And finally here is the config file I am using the to create my DomU
*name="xen-testjest-2"    vcpus=1    memory=1024
on_reboot='destroy'    on_crash='destroy'
disk=["file:/images/xen-testjest-2.img,xvda,w"]
vif=["mac=00:16:3e:xx:xx:xx,bridge=xenbr0"]
kernel="/images/boot/f15-installdvd-vmlinuz"
ramdisk="/images/boot/f15-installdvd-initrd"    extra = "text
ks=http://server.with.kickstartfile/imaging/kickstart/f-15.ks
<http://server.with.kickstartfile/imaging/kickstart/f-15.ks>
ip=172.xxx.xxx.xxx netmask=255.xxx.xxx.xxx gateway=172.xxx.xxx.xxx
dns=172.xxx.xxx.xxx"*
Now the issue is when I try to run *xl create <my_config_file>* and I
console in to the domain as it is being built. Everything is fine until it
tries to retrieve the kickstart file from my server where my kickstart file
is located. It always fails with the error *Unable to download the
kickstart file*. I can download the file when I paste the url in my browser
or do a wget.
When I do a tcpdump at the point when it tries to retrieve the kickstart
file on my Dom0 I see packets going from the my DomU to the server where my
kickstart file is located. When I do a tcpdump on my server which contains
the kickstart script I see packets coming in from my DomU and I also see
packets being sent to DomU from my server with the ks script, but I never
see any packets being received by DomU from the server with the ks file
Im not really sure how to solve this problem, it seems as if my bridge is
not forwarding the packets. Here is the output of my *ifconfig*
*    em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
ether 00:21:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)            RX packets
321324  bytes 157540178 (150.2 MiB)            RX errors 0  dropped 3788
overruns 0  frame 0            TX packets 144519  bytes 26480182 (25.2
MiB)            TX errors 0  dropped 0 overruns 0  carrier 0  collisions
0        lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536            inet
127.0.0.1  netmask 255.0.0.0            inet6 ::1  prefixlen 128  scopeid
0x10<host>            loop  txqueuelen 0  (Local Loopback)            RX
packets 176287  bytes 13202155 (12.5 MiB)            RX errors 0  dropped
0  overruns 0  frame 0            TX packets 176287  bytes 13202155 (12.5
MiB)            TX errors 0  dropped 0 overruns 0  carrier 0  collisions
0        vif6.0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu
1500            inet6 fe80::fcff:ffff:feff:ffff  prefixlen 64  scopeid
0x20<link>            ether fe:ff:ff:ff:ff:ff  txqueuelen 32
(Ethernet)            RX packets 36  bytes 1886 (1.8 KiB)            RX
errors 0  dropped 0  overruns 0  frame 0            TX packets 10711  bytes
867595 (847.2 KiB)            TX errors 0  dropped 0 overruns 0  carrier 0
collisions 0        virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu
1500            inet 192.xxx.xxx.xxx  netmask 255.xxx.xxx.xxx  broadcast
192.xxx.xxx.xxx            ether 82:76:xx:xx:xx:xx  txqueuelen 0
(Ethernet)            RX packets 0  bytes 0 (0.0 B)            RX errors 0
dropped 0  overruns 0  frame 0            TX packets 0  bytes 0 (0.0
B)            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    xenbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 172.xxx.xxx.xxx  netmask 255.xxx.xxx.xxx  broadcast
172.xxx.xxx.xxx            inet6 fe80::xxxx:xxxx:xxxx:xxx  prefixlen 64
scopeid 0x20<link>            ether 00:21:xx:xx:xx:xx  txqueuelen 0
(Ethernet)            RX packets 258423  bytes 147784996 (140.9
MiB)            RX errors 0  dropped 0  overruns 0  frame 0            TX
packets 143559  bytes 25774695 (24.5 MiB)            TX errors 0  dropped 0
overruns 0  carrier 0  collisions 0*
And here is the output of *brctl show*
*    bridge name    bridge id        STP enabled    interfaces    virbr0
    8000.000000000000    yes    xenbr0        8000.00219b98f0ae    no
    em1
                                       vif6.0*
I have been stuck on this for a couple of days now, without making any
progress. I've been searching for a solution online for some time without
coming up with anything that would solve the issue I am having. Any help
will be greatly appreciated :) cause this is starting to get a little bit
frustrating :(
- Thanks everyone
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users