Spaces must be trimed
For
# # This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
iface eth0 inet dhcp
allow-hotplug eth0
auto eth0
#Example 4-1. Bridge setup via dhcp
iface br0 inet dhcp
allow-hotplug br0
pre-up ifconfig eth0 down
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
pre-up ifconfig eth0 up
post-down ifconfig eth0 down
auto br0
post-down brctl delif br0 eth0
#In case you have static IP address add following lines to /etc/network/interfaces. Remember to replace tags below with your network information. Also if your network #interface card uses some other interface than eth0 replace it too.
#Example 4-2. Bridge setup statically
auto br0
iface br0 inet static address
netmask
network
broadcast
gateway
pre-up ifconfig eth0 down
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
pre-up ifconfig eth0 up
post-down ifconfig eth0 down
post-down brctl delif br0 eth0
#Eth0 is now included in your bridge configuration. We need to add an another interface there too. This will be your Bluetooth device's interface. It is probably pan0. Add #the following lines to /etc/network/interfaces
#Example 4-3. Bluetooth device setup
auto pan0
iface pan0 inet manual
pre-up brctl addbr br0
pre-up brctl addif br0 $IFACE
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
post-down brctl delif br0 $IFACE
allow-hotplug eth0
iface eth0 inet static
address 192.168.11.100
netmask 255.255.255.0
broadcast 192.168.11.255
gateway 192.168.11.1
dns-domain lan
dns-nameservers 192.168.11.1