s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
5. Preparing The BridgeThis section describes what you need and how you do to prepare your bridge. 5.1. Get The FilesHere you can find a list of the files and down-loads you will need for the setup of the bridge. If you have one of the mentioned files or packages on your distribution, of course there is no need to create network load. I'll only mention the files for the 2.2.14 kernel. If you want to try a different one (e.g. 2.2.15 or the recent development kernel) just replace the kernel version number and look whether you find it.
File and package list
5.2. Apply The Patches
Apply the bridging patch your kernel. If you don`t know how to do that read the Kernel-HOWTO which can be found in your distribution or at http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html 5.3. Configure The KernelNow it's time we configure our freshly patched kernel to create the ability to bridge. Run make config, make menuconfig or the click-o-rama make xconfig. Select bridging in the networking option section to be compiled as a module. AFAIK there is no strong reason why not to compile it as a kernel module, whereas I heard rumors about problems with compiling the bridging code directly into the kernel. 5.4. Compile The KernelCompile your kernel Example 2. Make the new compiled kernel-image to be loaded. I don't know if the kernel patches only apply to the bridging-module or also modify some interfaces inside vmlinuz. So it might not be a error to give a reboot after you updated the kernel-image. 5.5. Compile The Bridge UtilitiesThis is how to compile and install from the scratch. Just unzip the utilities-tarball, cd into the newly created directory and give a make. Example 3. Commands To Compile Your Bridge-Utilities
After the compilation shown in Example 3 have worked properly, you can copy the executables to let's say /usr/local/sbin/ (at least I did). So the commands you have to give should be clear, but to be complete see Example 4 Example 4. Copy The Binaries Of The Utilities
Also now you can copy the new man-page to a decent place, as shown in Example 5. |