Bug#606522: ipv6 static configuration broken

2012-10-25 Thread Juliusz Chroboczek
Confirmed with ifupdown 0.6.10.  Please make sure you make a Debian
stable update.

-- Juliusz


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606522: ipv6 static configuration broken

2011-10-25 Thread Andrew Shadura
Hello Brian,

Is this issue still true for the latest 0.7 beta?

-- 
WBR, Andrew


signature.asc
Description: PGP signature


Bug#606522: ipv6 static configuration broken

2011-10-25 Thread Brian May
On 26 October 2011 05:18, Andrew Shadura bugzi...@tut.by wrote:
 Is this issue still true for the latest 0.7 beta?

Hello,

I am not in a position to test this right now. However I think I read
somewhere that ifupdown now uses iproute instead of the older tools,
in which case I think it should be fine.

Thanks
-- 
Brian May br...@microcomaustralia.com.au



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606522: ipv6 static configuration broken

2010-12-09 Thread Brian May
Package: ifupdown
Version: 0.6.10

In /etc/sysctl.conf:
net.ipv6.conf.eth0.autoconf = 0

In /etc/network/interfaces:

iface eth0 inet static
address  192.168.3.3
netmask  255.255.255.0
gateway  192.168.3.1

iface eth0 inet6 static
address 2001:44b8:758e:21e3::3
netmask 64
gateway 2001:44b8:758e:21e3::1

If I try to bring up the interface manually:

# ifup -v eth0
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d

ifconfig eth0 192.168.3.3 netmask 255.255.255.0 up
 route add default gw 192.168.3.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
run-parts: executing /etc/network/if-up.d/samba
Configuring interface eth0=eth0 (inet6)
run-parts --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10  /dev/null 21 || true # ignore failure.
ifconfig eth0up
ifconfig eth0 add 2001:44b8:758e:21e3::3/64
 route -A inet6 add ::/0 gw 2001:44b8:758e:21e3::1 eth0
SIOCADDRT: Operation not permitted
Failed to bring up eth0.

If I try to add the route with ip route instead of route, it works:

# ip route add ::/0 via 2001:44b8:758e:21e3::1

Personally this doesn't bother me, I have rewritten the configuration
with up ip route add ::/0 via 2001:44b8:758e:21e3::1 which works.

It does seem to deserve a bug report however.

Unfortunately I am not sure if the bug is with ifupdown, route, or
maybe even my kernel.

# route --version
net-tools 1.60
route 1.98 (2001-04-15)
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +I18N
AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE
HW:  +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +X25 +FR +ROSE
+ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64
-- 
Brian May br...@microcomaustralia.com.au



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org