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

Re: [libvirt] RFC: Supporting IPv6 on libvirt virtual networks



On Wed, Nov 03, 2010 at 10:36:24AM +0000, Daniel P. Berrange wrote:
> On Tue, Nov 02, 2010 at 02:22:08PM -0400, Laine Stump wrote:
> > Here is the example from formatnetwork.html on libvirt.org, updated with 
> > examples of
> > the changes I'm proposing:
> > 
> > <network>
> > <ip address="192.168.122.1" netmask="255.255.255.0">
> > <dhcp>
> > <range start="192.168.122.100" end="192.168.122.254" />
> > <host mac="00:16:3e:77:e2:ed" name="foo.example.com" ip="192.168.122.10" />
> > <host mac="00:16:3e:3e:a9:1a" name="bar.example.com" ip="192.168.122.11" />
> > </dhcp>
> > </ip>
> > <ip family="ipv4" address="192.168.125.1" prefix="24">
> > <ip family="ipv6" address="2001:db8:1::10" prefix="128"/>
> > <ip family="ipv6" address="2001:4978:2ac::1" prefix="48">
> > <radvd/>
> > </ip>
> > </network>
> 
> Ok, looks reasonable.


Taking this excample, and assuming its for virbr0, then an radvd
config would simply comprise

  interface virbr0
  {
	AdvSendAdvert on;
	AdvManagedFlag off;
	AdvOtherConfigFlag off;

	prefix 2001:db8:1::/128
	{
		AdvOnLink on;
		AdvAutonomous on;
		AdvRouterAddr off;
	};
	prefix 2001:4978:2ac::/48
	{
		AdvOnLink on;
		AdvAutonomous on;
		AdvRouterAddr off;
	};
  };


Regards,
Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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