> Hi. I've been searching all over for a solution to my problem, but I just > can't seem to find one. So I'm going to see if anyone on this list can > help me out. > > I've been trying to set up an ethernet bridge on a Linux 2.4.18 kernel for > several days now. The kernel has the netfilter option turned on and have > also applied the patch available at > bridge.sourceforge.net/devel/bridge-nf/bridge-nf-0.0.6-against-2.4.18.diff > and enabled both bridging and bridge-netfilter support. I'm using > version 0.9.5 of the bride-utils. Until I get the bridge to work, I won't > be adding any rules to any of the iptables chains. > > The machine I'm trying to use as a bridge has two gigabit ethernet cards > whose drivers are compiled as modules (thier driver, bc5700.o, is not > included in the mainstream kernel yet.) The two cards are eth1 and eth2. > eth1 is connected to a 100Mbit switch (soon to be upgraded to gigabit) and > eth2 is connected to a gigabit switch. When I boot the kernel without > configuring a bridge, I can communicate through both interfaces just > fine. When I start the bridge, the bridge machine can no longer communicate > with anybody, and traffic does not flow across the bridge. Here's the > series of commands I use to start the bridge: > > brctl addbr br0 > ifconfig eth1 0.0.0.0 promisc up > ifconfig eth2 0.0.0.0 promisc up > brctl addif br0 eth1 > brctl addif br0 eth2 > ifconfig br0 X.X.X.154 netmask 255.255.255.128 broadcast X.X.X.255 \ > promisc up > route add default gw X.X.X.129
Hi ! I may be acting a 'fool', but can a bridge have an IP address ? the one thing that is really boring with my bridge, is that I must walk to the server room if I want to configure it, or that I must plug another NIC to get a way to connect to it via telnet/ssh.... I do think this is normal that you don't see any traffic going through your bridge. here is my script to launch my bridge: BRCTL=/sbin/brctl IFCONFIG=/sbin/ifconfig BRname=BNbridge BRifext=eth0 BRifdmz=eth1 $BRCTL addbr $BRname $BRCTL addif $BRname $BRifext $BRCTL addif $BRname $BRifdmz $IFCONFIG $BRifext 0.0.0.0 promisc $IFCONFIG $BRifdmz 0.0.0.0 promisc $BRCTL sethello $BRname 1 $BRCTL setmaxage $BRname 4 $BRCTL setfd $BRname 4 $IFCONFIG $BRname promisc up two things now: 1- hope this will help 2- if this is me that is wrong, please help me re-considering bridging.... If you can have an IP address on your bridge, please tell me how... sCALP _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
