Skip to contentSkip to conversation

bridge and ip aliasing on Debian

Bridge Aleksey Serba 2 participants 2 messages Aug 17, 2004 – Aug 26, 2004 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

Hello,

I can't figure out how to set up several IP addresses on bridge interface in Debian way.

Server - Debian GNU/Linux 2.6.7-1-k7
Interfaces - br0 ( eth0, eth1 )

------------- /etc/network/interfaces.conf --------------- auto br0
iface br0 inet static
address X.X.X.X
netmask X.X.X.X
network X.X.X.X
broadcast X.X.X.X
gateway X.X.X.X
bridge_ports eth0 eth1
----------------------------------------------------------
It works fine.
I need to add unroutable ip address on bridge interface.
I doubt, adding new bridge interface - this is the right way to do it.
----------------------------------------------------------
auto br1
iface br1 inet static

    address 192.168.0.1
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    bridge_ports eth0 eth1

----------------------------------------------------------

Any ideas? Any help will be greatly appreciated. Please CC all replies, i'm not subscribed.

Aleksey

#1 lore raw

[Bridge] bridge's STP problem about topology change

Hi, All:

I am tring to use STP function on bridge device that refer the
BRIDGE-STP-HOWTO. And I use PING program to test it from PC1 to PC2. But the forward function is become too long when bridge topology change.

How can I tuning the STP to make client connect to another again faster?

I have been use follow command. But it seen not this issue. Bcause, if I run " arp -d " on PC1 and the reply will be immediately. Or if I run one ping from
PC3 to PC2 (PC3 didn't have PC2 arp entry). The PC1 will also get reply
immediately.

Does any one know what's problem?

/usr/sbin/brctl setbridgeprio mybr 0
/usr/sbin/brctl sethello mybr 1
/usr/sbin/brctl setmaxage mybr 4
/usr/sbin/brctl setfd mybr 4
/usr/sbin/brctl stp mybr on

Two bridge machines are install with linux-2.4.26 and use the ebtables patch (ebtables-brnf-6-vs-2.4.26).

Network environment:

PC1 --------- Bridge 1 ---- PC2

             |----- Bridge 2 ---|

PC3 ----

Very thank for your help

Regards,
Matt.