[libvirt] [PATCHv2 0/3] IPv6 enhancements; put dnsmasq parameters in conf-file

Gene Czarcinski gene at czarc.net
Fri Nov 30 15:01:37 UTC 2012


Rebased 30 Nov 2012

These three patch files are packaged together because they serially 
depend on each other.  These files have been rebased to "v3" of
the dnsmasq capabilities and bind-dynamic patches.

The DHCPv6 support checks dnsmasq's version and requires a minimum of 2.64.
Also, using dnsmasq for providing the RA service is checked against the
dnsmasq version and is currently 2.64.

As with IPv4, IPv6 DHCP is only one subnetwork on an interface.  Additionally,
if other IPv6 addresses are defined, a warning message is issued since
the Router Advertisement service will support only state-full (DHCP) or
state-less (SLAAC) addressing on a network interface (not both).  Thus, the
additional subnetworks will need to be manually configured to properly function.

If dnsmasq provides the RA service, it also points to itself as a RDNSS
(Recursive DNS Server) as part of the information is supplies.

If IPv6 DHCP is not being run, then SLAAC addressing is supported for
any IPv6 addresses specified.

Gene Czarcinski (3):
  v1: allow guest to guest IPv6 without gateway definition
  v8.1 add support for DHCPv6
  v7.9: put dnsmasq parameters into conf-file

 docs/formatnetwork.html.in                         | 126 ++++-
 docs/schemas/network.rng                           |  12 +-
 src/conf/network_conf.c                            | 100 ++--
 src/network/bridge_driver.c                        | 590 ++++++++++++++-------
 src/network/bridge_driver.h                        |   7 +-
 src/util/dnsmasq.c                                 |   9 +-
 tests/networkxml2argvdata/dhcp6-nat-network.argv   |  14 +
 tests/networkxml2argvdata/dhcp6-nat-network.xml    |  24 +
 tests/networkxml2argvdata/dhcp6-network.argv       |  14 +
 tests/networkxml2argvdata/dhcp6-network.xml        |  14 +
 .../dhcp6host-routed-network.argv                  |  12 +
 .../dhcp6host-routed-network.xml                   |  19 +
 tests/networkxml2argvdata/isolated-network.argv    |  25 +-
 .../networkxml2argvdata/nat-network-dns-hosts.argv |  14 +-
 .../nat-network-dns-srv-record-minimal.argv        |  34 +-
 .../nat-network-dns-srv-record.argv                |  24 +-
 .../nat-network-dns-txt-record.argv                |  22 +-
 tests/networkxml2argvdata/nat-network.argv         |  22 +-
 tests/networkxml2argvdata/netboot-network.argv     |  28 +-
 .../networkxml2argvdata/netboot-proxy-network.argv |  26 +-
 tests/networkxml2argvdata/routed-network.argv      |  11 +-
 tests/networkxml2argvtest.c                        |  47 +-
 22 files changed, 838 insertions(+), 356 deletions(-)
 create mode 100644 tests/networkxml2argvdata/dhcp6-nat-network.argv
 create mode 100644 tests/networkxml2argvdata/dhcp6-nat-network.xml
 create mode 100644 tests/networkxml2argvdata/dhcp6-network.argv
 create mode 100644 tests/networkxml2argvdata/dhcp6-network.xml
 create mode 100644 tests/networkxml2argvdata/dhcp6host-routed-network.argv
 create mode 100644 tests/networkxml2argvdata/dhcp6host-routed-network.xml

-- 
1.7.11.7




More information about the libvir-list mailing list