Last active
February 17, 2024 21:22
-
-
Save kincl/424cebfae2545f90b8dc3df744369113 to your computer and use it in GitHub Desktop.
NMState Snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interfaces: | |
- name: bond0 | |
type: bond | |
state: up | |
ipv4: | |
address: | |
- ip: 192.168.126.30 | |
prefix-length: 24 | |
dhcp: false | |
enabled: true | |
link-aggregation: | |
mode: balance-rr | |
options: | |
miimon: '140' | |
port: | |
- ens1f0np0 | |
- ens1f1np1 | |
- name: ens1f0np0 | |
state: up | |
type: ethernet | |
- name: ens1f1np1 | |
state: up | |
type: ethernet | |
dns-resolver: | |
config: | |
server: | |
- 192.168.126.1 | |
routes: | |
config: | |
- destination: 0.0.0.0/0 | |
next-hop-address: 192.168.126.1 | |
next-hop-interface: bond0 | |
table-id: 254 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment