Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document network configuration via Ignition + NM keyfiles #351

Closed
jlebon opened this issue Jan 22, 2020 · 3 comments
Closed

Document network configuration via Ignition + NM keyfiles #351

jlebon opened this issue Jan 22, 2020 · 3 comments

Comments

@jlebon
Copy link
Member

jlebon commented Jan 22, 2020

Most of the examples on the web use ifcfg files instead of keyfiles. Would be helpful to document some example configs of the more common scenarios (static IP, bonding, unmanaged device, etc...).

NM conf documentation: https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
Keyfile conf documentation: https://developer.gnome.org/NetworkManager/1.22/nm-settings-keyfile.html

@basvdlei
Copy link

I've been battling with the NetworkManager keyfiles to configure multiple ipv4 addresses on an interface and ended up with this, which seems to do the job:

[connection]
type=ethernet
interface-name=eth1

[ipv4]
method=manual
address1=192.168.121.11/24
address2=192.168.121.50/24
address3=192.168.121.51/24
gateway=192.168.121.1
dns=1.1.1.1;8.8.8.8

Note the different notation between multiple interface addresses and multiple DNS servers.

@lucab
Copy link
Contributor

lucab commented Jan 23, 2020

Cross referencing this here: coreos/fedora-coreos-docs#19.

@dustymabe
Copy link
Member

I'm pretty sure this is covered by our documentation now. Specificall this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants