http://bugzilla.novell.com/show_bug.cgi?id=564093 http://bugzilla.novell.com/show_bug.cgi?id=564093#c2 --- Comment #2 from Yury Buldakov <yury.buldakov@gmail.com> 2009-12-14 11:31:06 UTC ---
The /etc/xen/scripts/network-bridge script is not supposed to be used in openSUSE 11.1 or 11.2. All network management / bridge creation is done using `yast2 lan` or by manually modifying standard ifcfg files.
Yes, but in case of xen bridge creation is done inside of /etc/xen/scripts/network-bridge script
Are you using network-bridge on your system? Please post the output of the following command: grep -e "^(network-script" /etc/xen/xend-config.sxp
Yes, I'm using network-bridge on my system:
silentnoise:/etc/xen/scripts # grep -e "^(network-script" /etc/xen/xend-config.sxp (network-script network-bridge)
AFAIK network-bridge should take care of creating appropriate bridge device during rcxend start (it should rename eth0 -> peth0, create bridge eth0 and attach peth0 to it), but:
silentnoise:/etc/xen/scripts # rcxend restart Restarting xend (old pid 5822 5821) mkdir: cannot create directory `/dev/shm/sysconfig/xenbridges': No such file or directory mkdir: cannot create directory `/dev/shm/sysconfig/xenbridges': No such file or directory
silentnoise:/etc/xen/scripts # ifconfig eth0 Link encap:Ethernet HWaddr 00:1D:60:6F:88:51 inet addr:192.168.192.114 Bcast:192.168.223.255 Mask:255.255.224.0 UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:21948815 errors:0 dropped:0 overruns:0 frame:0 TX packets:16486108 errors:0 dropped:0 overruns:0 carrier:10 collisions:0 txqueuelen:1000 RX bytes:21809567495 (20799.2 Mb) TX bytes:1693886480 (1615.4 Mb) Memory:dffc0000-e0000000
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:459392 errors:0 dropped:0 overruns:0 frame:0 TX packets:459392 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:71895150 (68.5 Mb) TX bytes:71895150 (68.5 Mb)
After creating symlink /dev/shm/sysconfig -> /dev/.sysconfig/network:
silentnoise:/etc/xen/scripts # rcxend restart Restarting xend (old pid 8630 8628) eth0
executing additional global stop script if-down.d/21-dhcpcd-hook-samba executing additional global stop script if-down.d/21-smbfs executing additional global stop script if-down.d/xen eth0 eth0 eth0 eth0 No services to handle for 'eth0 eth0' eth0 eth0 eth0 eth0 Shutting down dhcp clients on eth0 eth0 eth0 Shutting down dhcp clients on eth0 eth0 eth0 eth0 eth0 'eth0' is not wireless, exiting eth0
eth0 eth0 'eth0' is not wireless, exiting eth0 eth0 Warning: Bridge eth0 already exists! eth0 eth0 Activating interface eth0 Starting dhcp client: /sbin/dhcpcd --netconfig -L -E -HHH -c /etc/sysconfig/network/scripts/dhcpcd-hook -t "0" -I "silentnoise.intra" -h "silentnoise" eth0 DHCP4(required=no) STARTED=yes STATUS=0 DHCP6(required=no) STARTED=no STATUS=5 eth0 eth0 calling: ip route replace to 169.254.0.0/16 dev eth0 ---> OK
and result:
silentnoise:/etc/xen/scripts # ifconfig eth0 Link encap:Ethernet HWaddr 00:1D:60:6F:88:51 inet addr:192.168.192.114 Bcast:192.168.223.255 Mask:255.255.224.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:505 errors:0 dropped:0 overruns:0 frame:0 TX packets:115 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:66877 (65.3 Kb) TX bytes:61572 (60.1 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:460909 errors:0 dropped:0 overruns:0 frame:0 TX packets:460909 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:72082102 (68.7 Mb) TX bytes:72082102 (68.7 Mb)
peth0 Link encap:Ethernet HWaddr 00:1D:60:6F:88:51 UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:21964565 errors:0 dropped:0 overruns:0 frame:0 TX packets:16488261 errors:0 dropped:0 overruns:0 carrier:11 collisions:0 txqueuelen:1000 RX bytes:21813355029 (20802.8 Mb) TX bytes:1694217127 (1615.7 Mb) Memory:dffc0000-e0000000
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.