[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen bridge help, cannot download kickstart script



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
ÂÂÂ >ÂÂÂ 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
ÂÂÂ >ÂÂÂ 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
ÂÂÂ
ÂÂÂ >ÂÂÂ >ÂÂÂ
ÂÂÂ 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 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.