Marc A. Müller
2007-Sep-07 13:55 UTC
[Xen-users] Network down after /etc/xen/scripts/network-bridge
Hi, I''m trying to install XEN 3.1.0 on a OpenSUSE 10.2 server (self configured kernel 2.6.18). My XenU-kernel is booting. After starting "xend start", my network is down: Neither I can reach other hosts, nor is the server reachable from other hosts. Here is the output from "ifconfig" and "route -n" BEFORE starting "xend" (the network address is replaced by AAA.BBB.CCC): ********************************************************************** ********************************************************************** eth0 Protokoll:Ethernet Hardware Adresse 00:19:D1:02:FA:4D inet Adresse:AAA.BBB.CCC.58 Bcast:AAA.BBB.CCC.255 Maske:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1251 errors:0 dropped:0 overruns:0 frame:0 TX packets:629 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:125722 (122.7 Kb) TX bytes:202013 (197.2 Kb) Basisadresse:0x20e0 Speicher:50200000-50220000 lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:1218 (1.1 Kb) TX bytes:1218 (1.1 Kb) Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface AAA.BBB.CCC.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 AAA.BBB.CCC.1 0.0.0.0 UG 0 0 0 eth0 ********************************************************************** ********************************************************************** And here is the output from "ifconfig" and "/etc/xen/scripts/network-bridge status" AFTER starting "xend": eth0 Link encap:Ethernet HWaddr 00:19:D1:02:FA:4D inet addr:AAA.BBB.CCC.58 Bcast:AAA.BBB.CCC.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:370 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:20701 (20.2 Kb) TX bytes:1260 (1.2 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:894 (894.0 b) TX bytes:894 (894.0 b) peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST NOARP MTU:1500 Metric:1 RX packets:3680 errors:0 dropped:0 overruns:0 frame:0 TX packets:295 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:384634 (375.6 Kb) TX bytes:38613 (37.7 Kb) Base address:0x20e0 Memory:50200000-50220000 vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:370 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1260 (1.2 Kb) TX bytes:20701 (20.2 Kb) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:148 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:10816 (10.5 Kb) TX bytes:0 (0.0 b) ===========================================================4: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue link/ether 00:19:d1:02:fa:4d brd ff:ff:ff:ff:ff:ff inet AAA.BBB.CCC.58/24 brd AAA.BBB.CCC.255 scope global eth0 11: xenbr0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff yes vif0.0 peth0 AAA.BBB.CCC.0/24 dev eth0 proto kernel scope link src AAA.BBB.CCC.58 169.254.0.0/16 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via AAA.BBB.CCC.1 dev eth0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface AAA.BBB.CCC.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 AAA.BBB.CCC.1 0.0.0.0 UG 0 0 0 eth0 =========================================================== As far as I can see, everything seems to be correct, isn''t it? I set all IPTABLES-policies to "ACCEPT" and switched on the forwarding, but the network remains down. The server is part of a university network with very restrictive rules. I think only traffic from registered network cards (MAC registered) is accepted. Can this make trouble? But the MAC is transferred correctly in my example? Could it be a wrong kernel configuration? Has to newly created eth0 to be a port of xenbr0 (it''s not yet)? If not, how can I reach the bridge (and the outside world), I can see no routing to it? Or is eth0 connected with vif0.0? I''m new in bridges and Xen, so please be patient :-) The documentation I read doesn''t cover these (for newbies like me) Thank You for Your time, Marc Mueller _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bart Verwilst
2007-Sep-07 23:57 UTC
Re: [Xen-users] Network down after /etc/xen/scripts/network-bridge
The almighty "ethtool -K eth0 tx off" ;) ----- Original Message ----- From: "Marc A. Müller" <xen17@marcnet.de> To: xen-users@lists.xensource.com Sent: 07 September 2007 15:55:10 o''clock (GMT+0100) Europe/Berlin Subject: [Xen-users] Network down after /etc/xen/scripts/network-bridge Hi, I''m trying to install XEN 3.1.0 on a OpenSUSE 10.2 server (self configured kernel 2.6.18). My XenU-kernel is booting. After starting "xend start", my network is down: Neither I can reach other hosts, nor is the server reachable from other hosts. Here is the output from "ifconfig" and "route -n" BEFORE starting "xend" (the network address is replaced by AAA.BBB.CCC): ********************************************************************** ********************************************************************** eth0 Protokoll:Ethernet Hardware Adresse 00:19:D1:02:FA:4D inet Adresse:AAA.BBB.CCC.58 Bcast:AAA.BBB.CCC.255 Maske:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1251 errors:0 dropped:0 overruns:0 frame:0 TX packets:629 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:1000 RX bytes:125722 (122.7 Kb) TX bytes:202013 (197.2 Kb) Basisadresse:0x20e0 Speicher:50200000-50220000 lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Sendewarteschlangenlänge:0 RX bytes:1218 (1.1 Kb) TX bytes:1218 (1.1 Kb) Kernel IP Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface AAA.BBB.CCC.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 AAA.BBB.CCC.1 0.0.0.0 UG 0 0 0 eth0 ********************************************************************** ********************************************************************** And here is the output from "ifconfig" and "/etc/xen/scripts/network-bridge status" AFTER starting "xend": eth0 Link encap:Ethernet HWaddr 00:19:D1:02:FA:4D inet addr:AAA.BBB.CCC.58 Bcast:AAA.BBB.CCC.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:370 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:20701 (20.2 Kb) TX bytes:1260 (1.2 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:894 (894.0 b) TX bytes:894 (894.0 b) peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST NOARP MTU:1500 Metric:1 RX packets:3680 errors:0 dropped:0 overruns:0 frame:0 TX packets:295 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:384634 (375.6 Kb) TX bytes:38613 (37.7 Kb) Base address:0x20e0 Memory:50200000-50220000 vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:370 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1260 (1.2 Kb) TX bytes:20701 (20.2 Kb) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:148 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:10816 (10.5 Kb) TX bytes:0 (0.0 b) ===========================================================4: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue link/ether 00:19:d1:02:fa:4d brd ff:ff:ff:ff:ff:ff inet AAA.BBB.CCC.58/24 brd AAA.BBB.CCC.255 scope global eth0 11: xenbr0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff yes vif0.0 peth0 AAA.BBB.CCC.0/24 dev eth0 proto kernel scope link src AAA.BBB.CCC.58 169.254.0.0/16 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via AAA.BBB.CCC.1 dev eth0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface AAA.BBB.CCC.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 AAA.BBB.CCC.1 0.0.0.0 UG 0 0 0 eth0 =========================================================== As far as I can see, everything seems to be correct, isn''t it? I set all IPTABLES-policies to "ACCEPT" and switched on the forwarding, but the network remains down. The server is part of a university network with very restrictive rules. I think only traffic from registered network cards (MAC registered) is accepted. Can this make trouble? But the MAC is transferred correctly in my example? Could it be a wrong kernel configuration? Has to newly created eth0 to be a port of xenbr0 (it''s not yet)? If not, how can I reach the bridge (and the outside world), I can see no routing to it? Or is eth0 connected with vif0.0? I''m new in bridges and Xen, so please be patient :-) The documentation I read doesn''t cover these (for newbies like me) Thank You for Your time, Marc Mueller _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users !DSPAM:3,46e1586f201951031770291! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users