Files
rpi/tpl/etc/network/interfaces

32 lines
607 B
Plaintext

auto lo
iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.30
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
auto wlan0:1
iface wlan0:1 inet manual
iface default inet static
address 192.168.1.33
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto wlan0:2
iface wlan0:2 inet manual
iface default inet static
address 192.168.0.33
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1