File: two_ethernet

package info (click to toggle)
ifenslave 2.14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: sh: 204; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A simple configuration with two ethernet (wire) interfaces.

-----8<----------8<----------8<----------8<----------8<-----

auto bond0
iface bond0 inet dhcp
	bond-slaves eth0 eth1
	bond-mode 1
	bond-miimon 100
	bond-primary eth0 eth1

-----8<----------8<----------8<----------8<----------8<-----

You do not need an "iface eth0" nor an "iface eth1" stanza.