Significantly improve bastion network configuration
This commit is contained in:
parent
c368680c59
commit
a625ba6f41
2 changed files with 62 additions and 19 deletions
|
@ -193,7 +193,7 @@
|
|||
##############################################################################
|
||||
##############################################################################
|
||||
##############################################################################
|
||||
# Network
|
||||
# Networking
|
||||
|
||||
# Disable IPv6?
|
||||
networking.enableIPv6 = false;
|
||||
|
@ -204,10 +204,6 @@
|
|||
enable = true;
|
||||
|
||||
# Configure Physical Interfaces
|
||||
links."10-mobo0" = {
|
||||
linkConfig.Name = "mobo0";
|
||||
matchConfig.PermanentMACAddress = "94:cc:04:11:30:b8"; # Builtin NIC
|
||||
};
|
||||
links."10-card0" = {
|
||||
linkConfig.Name = "card0";
|
||||
matchConfig.PermanentMACAddress = "6c:92:bf:42:51:c6"; # 10Gb SFP+ NIC
|
||||
|
@ -245,8 +241,8 @@
|
|||
};
|
||||
|
||||
# Add Bridge Members
|
||||
networks."20-mobo0" = {
|
||||
matchConfig.Name = "mobo0";
|
||||
networks."20-eno0" = {
|
||||
matchConfig.Name = "eno0";
|
||||
networkConfig.Bridge = "br-lan";
|
||||
linkConfig.RequiredForOnline = "enslaved";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue