[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Support for IPv6 / multiple ifaces in interface_conf.[ch]



On Sun, 2009-10-04 at 22:58 -0400, Laine Stump wrote:
> Note that netcf appears to not accept defining both ipv4 and ipv6 on
> the same interface, and still can't report live config of IPv6 (or
> multiple IPv4 addresses), so the usefulness of this patch is limited
> until those items are fixed in netcf.

It does - you need to specify IPv4 addresses before IPv6; anything else
that doesn't work in that area is a bug. This just worked for me:

        <interface type="ethernet" name="eth0">
          <start mode="onboot"/>
          <protocol family="ipv4">
            <ip address="192.168.0.5" prefix="24"/>
            <route gateway="192.168.0.1"/>
          </protocol>
          <protocol family="ipv6">
            <ip address="3ffe:ffff:0:5::1" prefix="128"/>
            <route gateway="3ffe:ffff:1234:5678::1"/>
          </protocol>
        </interface>
        
David



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]