Implementing a IPv6 network with dynamically assigned static IPv6 addresses. - Networking

This is a discussion on Implementing a IPv6 network with dynamically assigned static IPv6 addresses. - Networking ; 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/ ), ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Implementing a IPv6 network with dynamically assigned static IPv6 addresses.

  1. Implementing a IPv6 network with dynamically assigned static IPv6 addresses.

    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/


  2. Re: Implementing a IPv6 network with dynamically assigned staticIPv6 addresses.

    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/
    >


  3. Re: Implementing a IPv6 network with dynamically assigned static IPv6 addresses.

    On Feb 11, 7:45 pm, Frank 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 to Thread