|
Next
Previous
Contents
3. Set Linux up to serve
3.1 Setting up the bridgeWe need Linux to know about the bridge. First tell it that we want one virtual
ethernet bridge interface: (this is to be executed on host
Second, we do not need the STP (Spanning Tree Protocol). I.e. we do only have
one single router, so a loop is highly improbable. We may then deactivate this feature.
(Results in less polluted networking environment, too):
After these preparations, we now do finally some effective commands. We add our two
(or even more) physical ethernet interfaces. That means, we attach them to the just
born logical (virtual) bridge interface br0.
Now, our two previously physical ethernet interfaces became a logical bridge port each.
Erm, ok, there were and will be the physical devices. They are still there,
go have a look ;-) But now they became part of the logical bridge device and
therefore need no IP configuration any longer. So release the IPs:
Great! We now have a box w/o any IP attached. So if you were configuring your future
fw/router via TP, go for your local console now ;-)) You have a serial console? Happy one :-)
Read the Important Note!
3.2 Setting up the routingIn case we are configuring a gateway we enable the forwarding in the linux kernel.
Our box already has an IP assigned but no default route. We
solve this now:
Finally, we should have a working net from, to and through the gateway.
Next Previous Contents Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |