<div dir="ltr">have you tried giving the clients behind the bridge fixed IP addresses? does traffic pass?<br>have you also tried unencrypted wlan?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-05 9:20 GMT+02:00 tux john <span dir="ltr"><<a href="mailto:atux@null.net" target="_blank">atux@null.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>Thanks a lot for the quick reply. the post you send, it is currently the one that i am using. The problem is that it does not allow traffic in between the eth0 and wlan0 unless it is NAT involved.</div>
<div>wlan0 is in <a href="http://172.16.8.1/24" target="_blank">172.16.8.1/24</a> and serves IPs from dhcp. i do need to share the wifi internet connection to a switch attached to the eth0, without NAT.</div>
<div>I would like all devices attached to eth0 to get an IP from the dhcp server of the wlan0. how can i change the config to make it work?</div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Sent:</b> Tuesday, October 04, 2016 at 8:17 PM<br>
<b>From:</b> "Bánhidi István" <<a href="mailto:banhidi.istvan@gmail.com" target="_blank">banhidi.istvan@gmail.com</a>><br>
<b>To:</b> "tux john" <<a href="mailto:atux@null.net" target="_blank">atux@null.net</a>>, "voyage_linux list" <<a href="mailto:voyage-linux@voyage.hk" target="_blank">voyage-linux@voyage.hk</a>><br>
<b>Subject:</b> Re: [Voyage-linux] bridge wlan0 to eth0</div><div><div class="h5">
<div name="quoted-content">
<div style="background-color:rgb(255,255,255)">Hi,<br>
<br>
I don't understand exactly what you want, but i hope this help (source from voyage wiki):<br>
<br>
====== Build a Bridge with Voyage ======<br>
I used voyage-0.2pre1 on a WRAP 2C. The bridged devices are a Prism wireless mini-PCI card and the WRAP's built in ethernet port.<br>
Edit the /etc/network/interfaces<br>
<br>
Mine looks like this:<br>
<br>
auto br0<br>
iface br0 inet static<br>
address 192.168.254.253<br>
netmask 255.255.255.0<br>
network 192.168.254.0<br>
broadcast 192.168.1.255<br>
gateway 192.168.254.1<br>
bridge_ports eth0 wlan0<br>
pre-up iwconfig wlan0 essid testing mode master<br>
<br>
The first 5 lines set up the bridged IP infomation. The next line configures the bridge itself. The only line that you will really need to change is the line that starts with "pre-up iwconfig...". This configures the the wireless card to be an access point and sets the ssid to "testing". The final lines that start with post-down enable the bridge to be shutdown nicely.<br>
<br>
Once you get everything configured to your liking, restart your network and test connectivity.<br>
<br>
<br>
<br>
Good luck<br>
Steve<br>
<div class="m_-4300368882264413969moz-cite-prefix">2016.10.04. 8:18 keltezéssel, tux john írta:</div>
<blockquote>
<div style="font-family:Verdana;font-size:12.0px">
<div>Hi. i have an alix 2d13 (pcengines) that has 3 ethernet ports . I would<br>
like to create a failover setup.<br>
<br>
I have a nearby community wifi that i connect to with the following:<br>
<br>
auto wlan0<br>
iface wlan0 inet dhcp<br>
wpa-ssid "Community_wifi"<br>
wpa-psk "xyzPasSwd"<br>
up nat.sh eth1 wlan0 "<a href="http://192.168.179.0/24" target="_blank">192.168.179.0/24</a>"<br>
dns-nameservers 8.8.8.8<br>
<br>
auto eth1<br>
iface eth1 inet static<br>
address 192.168.179.1<br>
netmask 255.255.255.0<br>
<br>
by doing that i get all the traffic nated to eth1/wlan0.</div>
<div> </div>
<div>i have tried to create a br0 interface with wlan0 and eth0 but it does allow traffic in between, unless i do a nat.<br>
<br>
I would like to <u><strong>NOT do a NAT</strong></u> setup. All devices attached to eth1 to get<br>
an IP from the pool of the community wifi. how can i change my setup to<br>
be able to have an IP on eth1 from the community wifi dhcp, as well all<br>
computers attached to eth1 to get an IP from the same pool, please?</div>
<div> </div>
<div><br>
</div>
</div>
<fieldset class="m_-4300368882264413969mimeAttachmentHeader"> </fieldset>
<pre>______________________________<wbr>_________________
Voyage-linux mailing list
<a class="m_-4300368882264413969moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a>
<a class="m_-4300368882264413969moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/<wbr>listinfo/voyage-linux</a>
</pre>
</blockquote>
</div>
</div>
</div></div></div>
</div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" rel="noreferrer" target="_blank">http://list.voyage.hk/mailman/<wbr>listinfo/voyage-linux</a><br>
<br></blockquote></div><br></div>