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

Re: ipv6 interface automatical up?



Hello Jan,

On Thu, 15 Jul 2004 21:11:02 +0200
Jan Wagner <waja@cyconet.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> My ipv6 Interface doesnt come up automatical, any ideas?
> 
> My /etc/network/interfaces:
> 
> # This entry denotes the loopback (127.0.0.1) interface.
> auto lo
> iface lo inet loopback
> 
> # This entry was created during the Debian installation
> auto eth0
> iface eth0 inet static
>         address 217.145.99.9
>         netmask 255.255.255.128
>         network 217.145.99.0
>         broadcast 217.145.99.127
>         gateway 217.145.99.1
> 
> 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
> 
since I had the same problem I solved it this way (It's no good
solution but it works):

auto eth0
iface eth0 inet static
        address 192.168.1.7
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.3
        up /usr/local/bin/ipv6_start || /bin/true
        pre-up /sbin/modprobe ipv6 || /bin/true

--- cat /usr/local/bin/ipv6_start ---
my64='3ffe:abcd:abcd'
/sbin/ifconfig eth0 add ${my64}:1:7::1/64
/sbin/route -A inet6 add ::/0 gw ${my64}:1::1

> # /etc/init.d/networking restart
> Setting up IP spoofing protection: rp_filter.
> Reconfiguring network interfaces...done.
> # ifconfig
> eth0      Protokoll:Ethernet  Hardware Adresse 00:00:E8:70:A6:02

Please do a
export LANG=C
before running shell commands and posting them to the list.


Jörg

-- 
Jörg Schütter           http://tinyurl.com/ <select one from below>
joerg@schuetter.org        24zep    yu8ox    mkly     3bmde    2hanb
ICQ: 298982789          



Reply to: