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 2>&1 || true # ignore failure.
ifconfig eth0    up
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

Reply via email to