Creating Interfaces without IP Addresses
- From: Justin Brown <justin brown fandingo org>
- To: networkmanager-list gnome org
- Subject: Creating Interfaces without IP Addresses
- Date: Tue, 6 Aug 2013 13:01:04 -0500
I'm trying to create some VLAN interfaces using NM 0.9.8 with the
keyfile plugin. I have one VLAN interface (26) that has a manual ipv4
address, and it comes up correctly. I have a second VLAN interface
(25) that should be created without an IP address, but NetworkManager
will not activate it.
Log messages:
NetworkManager[397]: keyfile: parsing vlan25.ini ...
NetworkManager[397]: Connection failed to verify: (unknown)
NetworkManager[397]: keyfile: error: invalid or missing connection
property 'NMSettingIP6Config/method'
What's interesting is that these errors seem to be for ipv6. However,
vlan26, which uses the exact same ipv6 section, doesn't have an error.
Based on the documentation at
https://projects.gnome.org/NetworkManager/developers/api/09/ref-settings.html,
I have tried setting the method to "disabled" and "ignore" with the
same results.
Keyfiles:
vlan25.ini
[connection]
id=vlan25
uuid=f6610374-cbb3-4363-bf22-b65677907465
type=vlan
[vlan]
parent=ens8
id=25
[ipv4]
method=disabled
[ipv6]
method=ignore
=================
=================
[connection]
id=vlan26
uuid=5ca54f88-cc43-42e9-801c-950c193b04a9
type=vlan
[vlan]
parent=ens8
id=26
[ipv4]
method=manual
addresses1=192.168.26.10;0.0.0.0;
[ipv6]
method=ignore
How do I force NM to create this interface without an IP address?
Thanks,
Justin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]