<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello everyone. i have a pc engines ALIX 2d13 with 3 ethernet ports (eth0, 1, 2) and i am running voyage 0.10.0 an there is a usb stick for wifi(wlan0) on it.</div>

<div>up to now i had the wlan0 to be the wan interface and i got connected to a wifi network with SSID xyz and PASSWD xyz123, wpa2. the wlan0 was doing the NAT for eth0. the wifi network is 192.168.0.0/24 gw 192.168.0.1 and i was getting on wlan0 the 192.168.0.49/24. In eth0 i was having 192.168.1.1/24</div>

<div>current /etc/network/interfaces</div>

<div>allow-hotplug eth0<br/>
auto eth0<br/>
iface eth0 inet static<br/>
address 192.168.1.1<br/>
network 192.168.1.0<br/>
netmask 255.255.255.0<br/>
broadcast 192.168.1.255</div>

<div> </div>

<div>auto wlan0<br/>
allow-hotplug wlan0<br/>
iface wlan0 inet static</div>

<div>address 192.168.0.49<br/>
network 192.168.0.0<br/>
netmask 255.255.255.0</div>

<div>gateway 192.168.0.1<br/>
broadcast 192.168.1.255</div>

<div> </div>

<div> </div>

<div>and then</div>

<div>
<pre class="screen" width="80"># echo 1 > /proc/sys/net/ipv4/ip_forward
# iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
# iptables -A FORWARD -i eth0 -j ACCEPT
# iptables -A FORWARD -i wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT</pre>
</div>

<div>i would like to alter the config a bit and have it connect to the same network and without any NAT involved and eth0,1,2 be in the same LAN as the wifi network 192.168.0.0/24</div>

<div>could someone help me please?</div>

<div>i have created a clean install to avoid any errors.</div>

<div> </div></div></body></html>