Bridging is used to connect 2 or more networks / interfaces seamlessly (your ethernet & wireless ethernet cards for instance) It can also be used to connect Virtual Machines / interfaces to the Hosts interface. I'm going to use it to bridge a virtual interface with Samba connected to a VM in Qemu so I can share files between the linux host & Windows VM (I have an ADSL modem & no physical network card with a fixed non public IP) - I'll add to this Howto as I have more success with this.
After installing bridge-utils you need load the Bridge Module - you will see this depends on the LLC Module
Code: Select all
modinfo bridge
The Bridge Module comes precompiled with Puppy 3.01 but the LLC Module does not.
To compile the LLC Module you need to install Devx_301.sfs
http://www.murga-linux.com/puppy/viewto ... 46&t=22701
& then do the same for kernel-src_301.sfs
Enter the kernel source directory & check that "IEEE 802.2 core LLC support" is enabled
as a Module :
Code: Select all
cd /usr/src/linux-2.6
make menuconfig
make only the single module you need :
Code: Select all
make M=net/llc
/lib/modules/2.6.21.7/kernel/net/llc/llc.ko
Code: Select all
cp net/llc/*.ko /lib/modules/2.6.21.7/kernel/net/llc/
/lib/modules/2.6.21.7/modules.dep & manually add the following lines :
/lib/modules/2.6.21.7/kernel/net/llc/llc.ko:
/lib/modules/2.6.21.7/kernel/net/llc/llc2.ko:
Then load the needed Modules & rewrite the Module Dependencies file :
Code: Select all
modprobe llc
modprobe bridge
depmod
Code: Select all
brctl addbr br0