Security Basics mailing list archives

Re: Kernel Bridge and Traffic Shaper


From: Ivan Hernandez <ivan.hernandez () globalsis com ar>
Date: Thu, 23 Oct 2003 15:40:59 -0300

It's better to continue this discussion in the focus-linux mail list due to the so specific characteristics of the question. But... if you wanna know, i have 2 bridged firewalls running linux 2.4.22, one runninc linux 2.4.19 and all them are using 2 NIC's and iptables.
to configure the polices try http://www.fwbuilder.org
anyway here i give you some tips:
1) try # dmesg | grep -i bridge
it should say something near to 'NET4: Ethernet Bridge 008 for NET4.0'
2) try # brctl
it should run ok without errors like 'Package not installed'
and...
3) attach the bridge, attach the fist NIC, attach the seccond NIC, clean up NIC 1, clean up NIC 2 , get up the bridge
# brctl addbr br0
# brctl addif br0 eth0
# brctl addif br0 eth1
# ifconfig eth0 0.0.0.0 promisc
# ifconfig eth1 0.0.0.0 promisc
# ifconfig br0 up

luck!
ivan hernandez

http://biromeponja.8k.com


Dan Trainor wrote:

I never could get that bridge to work.  The bridge would bind to one
interface, but not the other.  I was, however, able to treat the bridge
itself as an interface and assign it an IP.  My overall goal was to
bridge off of a WiFi connection, and bring it back to hardwire.  To this
day, I still cannot get it to work.  But the idea itself is promising.

-dant




---------------------------------------------------------------------------
Visual & Easy-to-use are not words that you think of when talking about network analyzers. Are you sick of the three window text decodes? Download ClearSight Network's Analyzer and see a new network analysis tool that makes the complex - easy
http://www.securityfocus.com/sponsor/ClearSightNetworks_security-basics_031021
----------------------------------------------------------------------------


Current thread: