HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/share/doc/ifupdown/examples/bridge
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".