File: bridge

package info (click to toggle)
ifupdown 0.8.44
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 952 kB
  • sloc: ansic: 2,781; sh: 899; perl: 513; makefile: 90
file content (11 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
The bridge-utils package provides hooks so you can set up a bridge interface in
/etc/network/interfaces. Here is an example:

auto br0
iface br0 inet static
	address 192.168.1.2/24
	gateway 192.168.1.1
	bridge_ports eth0 eth1

Note that you do not have to specify separate iface stanzas for eth0 and eth1.
For more information, type "man bridge-utils-interfaces".