Ok, i have about had it but heres the deal. I have 7 total machines connected like this:
FYI, dont worry about the workstations they are all functioning fine... the router connects to a cable modem for internet access.
now the MAINPC has ubuntu 12.10 and previously I have had the two cards bridged. This was in windows xp, btw... Now I downloaded and installed bridge-utils my network is configured like this (when it was working)
ServerPC: IP ADDRESS: 192.168.2.101 DNS: 192.168.2.1 GATEWAY 192.168.2.1 NETMASK:255.255.255.0 MAINPC: IP ADDRESS: 192.168.2.114 DNS: 192.168.2.1 Secondary DNS: 192.168.2.101 GATEWAY: 192.168.2.1 NETMASK: 255.255.255.0
the router is at 192.168.2.1, I use static IPs because ServerPC is a domain controller , it has 5 other workstations connected to it, all using that same 192.168.2.x network.... but at the time Im only worried about my main pc's bridge working again, everything else is not to be touched.
I followed many tutorials on this, high and low, all over the internet, ended up with an /etc/network/interfaces file looking like this:
auto lo iface lo inet loopback #iface eth0 inet manual #iface eth1 inet manual # <-- didnt seem to make a difference, it was suggested by some other tutorial auto br0 iface br0 inet static address 192.168.2.114 netmask 255.255.255.0 network 192.168.2.0 gateway 192.168.2.1 dns-nameservers 192.168.2.1 192.168.2.101 broadcast 192.168.2.255 bridge_ports all
--- thats it now, this bridge does work, ALL the other 6 machines (the server, the 5 other workstations) all have internet access and can see my main PC, my main pc can see the other machines and workstations, even the router (192.168.2.1) responds to ping. BUT, if i try pinging something on the internet, like google.com, i get the error:
From ubuntu.local (192.168.2.114) icmp-seq=5 Destination Host Unreachable
I tried swapping the devices (eth0 to eth1, and vice versa) and it makes no difference, I can resolve internet addresses, just cant connect to them, but all the others can.
Before you answer, please keep in mind i'm not looking for an altenative to bridging, I cannot do NAT or any other weird firewall... so if you cant tell me how to answer this question, i really don't want any "alternative suggestions" no offence.. thanks :)