DHCLIENT not assigning address on interface (IPV6)

Mukund Deshpande sai.mukund.sagar at gmail.com
Mon Oct 17 06:06:19 UTC 2011


Hi,

I have been trying to test for DHCPV6 network configuration.
But the dhclient is not able to assign address on the interface on
client side...

Please help regarding this issue.

I am pasting all info here..

Here is the Server Config.

root at VPC-1 ~]# cat /etc/dhcpd.conf

subnet 192.168.0.0 netmask 255.255.0.0

{

range 192.168.0.10 192.168.0.20;

}





[root at VPC-1 ~]# cat /etc/dhcpd6.conf

subnet6 3ffe:501:ffff:100:200:ff:fe00:0/112 {

range6 3ffe:501:ffff:100:200:ff:fe00:abcc 3ffe:501:ffff:100:200:ff:fe00:abcd;

}





[root at VPC-1 ~]# ifconfig eth1

eth1 Link encap:Ethernet HWaddr 52:54:00:5A:EC:AA

inet addr:192.168.0.1 Bcast:192.168.255.255 Mask:255.255.0.0

inet6 addr: 3ffe:501:ffff:100:200:ff:fe00:0/112 Scope:Global

inet6 addr: fe80::5054:ff:fe5a:ecaa/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:148 errors:0 dropped:0 overruns:0 frame:0

TX packets:159 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:26206 (25.5 KiB) TX bytes:18232 (17.8 KiB)

Interrupt:10 Base address:0xa000





[root at VPC-1 ~]# /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf eth1

Internet Systems Consortium DHCP Server 4.2.2

Copyright 2004-2011 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

Wrote 0 leases to leases file.

Listening on LPF/eth1/52:54:00:5a:ec:aa/192.168.0.0/16

Sending on LPF/eth1/52:54:00:5a:ec:aa/192.168.0.0/16

Sending on Socket/fallback/fallback-net



[root at VPC-1 ~]# /usr/sbin/dhcpd -6 -cf /etc/dhcpd6.conf eth1

Internet Systems Consortium DHCP Server 4.2.2

Copyright 2004-2011 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

Wrote 0 leases to leases file.

Bound to *:547

Listening on Socket/5/eth1/3ffe:501:ffff:100:200:ff:fe00:0/112

Sending on Socket/5/eth1/3ffe:501:ffff:100:200:ff:fe00:0/112





 The Client Config.



[root at VPC-2 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1

ONBOOT=yes

BOOTPROTO=dhcp

DHCPV6C=yes      <--- not exactly sure if it is needed but tried with
and without it...



[root at VPC-2 ~]# /usr/sbin/dhclient -4 eth1

[root at VPC-2 ~]# ifconfig eth1

eth1 Link encap:Ethernet HWaddr 52:54:00:1B:23:3F

inet addr:192.168.0.10 Bcast:192.168.255.255 Mask:255.255.0.0

inet6 addr: fe80::5054:ff:fe1b:233f/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:101 errors:0 dropped:0 overruns:0 frame:0

TX packets:234 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:11890 (11.6 KiB) TX bytes:35046 (34.2 KiB)

Interrupt:10 Base address:0xa000




[root at VPC-2 ~]# /usr/sbin/dhclient -6 -d eth1

Internet Systems Consortium DHCP Client 4.2.2

Copyright 2004-2011 Internet Systems Consortium.

All rights reserved.

For info, please visit https://www.isc.org/software/dhcp/

Bound to *:546

Listening on Socket/eth1

Sending on Socket/eth1

PRC: Confirming active lease (INIT-REBOOT).

XMT: Forming Confirm, 0 ms elapsed.

XMT: X-- IA_NA 00:1b:23:3f

XMT: | X-- Confirm Address 3ffe:501:ffff:100:200:ff:fe00:abcc

XMT: V IA_NA appended.

XMT: Confirm on eth1, interval 960ms.

RCV: Reply message on eth1 from fe80::5054:ff:fe5a:ecaa.

RCV: X-- Server ID: 00:01:00:01:16:2e:83:62:52:54:00:5a:ec:aa

message status code Success: "All addresses still on link."

PRC: Bound to lease 00:01:00:01:16:2a:f8:3b:52:54:00:5a:ec:aa.

PRC: Renewal event scheduled in 521 seconds, to run for 1875 seconds.

PRC: Depreference scheduled in 3971 seconds.

PRC: Expiration scheduled in 4271 seconds.


As you can see the address is received but not getting assigned on interface...

Please help in solving this problem.. I have DHCPv4 also enabled.
because of this ""https://bugzilla.redhat.com/show_bug.cgi?id=684909""

Thanks in advance....

--
Regards,
Mukund



More information about the dhcp-users mailing list