DHCPv6 Client Configuration

Luca luca.bahamut at gmail.com
Sat Oct 22 13:46:12 UTC 2011


Hi guys, here you are my scenario:

client -> relay -> router -> server


The client and relay are ISC and on the same link.


my dhcpd6.conf file:


default-lease-time 600;
max-lease-time 7200;
log-facility local7;


subnet6  2001:760:2e04:f001:: /64 {

range6 2001:760:2e04:f001::10 2001:760:2e04:f001::15;

}




subnet6  2001:760:2e04:f000:: /64 {

range6 2001:760:2e04:f000::10 2001:760:2e04:f000::15;

}


ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0E:7F:FD:B7:F6
          inet6 addr: fe80::20e:7fff:fefd:b7f6/64 Scope:Link
          inet6 addr: 2001:760:2e04:f001::2/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:406 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:88131 (86.0 KiB)  TX bytes:1418 (1.3 KiB)
          Interrupt:30


Server is running and listening:


Listening on Socket/5/eth0/2001:760:2e04:f001::/64
Sending on   Socket/5/eth0/2001:760:2e04:f001::/64


for Client i am using:

dhcrelay -I -l eth0 -u 2001:760:2e04:f001::2%eth0

ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:02:A5:4B:8C:56 inet6 addr:
fe80::202:a5ff:fe4b:8c56/64 Scope:Link UP BROADCAST RUNNING PROMISC
MULTICAST MTU:1500 Metric:1 RX packets:16689 errors:0 dropped:0 overruns:0
frame:0 TX packets:658 errors:0 dropped:0 overruns:0 carrier:0 collisions:0
txqueuelen:1000 RX bytes:2350223 (2.2 MiB) TX bytes:67508 (65.9 KiB)


when i start the relay agent i get:

Listening on Socket/eth0
Sending on   Socket/eth0
Can't find link address for interface 'eth0'.

How can i configure my client properly?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20111022/2f2f5acc/attachment.html>


More information about the dhcp-users mailing list