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.
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
current /etc/network/interfaces
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
auto eth0
iface eth0 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.49
network 192.168.0.0
netmask 255.255.255.0
network 192.168.0.0
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.1.255
broadcast 192.168.1.255
and then
# 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
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/24could someone help me please?i have created a clean install to avoid any errors.
_______________________________________________ Voyage-linux mailing list Voyage-linux@list.voyage.hk http://list.voyage.hk/mailman/listinfo/voyage-linux