Xen network failing
Brian Wheeler
bdwheele at indiana.edu
Wed Feb 8 20:54:37 UTC 2006
I've been trying to get xen working on fc5t2 + rawhide and I just can't
get the networking working.
* Here's what I've got installed:
kernel-xen-guest-devel-2.6.15-1.43_FC5
xen-3.0-0.20060130.fc5.6
kernel-xen-hypervisor-devel-2.6.15-1.43_FC5
kernel-xen-hypervisor-devel-2.6.15-1.40_FC5
kernel-xen-guest-devel-2.6.15-1.40_FC5
kernel-xen-hypervisor-2.6.15-1.40_FC5
kernel-xen-guest-2.6.15-1.43_FC5
kernel-xen-guest-2.6.15-1.40_FC5
kernel-xen-hypervisor-2.6.15-1.43_FC5
* I'm booting the 2.6.15-1.43_FC5 hypervisor.
* I scale the memory in Domain-0 down to 128M via
xm mem-set Domain-0 128
(the machine has 512M total)
* I run the newest xenguest-install.py from people.redhat.com. The
memory is set to 256M, w/a 4G disk image. I'm pointing to a local ftp
mirror of rawhide.
* Installation starts and it asks for language & keyboard.
* I let DHCP config the interface.
* A quick window flashes (I can't read it -- its too fast), but about 3
or 4 minutes later I get a 'failed to connect to FTP server' message.
* the firewall is turned off, but when the domU is running, there is a
rule:
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere PHYSDEV
match --physdev-in vif2.0
* ip forwarding is turned on (echo 1 > /proc/sys/net/ipv4/ip_forward)
* ifconfig -a looks like this:
eth0 Link encap:Ethernet HWaddr 00:B0:D0:CE:CB:4E
inet addr:129.79.32.152 Bcast:129.79.32.255
Mask:255.255.255.0
inet6 addr: 2001:18e8:2:32:2b0:d0ff:fece:cb4e/64 Scope:Global
inet6 addr: fe80::2b0:d0ff:fece:cb4e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25332 errors:0 dropped:0 overruns:0 frame:0
TX packets:2564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9050506 (8.6 MiB) TX bytes:359009 (350.5 KiB)
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:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2059 (2.0 KiB) TX bytes:2059 (2.0 KiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:29744 errors:0 dropped:0 overruns:2 frame:0
TX packets:2976 errors:0 dropped:0 overruns:0 carrier:0
collisions:88 txqueuelen:1000
RX bytes:10154374 (9.6 MiB) TX bytes:398012 (388.6 KiB)
Interrupt:5 Base address:0xec00
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth2 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth3 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth4 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth5 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth6 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
veth7 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vif0.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:2564 errors:0 dropped:0 overruns:0 frame:0
TX packets:25341 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:359009 (350.5 KiB) TX bytes:9051241 (8.6 MiB)
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[ same for vif0.2 - vif0.7 ]
vif2.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:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:13777 errors:0 dropped:532 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3832 (3.7 KiB) TX bytes:1556351 (1.4 MiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: 2001:18e8:2:32:fcff:ffff:feff:ffff/64 Scope:Global
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17361 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1658926 (1.5 MiB) TX bytes:2924 (2.8 KiB)
* brctl show displays this:
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no peth0
vif0.0
vif2.0
* the eth0 interface on Dom0 is dhcp generated, if that makes any
difference.
Any clues on what I'm missing? I'd guess that my ip for the Dom0 is on
the wrong interface, but I'm not sure which one, or if that's even
right.
Thanks!
Brian Wheeler
bdwheele at indiana.edu
More information about the fedora-devel-list
mailing list