PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > IPv6 configuration in /etc/network/interfaces doesn't work on bootup
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

IPv6 configuration in /etc/network/interfaces doesn't work on bootup

Réponse
 
LinkBack Outils de la discussion
Vieux 07/05/2008, 20h10   #1
Justin Jereza
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut IPv6 configuration in /etc/network/interfaces doesn't work on bootup

Hello.

I've got the following in my interfaces file:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.5.1
netmask 255.255.255.0
gateway 192.168.5.254
dns-nameservers 192.168.5.254
iface eth0 inet6 static
address fc00::1:1
netmask 7

Anybody got any ideas why the IPv6 address doesn't get assigned to
eth0 on bootup?

ifconfig eth0 add fc00::1:1/7 works fine after bootup.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/05/2008, 01h50   #2
Alex Samad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: IPv6 configuration in /etc/network/interfaces doesn't work on bootup

On Thu, May 08, 2008 at 02:59:14AM +0800, Justin Jereza wrote:
> Hello.
>
> I've got the following in my interfaces file:
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.5.1
> netmask 255.255.255.0
> gateway 192.168.5.254
> dns-nameservers 192.168.5.254
> iface eth0 inet6 static
> address fc00::1:1
> netmask 7
>
> Anybody got any ideas why the IPv6 address doesn't get assigned to
> eth0 on bootup?
>
> ifconfig eth0 add fc00::1:1/7 works fine after bootup.


quick guess is because the ip6 module is loaded early enough !

>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


--
"We thought we were protected forever from trade policy or terrorist attacks because oceans protected us."

- George W. Bush
11/20/2004
Santiago, Chile
speaking to business leaders at APEC Summit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIkzlkZz88chpJ2MRAq03AJ9LnRb/h5sV3aCn3Qq19/yED0CxkgCgrxjX
0B1LuxMTk6i7rq8U8frweeI=
=jZBh
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 08/05/2008, 07h30   #3
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: IPv6 configuration in /etc/network/interfaces doesn't work on bootup

On Thu, May 08, 2008 at 02:59:14AM +0800, Justin Jereza wrote:

> Anybody got any ideas why the IPv6 address doesn't get assigned to
> eth0 on bootup?
>
> ifconfig eth0 add fc00::1:1/7 works fine after bootup.


In order to test your /etc/network/interfaces try

ifdown eth0
ifup eth0

Do you get an IPv6 address with this?

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIpz5qJyztHCFm9kRAraFAJwPz5LKDuDcWZWlxeg9LI 0LoX2C5QCfcDFZ
OfcnsUtGPisLeZKcm58//lE=
=SI9F
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h24.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08719 seconds with 11 queries