[Swan-dev] xml changes for testing?

Antony Antony antony at phenome.org
Wed Jan 7 19:08:26 EET 2015


On Wed, Jan 07, 2015 at 10:17:23AM -0500, Paul Wouters wrote:
> On Wed, 7 Jan 2015, Antony Antony wrote:
> 
> >commit 5c0f985bf72bc3ca9bfd5c3ba29299905c0f0018
> >Author: Antony Antony <antony at phenome.org>
> >Date:   Wed Jan 7 09:38:10 2015 +0100
> >
> >   testing: drop dhcp range bfrom kvm bridge used by kvm
> 
> This does more than the description of the commit. Also, why did you
> drop it?
> 
> - Our comment was wrong/obsolete but the replacement is a warning that does not apply
> - IPv6 configuration of the host was removed (meaning you cannot ssh in
>   over ipv6 from the host if we you ever wanted to) 

The uuuid shuld be removed. Thanks for pointing it out.
The rest is how everything has been running for over six months. I am just committing these files to the repo so less secret sauce. That is what is running on the machine we worked on yesterday.

You can have v6 inside the guest and for the host on other interfaces but kvm bridge. It is also documented on wiki. I think the idea came from Tuomo.
<network ipv6='yes'> bridge will not route v6, only bridge v6.

I kept dhcp 192_9_* 


> - your generated uuid got added - it should be removed so that it won't
>   clash on other test system with different uids.
> 
> diff --git a/testing/libvirt/net/192_0_1 b/testing/libvirt/net/192_0_1
> index 5e45053..4fb6e81 100644
> --- a/testing/libvirt/net/192_0_1
> +++ b/testing/libvirt/net/192_0_1
> @@ -1,19 +1,15 @@
>  <!--
> -This net has no "nic" host in the diagram, so we made up 192.0.1.127
> -and its mac address.
> -"nic" is not used as a VM, it is the host. It's
> -interfaces are configured on the bridge. dhcp not used
> -
> +WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
> +OVERWRITTEN AND LOST. Changes to this xml configuration should be made
> using:
> +  virsh net-edit 192_0_1
> +or other application using the libvirt API.
>  -->
> 
>  <network ipv6='yes'>
>    <name>192_0_1</name>
> -  <bridge name='swan01' stp='on' delay='0' />
> -  <mac address='12:00:00:16:16:BA'/>
> +  <uuid>a397fdea-1bef-4af5-97e1-56cc3ed3fb97</uuid>
> +  <bridge name='swan01' stp='on' delay='0'/>
> +  <mac address='12:00:00:16:16:ba'/>
>    <ip address='192.0.1.127' netmask='255.255.255.0'>
> -    <dhcp>
> -      <range start='192.0.1.128' end='192.0.1.200' />
> -    </dhcp>
>    </ip>
> -  <ip family="ipv6" address="2001:db8:0:1::253" prefix="64"/>
>  </network>
> 
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev
> 


More information about the Swan-dev mailing list