[pkg-dhcp-devel] Bug#663025: isc-dhcp-client: Fails to set an ipv6 addr

Félix Arreola Rodríguez fgatuno.123 at gmail.com
Thu Mar 8 04:11:23 UTC 2012


Package: isc-dhcp-client
Version: 4.1.1-P1-15+squeeze3
Severity: important
Tags: ipv6

I have succeful installed a Tunnel broker in my router, and get a
whole /64
prefix. The router is giving dhcp leases of the 2002:456:e:3e4::/64
subnet (The
real IP is similar to this one).

Using my laptop, I configured network-manager to automatic in ipv6, and
sucessfull get a ipv6 over wired interface and wireless interface. So, I
wanted
to have ipv6 connectivity in my desktop machine. But, as the machine act
as
server, it doesn't use network-manager. The /etc/network/interfaces just
have
this:

[code]
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
[/code]

When I try to get a dhcpv6 lease (using dhclient -6), I get the
following
errors:

dhclient -6 eth0 -v
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Bound to *:546
Listening on Socket/eth0
Sending on   Socket/eth0
PRC: Confirming active lease (INIT-REBOOT).
XMT: Forming Confirm, 0 ms elapsed.
XMT:  X-- IA_NA 7d:28:d3:a5
XMT:  | X-- Confirm Address 2002:456:e:3e4::10
XMT:  V IA_NA appended.
XMT: Confirm on eth0, interval 1010ms.
send_packet6: Network is unreachable
dhc6: sendpacket6() sent -1 of 72 bytes
XMT: Forming Confirm, 1010 ms elapsed.
XMT:  X-- IA_NA 7d:28:d3:a5
XMT:  | X-- Confirm Address 2002:456:e:3e4::10
XMT:  V IA_NA appended.
XMT: Confirm on eth0, interval 2040ms.
send_packet6: Network is unreachable
dhc6: sendpacket6() sent -1 of 72 bytes
XMT: Forming Confirm, 3050 ms elapsed.
XMT:  X-- IA_NA 7d:28:d3:a5
XMT:  | X-- Confirm Address 2002:456:e:3e4::10
XMT:  V IA_NA appended.
XMT: Confirm on eth0, interval 4000ms.
send_packet6: Network is unreachable
dhc6: sendpacket6() sent -1 of 72 bytes
XMT: Forming Confirm, 7050 ms elapsed.
XMT:  X-- IA_NA 7d:28:d3:a5
XMT:  | X-- Confirm Address 2002:456:e:3e4::10
XMT:  V IA_NA appended.
XMT: Confirm on eth0, interval 6950ms.
send_packet6: Network is unreachable
dhc6: sendpacket6() sent -1 of 72 bytes
Max retransmission duration exceeded.
PRC: Bound to lease 00:01:00:01:16:e9:b7:5a:1c:bd:b9:b7:44:be.

Next, I run ifconfig to check the IP:
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1d:7d:28:d3:a5
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:7dff:fe28:d3a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18727 errors:1 dropped:0 overruns:0 frame:1
          TX packets:17145 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18368922 (17.5 MiB)  TX bytes:2549306 (2.4 MiB)
          Interrupt:25 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:157204 (153.5 KiB)  TX bytes:157204 (153.5 KiB)

and the eth0 doesn't have the IP assigned (2002:456:e:3e4::10), just the
local
link.

I think that dhclient fails to set the IP information properly.

Regards, Felix


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_MX.UTF-8, LC_CTYPE=es_MX.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-client depends on:
ii  debianutils         3.4                  Miscellaneous utilities
specific t
ii  iproute             20100519-3           networking and traffic
control too
ii  isc-dhcp-common     4.1.1-P1-15+squeeze3 common files used by all
the isc-d
ii  libc6               2.11.3-2             Embedded GNU C Library:
Shared lib

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd                 <none>     (no description available)
pn  resolvconf                    <none>     (no description available)

-- Configuration Files:
/etc/dhcp/dhclient.conf changed:
option rfc3442-classless-static-routes code 121 = array of unsigned
integer 8;
send host-name "gatuno-debianizado.gatuno.com";
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, domain-search, host-name,
	netbios-name-servers, netbios-scope, interface-mtu,
	rfc3442-classless-static-routes;


-- no debconf information
-- 
Atte. Félix Arreola Rodríguez,
Firmado con GPG, llave 1E249EE4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20120307/f2705404/attachment.pgp>


More information about the pkg-dhcp-devel mailing list