Re: ipv6 interface automatical up?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Joeren, hi list!
On Friday 16 July 2004 12:25, Jeroen Massar wrote:
> On Thu, 2004-07-15 at 21:11, Jan Wagner wrote:
> > My ipv6 Interface doesnt come up automatical, any ideas?
>
> <SNIP>
>
> > auto ipv6
> > iface ipv6 inet6 v4tunnel
> > address 2001:8d0:20ff:fffe::7
> > netmask 127
> > endpoint 217.145.98.77
> > ttl 64
> > gateway 2001:8d0:20ff:fffe::6
> > up ip addr add 2001:8d0:20ff:fffe::5/127 dev ipv6
> > down ip addr del 2001:8d0:20ff:fffe::5/127 dev ipv6
>
> This almost matches:
> http://www.sixxs.net/faq/connectivity/?faq=ossetup&os=linuxdebian
I know your site. :)
> I never use 'gateway' though as one used to have to use 2000::/3, also
from "man interfaces(5)":
INET6 ADDRESS FAMILY
This section documents the methods available in the inet6 address
family.
<snip>
Options
<snip>
gateway address
Default gateway (colon delimited)
resolv1:~# ip -6 route
<snip>
default via 2001:8d0:20ff:fffe::6 dev ipv6 metric 1024 mtu 1480 advmss 1420
metric10 64
> why are you adding another /127 prefix on the thing?
I need another IP there.
> Btw, using /127 tunnels can lead into nasty problems with routes getting
> set to localhost as the :: address is for anycast of the prefix...
I know the issue .. this isnt my problem at this point, it works all, if i up
the interface with "ifup", so there seems to be a problem/issue with the
init-script.
> > # ifup ipv6
> > # ifconfig ipv6
> > ipv6 Protokoll:IPv6-nach-IPv4
> > inet6 Adresse: fe80::d991:6309/64 Gültigkeitsbereich:Verbindung
> > inet6 Adresse: fe80::d991:630d/64 Gültigkeitsbereich:Verbindung
> > inet6 Adresse: 2001:8d0:20ff:fffe::5/127
> > Gültigkeitsbereich:Global inet6 Adresse: 2001:8d0:20ff:fffe::7/127
> > Gültigkeitsbereich:Global
>
> Two link-local addresses ? :)
>
> ipv6calc -i 2002:d991:6309:: 2>&1 | grep "IPv4 address"
> Address type is 6to4 and included IPv4 address is: 217.145.99.9
>
> ipv6calc -i 2002:d991:630d:: 2>&1 | grep "IPv4 address"
> Address type is 6to4 and included IPv4 address is: 217.145.99.13
>
> This surely isn't correct, it doesn't even match your local IPv4 address
This IPs are totaly correct.
> Which kernel and also which debian version is this?
resolv1:~# uname -a
Linux resolv1 2.4.25-1-386 #2 Wed Apr 14 19:38:08 EST 2004 i686 GNU/Linux
resolv1:~# cat /etc/debian_version
testing/unstable
Regards, Jan.
- --
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a-- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w---
O M-- V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++
G++ e++ h-- r+++ y+++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA97W69u6Dud+QFyQRAjNNAKCK7seuRBkmHRxK5VlC2Wsjkxxi6gCgxnja
tKm6rtowwjvInyZ8NDnRRFA=
=IHxb
-----END PGP SIGNATURE-----
Reply to: