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

ifupdown error on startup, Debian Xen



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am running a server as a Xen host. I think something other than ifupdown is starting my network interfaces on boot. A symptom of the issue is that the Xen bridge fails to start, and ipv6 does not work.

If I run ifconfig eth0 down && sleep 2 && ifup eth0 and then restart xend, the network bridge works fine, and ipv6 is started. Any clues ?




Info :


control:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 193.239.32.152
	netmask 255.255.255.0
	network 193.239.32.0
	gateway 193.239.32.1

iface eth0 inet6 static
	address 2a02:c30:1:1::152
	netmask 64
	gateway 2a02:c30:1:1::1


control:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:1e:c9:ba:cf:96
inet addr:193.239.32.152 Bcast:193.239.32.255 Mask: 255.255.255.0
          inet6 addr: fe80::21e:c9ff:feba:cf96/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17390 (16.9 KiB)  TX bytes:16635 (16.2 KiB)
          Interrupt:16


control:~# ifconfig eth0 down && sleep2 && ifup -v -a
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d

ifconfig eth0 193.239.32.152 netmask 255.255.255.0 broadcast 193.239.32.255 up
 route add default gw 193.239.32.1  eth0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/openssh-server
Configuring interface eth0=eth0 (inet6)
run-parts --verbose /etc/network/if-pre-up.d
ifconfig eth0    up
ifconfig eth0 add 2a02:c30:1:1::152/64
 route -A inet6 add ::/0 gw 2a02:c30:1:1::1 eth0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/openssh-server

control:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:1e:c9:ba:cf:96
inet addr:193.239.32.152 Bcast:193.239.32.255 Mask: 255.255.255.0
          inet6 addr: 2a02:c30:1:1::152/64 Scope: global
          inet6 addr: fe80::21e:c9ff:feba:cf96/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17390 (16.9 KiB)  TX bytes:16635 (16.2 KiB)
          Interrupt:16

ii libc6-xen 2.7-18 GNU C Library: Shared libraries [Xen version] ii libxenstore3.0 3.2.1-2 Xenstore communications library for Xen ii linux-image-2.6.26-1-xen-686 2.6.26-13lenny2 Linux 2.6.26 image on i686, oldstyle Xen support ii linux-modules-2.6.26-1-xen-686 2.6.26-13lenny2 Linux 2.6.26 modules on i686 ii xen-hypervisor-3.2-1-i386 3.2.1-2 The Xen Hypervisor on i386 ii xen-linux-system-2.6.26-1-xen-686 2.6.26-13lenny2 XEN system with Linux 2.6.26 image on i686 ii xen-shell 1.8-3 Console based Xen administration utility ii xen-tools 3.9-4 Tools to manage Debian XEN virtual servers ii xen-utils-3.2-1 3.2.1-2 XEN administrative tools ii xen-utils-common 3.2.0-2 XEN administrative tools - common files ii xenstore-utils 3.2.1-2 Xenstore utilities for Xen


Linux control 2.6.26-1-xen-686 #1 SMP Fri Mar 13 22:30:40 UTC 2009 i686 GNU/Linux


Thanks
Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)

iEYEARECAAYFAkpPnysACgkQiZH/Ysy8vpoUGwCfXemEZzGaKejPoJNIMCd3oUQI
GUYAniIEia2ve2dbliNnkY/e7e5s5j8t
=8Hyi
-----END PGP SIGNATURE-----


Reply to: