Monday, 27 May 2013

Network bridge lan>eth1>eth0>AP

Network bridge lan>eth1>eth0>AP

I am trying to bridge two ethernet adapters on my server. I have a second long range wireless AP that I want to network through the server.
I tried adding br0 with all the proper settings on the interfaces file but that just broke the ethernet connection. I commented it out and went back to my normal setup.
Now the interfaces are down on boot. and when I manually put them up they go up but do not connect or use the static info in the interfaces file.
I am happy to get more info that would be helpful.
auto eth1
iface eth1 inet static
     address 192.168.2.9
     netmask 255.255.255.0
     gateway 192.168.2.1
     network 192.168.2.0
     broadcast 192.168.2.255

auto eth0
iface eth0 inet static
     address 192.168.2.3
     netmask 255.255.255.0
     gateway 192.168.2.1
     network 192.168.2.0
     broadcast 192.168.2.255

#auto br0
#iface br0 inet static
     #address 192.168.2.9
     #netmask 255.255.255.0
     #gateway 192.168.2.1
     #network 192.168.2.0
     #broadcast 192.168.2.255
     #bridge_ports eth1 eth0
     #bridge_fd 9
     #bridge_hello 2
     #bridge_maxage 12
     #bridge_stp off
Also when I run sudo /etc/init.d/networking restart I get start: job failed to start

No comments:

Post a Comment