Package: ifupdown
Version: 0.7.8
Severity: normal
Tags: ipv6
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these lines ***
I installed debian wheezy via debootstrap.
Set up /etc/network/interfaces with ipv4 and ipv6, both statically.
####
# /etc/network/interfaces -start
####
iface eth0 inet static
address 1.2.3.209
netmask 255.255.255.224
#netmask may be important; the first 3 octets of the ip are not.
gateway 1.2.3.193
broadcast 1.2.3.223
iface eth0 inet6 static
address 2a01:aaaa:bbbb:cccc::2
netmask 64
gateway fe80::1
#same as above, masked parts of the IP
####
# /etc/network/interfaces -end
####
The system runs an encrypted rootfs, decryption will happen via dropbear and
busybox from any place on earth.
Now if I boot the system, type in the encryption key, the system boots on.
But it only configures the IPv4 Address and completely ignores the IPv6 address.
The machine gets a link-local address, the gateway (fe80::1) is pingable.
If I do "ifdown eth0; sleep 1; ifup eth0" the IPv6 address gets configured. -->
Config file must be right. (Workaround 1)
After a few hours of testing around with Kernel 3.12, 3.13 and a few other
Realtek drivers, no success (thought about timing problems)
Now if I move the IPv6 part of the config above the IPv4 config,
IPv6 and IPv4 get configured properly. (Workaround 2; since it should work the
way I described above too!)
Some other details about the machine:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express
Gigabit Ethernet controller (rev 06)
Tested drivers:
r8169 (firmware-realtek; wheezy; wheezy-backports)
r8168-8.038.00
r8168-8.037.00
Tested kernels:
3.2.0-4-amd64
3.12-0.bpo.1-amd64
3.13-0.bpo.1-amd64
All combinations have the same effect.
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ifupdown depends on:
ii dpkg 1.16.12
ii initscripts 2.88dsf-41+deb7u1
ii iproute 20120521-3+b3
ii libc6 2.13-38+deb7u1
ii lsb-base 4.1+Debian8+deb7u1
ifupdown recommends no packages.
Versions of packages ifupdown suggests:
ii isc-dhcp-client [dhcp-client] 4.2.2.dfsg.1-5+deb70u6
ii net-tools 1.60-24.2
pn ppp <none>
pn rdnssd <none>
-- no debconf information
If you need further information, mail me under the given address. Thank you!
Fawkes
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]