Hi,
I want to setup an IPv6 LAN in my network (of 2 PCs running Fedora
Core 6 "AMD64"). I want to assign a static IPv6 address to my client
via DHCPv6. I've tried DHCPv6 Server (available from http://dhcpv6.sf.net/
), but it expects an option of DUID, for host-based configuration,
which I'm not sure what to give. As DHCPv6 client sends a "Link Layer
+ Time" based DUID, which changes with change in time. So, I changed
client DUID in "/var/lib/dhcpv6/dhcp6c_duid" to Link Layer based DUID
of client. So, after this "Link Layer" based DUID is sent to the
server, but client also sends a preconfigured IAID, hence I'm not able
to send any addresses corresponding to that IAID.
So I want to know if there is any other way to have such
configuration.
I'm pasting my dhcp6s.conf and dhcp6c.conf below:
-- begin dhcp6s.conf --
prefer-life-time 10000;
valid-life-time 20000;
renew-time 5000;
rebind-time 8000;
interface eth2 {
link AAA {
###########################################
# The dynamic address assignment configuration which worked for me
###########################################
# allow unicast;
# send unicast;
# allow rapid-commit;
# renew-time 120;
# rebind-time 150;
# prefer-life-time 60;
# valid-life-time 70;
# range 2001:ffff:100::10 to 2001:ffff:100::ff/120;
#########
# static stuff
#########
host tycho {
# DUID-LL
duid 00:03:00:01:00:19:D1:13:CE:B7;
address {
2001:ffff:100::7/120; valid-life-time 90; prefer-life-time
60;
};
iaidinfo {
iaid 0;
renew-time 60;
rebind-time 90;
};
}; };
-- end dhcp6s.conf --Quote:};
-- begin dhcp6c.conf --
interface eth0
{
send rapid-commit;
-- end dhcp6c.conf --Quote:};
Thanks in advance,
Ashish Shukla
--
http://wahjava.wordpress.com/