Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ifupdown error on startup, Debian Xen

 
   Soft32 Home -> Linux -> ISP RSS
Next:  Bug#535752: kerneloops: config parser failes to s..  
Author Message
Andy Davidson

External


Since: Oct 04, 2005
Posts: 7



(Msg. 1) Posted: Sat Jul 04, 2009 3:20 pm
Post subject: ifupdown error on startup, Debian Xen
Archived from groups: linux>debian>isp (more info?)

-----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-----


--
To UNSUBSCRIBE, email to debian-isp-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Andy Davidson

External


Since: Oct 04, 2005
Posts: 7



(Msg. 2) Posted: Sun Aug 02, 2009 3:20 pm
Post subject: Re: ifupdown error on startup, Debian Xen [Login to view extended thread Info.]
Archived from groups: linux>debian>isp, others (more info?)

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


On 4 Jul 2009, at 19:27, Andy Davidson wrote:

> 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 ?

Hi, --

I have more on this now. It happens without xen... I re-enabled RA on
my test LAN. I have configured :

auto eth0
iface eth0 inet static
address 193.239.33.245
netmask 255.255.255.128
gateway 193.239.33.129
dns-nameservers 193.239.32.10

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


If I run ifconfig eth0 down && sleep 2 && ifup eth0, then the computer
picks up the address I list in the interfaces file. If I reboot, then
I get a RA address (or no address when RA/autoconfig is turned off.)

This is on a clean, brand new Debian install 5.0.2.

Why is boot time behaviour different to a manual down/up ? And this
is clearly broken, what to do to fix ?

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

iEYEARECAAYFAkp16FYACgkQiZH/Ysy8vpotNACguBNFZ7l+gVyXtfyp5DFLX49b
284AoL/OJykZwwA741MUk2y4O2cQ7LJs
=Q7E1
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-isp-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Andy Davidson

External


Since: Oct 04, 2005
Posts: 7



(Msg. 3) Posted: Mon Aug 03, 2009 1:20 pm
Post subject: Re: ifupdown error on startup, Debian Xen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2 Aug 2009, at 20:26, Andy Davidson wrote:

> On 4 Jul 2009, at 19:27, Andy Davidson wrote:
>> 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 ?
> I have more on this now. It happens without xen... I re-enabled RA
> on my test LAN. I have configured :

Sorted this one in the end - add ipv6 to /etc/modules

Pretty poor default situation.

Andy


--
To UNSUBSCRIBE, email to debian-isp-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[ debian-hurd-Patches-301211 ] #296115: ifupdown (gnuab) - Patches item #301211, was opened at 2005-02-20 13:46 You can respond by visiting: ..

Adding hsi0 to Debian Startup - I have a script that brings up my hsi0 network interface. Where is the appropriate place to add it in the Debian..

Error on startup - My system is running Fedora core 2. Following error i get on startup help to rectify the error...

startup error kde - nach einem update kann ich den kde nicht in user mode, kein problem als root. Wenn ich mich als user einloggen will,..

[debian-hurd-Bugs][304434] xchat hangs on startup - Bugs item #304434, was opened at 04/02/2007 04:08 Status: Open Priority: 3 Submitted By: massimo sandal..

[debian-hurd-Bugs][304434] xchat hangs on startup - Bugs item #304434, was opened at 2007-02-04 04:08 Status: Open Priority: 3 Submitted By: massimo sandal..
       Soft32 Home -> Linux -> ISP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]