Last active
October 3, 2018 02:02
-
-
Save cloudnull/5e97eca762f210721cedd99adab46a2f to your computer and use it in GitHub Desktop.
networkd on compute host
This file contains 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
# Ansible managed | |
[NetDev] | |
Kind=macvlan | |
Name=mv-eth0 | |
[MACVLAN] | |
Mode=bridge | |
This file contains 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
# Ansible managed | |
[NetDev] | |
Kind=macvlan | |
Name=mv-nspawn0 | |
[MACVLAN] | |
Mode=bridge | |
This file contains 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
[Match] | |
Name = eth0 | |
[Link] | |
MTUBytes=9000 |
This file contains 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
# Ansible managed | |
[Match] | |
Name = eth0 | |
[Network] | |
Address = 172.16.25.52/22 | |
Gateway = 172.16.24.2 |
This file contains 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
[Match] | |
Name = eth2 | |
[Link] | |
MTUBytes=9000 |
This file contains 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
# Ansible managed | |
[Match] | |
Name = eth2 | |
[Network] | |
Bond = bond0 |
This file contains 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
[Match] | |
Name = eth3 | |
[Link] | |
MTUBytes=9000 |
This file contains 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
# Ansible managed | |
[Match] | |
Name = eth3 | |
[Network] | |
Bond = bond0 |
This file contains 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
# Ansible managed | |
[NetDev] | |
Kind=bond | |
Name=bond0 | |
[Bond] | |
MIIMonitorSec=1s | |
MinLinks=1 | |
Mode=802.3ad | |
AdSelect=bandwidth | |
LACPTransmitRate=fast | |
TransmitHashPolicy=layer3+4 | |
This file contains 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
[Match] | |
Name = bond0 | |
[Network] | |
Address = 172.16.27.50/22 |
This file contains 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
# Ansible managed | |
[Link] | |
NamePolicy=kernel database onboard slot path | |
MACAddressPolicy=persistent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment