6

This seems to be possible based on the spec rfc 3315 page 23:

Excerpt:

The configuration information in an IA consists of one or more IPv6 addresses along with the times T1 and T2 for the IA. See section 22.4 for the representation of an IA in a DHCP message.

Yet, I haven't been able to configure my DHCPv6 client to request these multiple IP addresses on an interface.

Does anyone know how to do this for a Linux DHCPv6 client (preferably running RedHat 6+, CentOS 6+, or Fedora), or on Windows?

My end goal is to do some testing with PCAP files. I would prefer to be able to generate these files myself, but if I can't get my client configured, I would like to find some PCAP files on the internet that I could use. So far, I haven't found anything.

Thanks!

4
  • 3
    My 2 cents: Every DHCPv6 Client I've used so far is notably lacking in feature completeness. I would not be surprised if most do not support requesting multiple IA addresses.
    – Chris S
    May 14, 2014 at 14:10
  • 1
    The standard dhclient seems to be supporting multiple addresses already. Did you set DHCPV6C=yes in the network card ifcfg script?
    – stoned
    May 14, 2014 at 16:19
  • If the dhcp client doesn´t support this feature yet, you can add an Interface alias, I don´t know if you al look for this.
    – POLLOX
    May 20, 2014 at 9:54
  • 3
    @POLLOX Interface aliases are not supported with IPv6. Instead with IPv6 you can assign multiple addresses directly to an interface. But I have no idea if you can get an DHCPv6 client to do that.
    – kasperd
    May 20, 2014 at 17:17

1 Answer 1

1

I haven't tried this, but here's what I think would work:

Use brctl addbr to create a virtual switch. Create two virtual interfaces (with commands like ip tuntap add mode tap). Then add both tap interfaces and your physical interface to the bridge (e.g. brctl addif tap0). Now you have two interfaces on which to run dhcp clients.

1
  • Interesting, I will look into this.
    – Trenin
    Jun 27, 2014 at 18:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .