Networking Forums

Networking Forums > Computer Networking > Linux Networking > Implementing a IPv6 network with dynamically assigned static IPv6 addresses.

Reply
Thread Tools Display Modes

Implementing a IPv6 network with dynamically assigned static IPv6 addresses.

 
 
Ashish Shukla
Guest
Posts: n/a

 
      02-10-2007, 09:17 PM
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:191: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 --

-- begin dhcp6c.conf --
interface eth0
{
send rapid-commit;
};
-- end dhcp6c.conf --

Thanks in advance,
Ashish Shukla
--
http://wahjava.wordpress.com/

 
Reply With Quote
 
 
 
 
Frank
Guest
Posts: n/a

 
      02-11-2007, 01:45 PM
Hi,

Try radvd.

IPv6 has made dhcp some kind of obsolete.



Ashish Shukla wrote:
> 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:191: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 --
>
> -- begin dhcp6c.conf --
> interface eth0
> {
> send rapid-commit;
> };
> -- end dhcp6c.conf --
>
> Thanks in advance,
> Ashish Shukla
> --
> http://wahjava.wordpress.com/
>

 
Reply With Quote
 
Ashish Shukla
Guest
Posts: n/a

 
      02-13-2007, 02:59 PM
On Feb 11, 7:45 pm, Frank <p...@searchy.net> wrote:
> Hi,
>
> Try radvd.
>
> IPv6 has made dhcp some kind of obsolete.
>


But how're you going to offer DNS servers, and other options using
'radvd' ? And, plus 'radvd' is going to use MAC (or precisley link-
layer address) for autoconfiguration, whereas I prefer, numbering
clients serially (or allocating a small range for them).

Thanks
Ashish Shukla
--
http://wahjava.wordpress.com/


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv6 address not connecting but IPv4-mapped -IPv6 does. Please help. DanielJohnson Network Routers 0 01-07-2009 12:10 AM
kernel hangs after setting up Ipv6-ipv6 tunnel Kristoff Bonne Linux Networking 0 09-20-2008 08:36 PM
IPv6 infrastructure for Global and/or Site Specific IPv6 address JackFlash Windows Networking 1 06-25-2007 03:11 PM
Linux host PC(ipv6) can't ping with embedded board(ipv6) with ping6 sangsu Linux Networking 2 10-11-2005 09:06 AM
How to keep a static IP and let DNS addresses be dynamically updated on Linksys WRT54GS ? for.fun@laposte.net Wireless Internet 15 08-26-2005 08:28 AM



1 2 3 4 5 6 7 8 9 10 11