Ok, this is EXACTLY what I did, and I mean exactly. I did a fresh install (ubuntu server 6.06). After a quick installation I executed the following commands, in sequence...
sudo passwd root ~ gave root my password
I got right to the bridging of the 3 interfaces;
Obtained the only package I needed from the internet;
apt-get install bridge-utils
I shut down the networking interfaces completely;
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth2 down
ifconfig lo down
/etc/init.d/networking stop
----------------------------------------------------
I created the bridge "br0";
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
brctl addif br0 eth2
brctl show ~ i did this to confirm
I then edited the file /etc/network/interfaces, this is what it currently looks like;
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
auto eth2
iface eth2 inet static
address 192.168.2.1
netmask 255.255.255.0
auto br0
iface br0 inet static
I flushed the IP tables;
iptables -F
iptables -t nat -F
I had problems with these;
iptables -P INPUT ALLOW
iptables -P FORWARD ALLOW
iptables -P OUPUT ALLOW
ERROR RETURNED: "BAD POLICY NAME"
I enabled IP forwarding
echo "1" > /proc/sys/net/ipv4/ip_forward
Then I just read on and realized that I should be able to ping after that point, so then I restarted the networking. Did't work, but at least it told me why;
"Don't seem to have all the variables for br0/inet. Failed to bring up br0".
So it seems maybe my bridging is ok? Maybe my problem exists in /etc/network/interfaces ???
And like I said before thanks for helping, its hard to find help on this stuff sometimes. Most of the time I get along by myself just fine, but every so often, something will stump me silly ~ like this firewall of mine. Anyway, im still picking at it...
what do you think it could be?