# interfaces(5) file used by ifup(
and ifdown(
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.3.201
netmask 255.255.255.0
broadcast 192.168.3.255
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.0.200
network 192.168.0.0
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255
wpa-ssid "имя сети"
wpa-psk "пароль сети"
pre-up iptables-restore < /etc/network/iptables
up route add -net 192.168.3.0 netmask 255.255.255.0 dev eth0
up route add -net 0.0.0.0 netmask 255.255.255.255 dev wlan0