Skip to content

Instantly share code, notes, and snippets.

@tjunussov
Last active November 3, 2018 11:01
Show Gist options
  • Save tjunussov/f93640fc3d00525d6c57bfa96fb850a2 to your computer and use it in GitHub Desktop.
Save tjunussov/f93640fc3d00525d6c57bfa96fb850a2 to your computer and use it in GitHub Desktop.
Rapberry Pi Network Static dual IT Address
##sudo iwlist wlan0 scan
##
nano /etc/network/interfaces
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
auto eth0:1
iface eth0:1 inet static
address 10.42.0.10
netmask 255.255.255.0
auto eth0:2
iface eth0:2 inet static
address 192.168.10.10
netmask 255.255.255.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment