I have been looking around to find up to date infos about how to bridge
2 Nics in one box.
I read the stuff in the mini-howto to no avail. The brcfg tool referred
there looks pretty old and there seems
to be new stuff going on with 2.2 kernels (is there ??).
My situation : 2 NICs,
NIC1 going through a hub towards my cable modem.
NIC2 connected to a wireless bridge
I use a private network 10.0.0.0 / mask 255.255.255.0
I followed instructions and splited this networks into :
10.0.0.0 / 255.255.255.128 on NIC2 and
10.0.0.0 / 255.255.255.128 on NIC1
The kernel (2.2.14) is compiled with bridging enabled. The interface
brg0 is created and can be activated by ifconfig.
First question : what is brg0 and how to use it ?
If tried to set my two NICs in promiscuous mode. However, only one
reports promiscuous mode enabled even if ifconfig reports the PROMISC
mode when displaying infos about the card.
What does this mean ?
Obviously, I cannot get the bridging to work. Things are ok only if I
set up my box as a regular router .
Any hint or pointer to infos would be great !