Hi list I have a network problem (XEN in SUSE LINUX 9.3): "/var/log/warn" of xen0: Sep 16 11:12:59 xen1 ifup: No configuration found for vif16.0 Sep 16 11:12:59 xen1 ifup: No configuration found for vif16.1 "/etc/xen/config": nics=2 vif = [ ''mac=aa:cc:00:00:00:01, bridge=xen-br0'' ] vif = [ ''mac=aa:cc:00:00:00:02, bridge=xen-br1'' ] "ifconfig" of xen0 (xenU has been started): eth0 Link encap:Ethernet HWaddr 00:14:5E:0A:53:04 inet addr:192.168.1.51 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::214:5eff:fe0a:5304/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1606 errors:0 dropped:0 overruns:0 frame:0 TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:152246 (148.6 Kb) TX bytes:144920 (141.5 Kb) Interrupt:16 eth1 Link encap:Ethernet HWaddr 00:14:5E:0A:53:05 inet addr:192.168.2.51 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::214:5eff:fe0a:5305/64 Scope:Link 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:16 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:64143 errors:0 dropped:0 overruns:0 frame:0 TX packets:64143 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5157493 (4.9 Mb) TX bytes:5157493 (4.9 Mb) vif16.1 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:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:6 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) "ifconfig" of xenU: eth0 Link encap:Ethernet HWaddr AA:CC:00:00:00:02 inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::a8cc:ff:fe00:2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:362 (362.0 b) eth1 Link encap:Ethernet HWaddr AA:00:00:74:7C:06 inet addr:192.168.2.55 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::a800:ff:fe74:7c06/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:276 (276.0 b) 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:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:594 (594.0 b) TX bytes:594 (594.0 b) Ping Timeout in XenU. Stephan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Friday 16 September 2005 11:29, Stephan Böni wrote:> "/etc/xen/config": > nics=2 > vif = [ ''mac=aa:cc:00:00:00:01, bridge=xen-br0'' ] > vif = [ ''mac=aa:cc:00:00:00:02, bridge=xen-br1'' ]That lines should read: vif = [ ''mac=aa:cc:00:00:00:01, bridge=xen-br0'', ''mac=aa:cc:00:00:00:02, bridge=xen-br1'' ] You''re assigning a variable here, setting it twice will override the first value...> "ifconfig" of xen0 (xenU has been started): > eth0 Link encap:Ethernet HWaddr 00:14:5E:0A:53:04 > eth1 Link encap:Ethernet HWaddr 00:14:5E:0A:53:05 > lo Link encap:Local Loopback > vif16.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FFLooks like dom0 is missing a vif and the two bridge devices here, "xen-br0" and "xen-br1" should show up on ifconfig as well. (at least xen-br1 with the broken xenU config) Could you check "brctl show" to see if they were created at all? Maybe also check if you can use brctl to create bridges manually. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes. It works. Thanks a lot. Stephan -----Ursprüngliche Nachricht----- Von: Ernst Bachmann [mailto:e.bachmann@xebec.de] Gesendet: Freitag, 16. September 2005 11:52 An: xen-users@lists.xensource.com Betreff: Re: [Xen-users] Network problems On Friday 16 September 2005 11:29, Stephan Böni wrote:> "/etc/xen/config": > nics=2 > vif = [ ''mac=aa:cc:00:00:00:01, bridge=xen-br0'' ] > vif = [ ''mac=aa:cc:00:00:00:02, bridge=xen-br1'' ]That lines should read: vif = [ ''mac=aa:cc:00:00:00:01, bridge=xen-br0'', ''mac=aa:cc:00:00:00:02, bridge=xen-br1'' ] You''re assigning a variable here, setting it twice will override the first value...> "ifconfig" of xen0 (xenU has been started): > eth0 Link encap:Ethernet HWaddr 00:14:5E:0A:53:04 > eth1 Link encap:Ethernet HWaddr 00:14:5E:0A:53:05 > lo Link encap:Local Loopback > vif16.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FFLooks like dom0 is missing a vif and the two bridge devices here, "xen-br0" and "xen-br1" should show up on ifconfig as well. (at least xen-br1 with the broken xenU config) Could you check "brctl show" to see if they were created at all? Maybe also check if you can use brctl to create bridges manually. /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users