forked from dggreenbaum/debinterface
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Igor Mineev
committed
Mar 9, 2021
1 parent
abd30a5
commit a6725df
Showing
7 changed files
with
276 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Example of bond interfaces | ||
|
||
auto bond0 | ||
iface bond0 inet static | ||
address 0.0.0.0 | ||
netmask 0.0.0.0 | ||
bond-slaves enp1s0 enp2s0 | ||
bond-mode 1 | ||
bond-primary enp1s0 | ||
up /sbin/ifenslave bond0 enp1s0 enp2s0 | ||
down /sbin/ifenslave -d bond0 enp1s0 enp2s0 | ||
|
||
auto enp1s0 | ||
iface enp1s0 inet manual | ||
bond-master bond0 | ||
bond-primary enp1s0 | ||
|
||
auto enp2s0 | ||
iface enp2s0 inet manual | ||
bond-master bond0 | ||
bond-primary enp1s0 | ||
|
||
auto bond0.10 | ||
iface bond0.10 inet static | ||
address 192.168.10.1 | ||
netmask 255.255.255.0 | ||
vlan_raw_device bond0 | ||
|
||
auto bond0.20 | ||
iface bond0.20 inet static | ||
address 192.168.20.1 | ||
netmask 255.255.255.0 | ||
vlan_raw_device 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